35 #ifndef NEKTAR_LIBRARY_COLLECTIONS_COLLECTION_H
36 #define NEKTAR_LIBRARY_COLLECTIONS_COLLECTION_H
48 namespace Collections {
58 std::vector<StdRegions::StdExpansionSharedPtr> pCollExp,
89 std::vector<SpatialDomains::GeometrySharedPtr>
m_geom;
90 std::unordered_map<OperatorType, OperatorSharedPtr, EnumHash>
m_ops;
138 (*
m_ops[op])(inarray, output0, output1, output2, wsp);
151 (*
m_ops[op])(dir, inarray, output, wsp);
#define COLLECTIONS_EXPORT
COLLECTIONS_EXPORT Collection(std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, OperatorImpMap &impTypes)
bool HasOperator(const OperatorType &op)
std::unordered_map< OperatorType, OperatorSharedPtr, EnumHash > m_ops
std::vector< SpatialDomains::GeometrySharedPtr > m_geom
StdRegions::StdExpansionSharedPtr m_stdExp
CoalescedGeomDataSharedPtr m_geomData
void ApplyOperator(const OperatorType &op, const Array< OneD, const NekDouble > &inarray, Array< OneD, NekDouble > &output)
std::map< OperatorType, ImplementationType > OperatorImpMap
std::shared_ptr< CollectionVector > CollectionVectorSharedPtr
std::shared_ptr< CoalescedGeomData > CoalescedGeomDataSharedPtr
std::vector< Collection > CollectionVector
std::shared_ptr< StdExpansion > StdExpansionSharedPtr
static Array< OneD, NekDouble > NullNekDouble1DArray