Commit 86723554 authored by Giacomo Castiglioni's avatar Giacomo Castiglioni

add win export to GetElmtNormalLength

parent 81c8190a
......@@ -132,7 +132,7 @@ namespace Nektar
const std::string &var = "DefaultVar",
const Collections::ImplementationType ImpType
= Collections::eNoImpType);
/// Sets up a list of local expansions based on an expansion Map
MULTI_REGIONS_EXPORT ExpList(
const LibUtilities::SessionReaderSharedPtr &pSession,
......@@ -148,7 +148,7 @@ namespace Nektar
/// Wrapper around LocalRegion::PointExp - used in PrePacing.cpp
MULTI_REGIONS_EXPORT ExpList(const
SpatialDomains::PointGeomSharedPtr &geom);
/// Generate expansions for the trace space expansions used in
/// DisContField.
MULTI_REGIONS_EXPORT ExpList(
......@@ -177,7 +177,7 @@ namespace Nektar
const Collections::ImplementationType ImpType
= Collections::eNoImpType);
/// The default destructor.
MULTI_REGIONS_EXPORT virtual ~ExpList();
......@@ -203,7 +203,7 @@ namespace Nektar
/// basis order over all elements.
MULTI_REGIONS_EXPORT const Array<OneD,int>
EvalBasisNumModesMaxPerExp(void) const;
/// Returns the total number of quadrature points #m_npoints
/// \f$=Q_{\mathrm{tot}}\f$.
inline int GetTotPoints(void) const;
......@@ -809,9 +809,9 @@ namespace Nektar
/// Set the weight value for boundary conditions
inline void SetBndCondBwdWeight(
const int index,
const int index,
const NekDouble value);
inline std::shared_ptr<ExpList> &UpdateBndCondExpansion(int i);
inline void Upwind(
......@@ -819,7 +819,7 @@ namespace Nektar
const Array<OneD, const NekDouble> &Fwd,
const Array<OneD, const NekDouble> &Bwd,
Array<OneD, NekDouble> &Upwind);
inline void Upwind(
const Array<OneD, const Array<OneD, NekDouble> > &Vec,
const Array<OneD, const NekDouble> &Fwd,
......@@ -839,9 +839,10 @@ namespace Nektar
inline void GetNormals(Array<OneD, Array<OneD, NekDouble> >&normals);
/// Get the length of elements in boundary normal direction
void GetElmtNormalLength(Array<OneD, NekDouble> &lengthsFwd,
Array<OneD, NekDouble> &lengthsBwd);
MULTI_REGIONS_EXPORT void GetElmtNormalLength(
Array<OneD, NekDouble> &lengthsFwd,
Array<OneD, NekDouble> &lengthsBwd);
/// Get the weight value for boundary conditions
/// for boundary average and jump calculations
MULTI_REGIONS_EXPORT void GetBwdWeight(
......@@ -871,10 +872,10 @@ namespace Nektar
Array<OneD,NekDouble> &Fwd,
Array<OneD,NekDouble> &Bwd,
bool FillBnd = true,
bool PutFwdInBwdOnBCs = false,
bool DoExchange = true);
bool PutFwdInBwdOnBCs = false,
bool DoExchange = true);
/// Add Fwd and Bwd value to field,
/// Add Fwd and Bwd value to field,
/// a reverse procedure of GetFwdBwdTracePhys
inline void AddTraceQuadPhysToField(
const Array<OneD, const NekDouble> &Fwd,
......@@ -1086,11 +1087,11 @@ namespace Nektar
MULTI_REGIONS_EXPORT void ClearGlobalLinSysManager(void);
/// Get m_coeffs to elemental value map
MULTI_REGIONS_EXPORT inline const
Array<OneD, const std::pair<int, int> >
MULTI_REGIONS_EXPORT inline const
Array<OneD, const std::pair<int, int> >
&GetCoeffsToElmt() const;
MULTI_REGIONS_EXPORT inline const LocTraceToTraceMapSharedPtr
MULTI_REGIONS_EXPORT inline const LocTraceToTraceMapSharedPtr
&GetLocTraceToTraceMap() const;
protected:
......@@ -1210,7 +1211,7 @@ namespace Nektar
const GlobalMatrixKey &gkey);
const DNekScalBlkMatSharedPtr& GetBlockMatrix(
const GlobalMatrixKey &gkey);
const GlobalMatrixKey &gkey);
void MultiplyByBlockMatrix(
const GlobalMatrixKey &gkey,
......@@ -1257,7 +1258,7 @@ namespace Nektar
&v_GetBndCondBwdWeight();
virtual void v_SetBndCondBwdWeight(
const int index,
const int index,
const NekDouble value);
virtual std::shared_ptr<ExpList> &v_UpdateBndCondExpansion(int i);
......@@ -1310,14 +1311,14 @@ namespace Nektar
Array<OneD,NekDouble> &Fwd,
Array<OneD,NekDouble> &Bwd,
bool FillBnd = true,
bool PutFwdInBwdOnBCs = false,
bool DoExchange = true);
bool PutFwdInBwdOnBCs = false,
bool DoExchange = true);
virtual void v_AddTraceQuadPhysToField(
const Array<OneD, const NekDouble> &Fwd,
const Array<OneD, const NekDouble> &Bwd,
Array<OneD, NekDouble> &field);
virtual void v_FillBwdWithBwdWeight(
Array<OneD, NekDouble> &weightave,
Array<OneD, NekDouble> &weightjmp);
......@@ -1389,7 +1390,7 @@ namespace Nektar
virtual void v_BwdTrans(
const Array<OneD,const NekDouble> &inarray,
Array<OneD, NekDouble> &outarray);
virtual void v_BwdTrans_IterPerExp(
const Array<OneD,const NekDouble> &inarray,
Array<OneD,NekDouble> &outarray);
......@@ -1411,7 +1412,7 @@ namespace Nektar
virtual void v_IProductWRTBase(
const Array<OneD, const NekDouble> &inarray,
Array<OneD, NekDouble> &outarray);
virtual void v_IProductWRTBase_IterPerExp(
const Array<OneD,const NekDouble> &inarray,
Array<OneD, NekDouble> &outarray);
......@@ -1420,7 +1421,7 @@ namespace Nektar
const GlobalMatrixKey &gkey,
const Array<OneD,const NekDouble> &inarray,
Array<OneD, NekDouble> &outarray);
virtual void v_GetCoords(
Array<OneD, NekDouble> &coord_0,
Array<OneD, NekDouble> &coord_1,
......@@ -1608,10 +1609,10 @@ namespace Nektar
/// Define a list of elements using the geometry and basis
/// key information in expmap;
void InitialiseExpVector( const SpatialDomains::ExpansionInfoMap &expmap);
virtual const Array<OneD,
const SpatialDomains::BoundaryConditionShPtr> &v_GetBndConditions();
virtual Array<OneD, SpatialDomains::BoundaryConditionShPtr>
&v_UpdateBndConditions();
......@@ -1652,7 +1653,7 @@ namespace Nektar
/// An empty ExpList object.
static ExpList NullExpList;
static ExpListSharedPtr NullExpListSharedPtr;
static ExpListSharedPtr NullExpListSharedPtr;
// Inline routines follow.
......@@ -2336,14 +2337,14 @@ namespace Nektar
}
/// Get m_coeffs to elemental value map
MULTI_REGIONS_EXPORT inline const
Array<OneD, const std::pair<int, int> >
MULTI_REGIONS_EXPORT inline const
Array<OneD, const std::pair<int, int> >
&ExpList::GetCoeffsToElmt() const
{
return m_coeffsToElmt;
}
MULTI_REGIONS_EXPORT inline const LocTraceToTraceMapSharedPtr
MULTI_REGIONS_EXPORT inline const LocTraceToTraceMapSharedPtr
&ExpList::GetLocTraceToTraceMap() const
{
return v_GetLocTraceToTraceMap();
......@@ -2356,12 +2357,12 @@ namespace Nektar
}
inline void ExpList::SetBndCondBwdWeight(
const int index,
const int index,
const NekDouble value)
{
v_SetBndCondBwdWeight(index, value);
}
inline std::shared_ptr<ExpList> &ExpList::UpdateBndCondExpansion(int i)
{
return v_UpdateBndCondExpansion(i);
......@@ -2441,7 +2442,7 @@ namespace Nektar
Array<OneD,NekDouble> &Fwd,
Array<OneD,NekDouble> &Bwd,
bool FillBnd,
bool PutFwdInBwdOnBCs,
bool PutFwdInBwdOnBCs,
bool DoExchange)
{
v_GetFwdBwdTracePhys(field,Fwd,Bwd,FillBnd,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment