Collection.
More...
#include <Collection.h>
|
COLLECTIONS_EXPORT | Collection (std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, OperatorImpMap &impTypes) |
|
COLLECTIONS_EXPORT void | CheckFactors (const OperatorType opType, StdRegions::FactorMap factors, int coll_phys_offset=0) |
|
COLLECTIONS_EXPORT void | Initialise (const OperatorType opType, StdRegions::FactorMap factors=StdRegions::NullFactorMap) |
|
void | ApplyOperator (const OperatorType &op, const Array< OneD, const NekDouble > &inarray, Array< OneD, NekDouble > &output) |
|
void | ApplyOperator (const OperatorType &op, const Array< OneD, const NekDouble > &inarray, Array< OneD, NekDouble > &output0, Array< OneD, NekDouble > &output1) |
|
void | ApplyOperator (const OperatorType &op, const Array< OneD, const NekDouble > &inarray, Array< OneD, NekDouble > &output0, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2) |
|
void | ApplyOperator (const OperatorType &op, int dir, const Array< OneD, const NekDouble > &inarray, Array< OneD, NekDouble > &output) |
|
bool | HasOperator (const OperatorType &op) |
|
OperatorSharedPtr | GetOpSharedPtr (const OperatorType &op) |
|
CoalescedGeomDataSharedPtr | GetGeomSharedPtr () |
|
Collection.
Definition at line 53 of file Collection.h.
◆ Collection()
◆ ApplyOperator() [1/4]
Definition at line 120 of file Collection.h.
125 Array<OneD, NekDouble> wsp(
m_ops[op]->GetWspSize());
std::unordered_map< OperatorType, OperatorSharedPtr, EnumHash > m_ops
static Array< OneD, NekDouble > NullNekDouble1DArray
References m_ops, and Nektar::NullNekDouble1DArray.
◆ ApplyOperator() [2/4]
◆ ApplyOperator() [3/4]
Definition at line 148 of file Collection.h.
155 Array<OneD, NekDouble> wsp(
m_ops[op]->GetWspSize());
156 (*
m_ops[op])(inarray, output0, output1, output2, wsp);
References m_ops.
◆ ApplyOperator() [4/4]
Definition at line 162 of file Collection.h.
168 Array<OneD, NekDouble> wsp(
m_ops[op]->GetWspSize());
169 (*
m_ops[op])(dir, inarray, output, wsp);
References m_ops.
◆ CheckFactors()
◆ GetGeomSharedPtr()
◆ GetOpSharedPtr()
◆ HasOperator()
bool Nektar::Collections::Collection::HasOperator |
( |
const OperatorType & |
op | ) |
|
|
inline |
◆ Initialise()
Definition at line 64 of file Collection.cpp.
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...
bool HasOperator(const OperatorType &op)
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
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.
References ASSERTL0, Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), Nektar::ErrorUtil::ewarning, Nektar::Collections::GetOperatorFactory(), HasOperator(), m_collExp, m_geomData, m_impTypes, m_ops, NEKERROR, and Nektar::Collections::OperatorTypeMap.
Referenced by Nektar::Collections::CollectionOptimisation::SetWithTimings().
◆ m_collExp
◆ m_geomData
◆ m_impTypes
◆ m_ops