48 : m_collExp(pCollExp), m_impTypes(impTypes)
63 m_ops[opType]->UpdateVarcoeffs(varcoeffs);
82 "Requested unknown operator " + ss.str());
90 "Failed to determine implmentation to initialise "
91 "collection operator: " +
#define ASSERTL0(condition, msg)
#define WARNINGL2(condition, msg)
OperatorImpMap m_impTypes
COLLECTIONS_EXPORT Collection(std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, OperatorImpMap &impTypes)
bool HasOperator(const OperatorType &op)
std::vector< StdRegions::StdExpansionSharedPtr > m_collExp
std::unordered_map< OperatorType, OperatorSharedPtr, EnumHash > m_ops
COLLECTIONS_EXPORT void UpdateVarcoeffs(const OperatorType opType, StdRegions::VarCoeffMap &varcoeffs=StdRegions::NullVarCoeffMap)
COLLECTIONS_EXPORT void Initialise(const OperatorType opType, StdRegions::FactorMap factors=StdRegions::NullFactorMap)
CoalescedGeomDataSharedPtr m_geomData
COLLECTIONS_EXPORT void UpdateFactors(const OperatorType opType, StdRegions::FactorMap factors)
Update the factor map in operator.
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.
std::map< StdRegions::VarCoeffType, VarCoeffEntry > VarCoeffMap
StdRegions::ConstFactorMap factors