41 namespace Collections {
46 Collection::Collection(
47 vector<StdRegions::StdExpansionSharedPtr> pCollExp,
60 m_ops[opType]->CheckFactors(factors, coll_phys_offset);
80 "Requested unknown operator "+ss.str());
88 "Failed to determine implmentation to initialise "
89 "collection operator: " +
#define ASSERTL0(condition, msg)
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mode...
OperatorImpMap m_impTypes
bool HasOperator(const OperatorType &op)
std::vector< StdRegions::StdExpansionSharedPtr > m_collExp
COLLECTIONS_EXPORT void CheckFactors(const OperatorType opType, StdRegions::FactorMap factors, int coll_phys_offset=0)
std::unordered_map< OperatorType, OperatorSharedPtr, EnumHash > m_ops
COLLECTIONS_EXPORT void Initialise(const OperatorType opType, StdRegions::FactorMap factors=StdRegions::NullFactorMap)
CoalescedGeomDataSharedPtr m_geomData
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
std::map< OperatorType, ImplementationType > OperatorImpMap
const char *const OperatorTypeMap[]
std::tuple< LibUtilities::ShapeType, OperatorType, ImplementationType, ExpansionIsNodal > OperatorKey
Key for describing an Operator.
OperatorFactory & GetOperatorFactory()
Returns the singleton Operator factory object.
The above copyright notice and this permission notice shall be included.