35 #ifndef NEKTAR_LIB_MULTIREGIONS_EXPLIST1D_H
36 #define NEKTAR_LIB_MULTIREGIONS_EXPLIST1D_H
46 namespace MultiRegions
67 const bool DeclareCoeffPhysArrays =
true);
72 const std::vector<unsigned int> &eIDs,
73 const bool DeclareCoeffPhysArrays =
true,
90 const bool DeclareCoeffPhysArrays =
true,
101 const bool DeclareCoeffPhysArrays =
true,
102 const std::string var =
"DefaultVar",
103 bool SetToOneSpaceDimension =
false,
115 const bool DeclareCoeffPhysArrays =
true,
116 const std::string variable =
"DefaultVar",
127 const bool DeclareCoeffPhysArrays =
true,
140 const bool DeclareCoeffPhysArrays =
true,
141 const std::string variable =
"DefaultVar",
#define MULTI_REGIONS_EXPORT
Describes the specification for a Basis.
This class is the abstraction of a one-dimensional multi-elemental expansions which is merely a colle...
virtual void v_WriteVtkPieceHeader(std::ostream &outfile, int expansion, int istrip)
const StdRegions::StdExpansionVector &locexp);
void v_Upwind(const Array< OneD, const Array< OneD, NekDouble > > &Vec, const Array< OneD, const NekDouble > &Fwd, const Array< OneD, const NekDouble > &Bwd, Array< OneD, NekDouble > &Upwind)
Upwind the Fwd and Bwd states based on the velocity field given by Vec.
ExpList1D()
The default constructor.
virtual ~ExpList1D()
Destructor.
ExpList1D(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::CompositeMap &domain, const SpatialDomains::MeshGraphSharedPtr &graph1D, int i, const bool DeclareCoeffPhysArrays=true, const Collections::ImplementationType ImpType=Collections::eNoImpType)
ExpList1D(const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, const ExpListSharedPtr > &bndConstraint, const Array< OneD, const SpatialDomains ::BoundaryConditionShPtr > &bndCond, const LocalRegions::ExpansionVector &locexp, const SpatialDomains::MeshGraphSharedPtr &graph2D, const PeriodicMap &periodicEdges, const bool DeclareCoeffPhysArrays=true, const std::string variable="DefaultVar", const Collections::ImplementationType ImpType=Collections::eNoImpType)
Specialised constructor for trace expansions.
void PostProcess(LibUtilities::KernelSharedPtr kernel, Array< OneD, NekDouble > &inarray, Array< OneD, NekDouble > &outarray, NekDouble h, int elmId=0)
Performs the post-processing on a specified element.
void PeriodicEval(Array< OneD, NekDouble > &inarray1, Array< OneD, NekDouble > &inarray2, NekDouble h, int nmodes, Array< OneD, NekDouble > &outarray)
Evaluates the global spectral/hp expansion at some arbitray set of points.
void ParNormalSign(Array< OneD, NekDouble > &normsign)
Set up the normals on each expansion.
void v_GetNormals(Array< OneD, Array< OneD, NekDouble > > &normals)
Populate normals with the normals of all expansions.
virtual void v_ReadGlobalOptimizationParameters()
virtual void v_SetUpPhysNormals()
Set up the normals on each expansion.
Base class for all multi-elemental spectral/hp expansions.
void Upwind(const Array< OneD, const Array< OneD, NekDouble > > &Vec, const Array< OneD, const NekDouble > &Fwd, const Array< OneD, const NekDouble > &Bwd, Array< OneD, NekDouble > &Upwind)
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< Kernel > KernelSharedPtr
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
std::vector< ExpansionSharedPtr > ExpansionVector
static const Array< OneD, ExpList1DSharedPtr > NullExpList1DSharedPtrArray
Empty ExpList1D object.
std::vector< ExpList1DSharedPtr > ExpList1DVector
Vector of pointers to ExpList1D objects.
std::map< int, std::vector< PeriodicEntity > > PeriodicMap
std::shared_ptr< ExpList1D > ExpList1DSharedPtr
Shared pointer to an ExpList1D object.
std::shared_ptr< BoundaryConditionBase > BoundaryConditionShPtr
std::map< int, CompositeSharedPtr > CompositeMap
std::shared_ptr< MeshGraph > MeshGraphSharedPtr