39 namespace Collections {
42 std::vector<StdRegions::StdExpansionSharedPtr> pCollExp,
43 std::shared_ptr<CoalescedGeomData>
GeomData,
45 : m_isDeformed(
GeomData->IsDeformed(pCollExp)),
46 m_stdExp(pCollExp[0]->GetStdExp()),
47 m_numElmt(pCollExp.size()),
48 m_nqe(pCollExp[0]->GetTotPoints()),
51 boost::ignore_unused(factors);
59 if (std::get<0>(p1) < std::get<0>(p2))
63 if (std::get<0>(p1) > std::get<0>(p2))
67 if (std::get<1>(p1) < std::get<1>(p2))
71 if (std::get<1>(p1) > std::get<1>(p2))
75 if (std::get<2>(p1) < std::get<2>(p2))
79 if (std::get<2>(p1) > std::get<2>(p2))
84 if (std::get<3>(p1) < std::get<3>(p2))
88 if (std::get<3>(p1) > std::get<3>(p2))
102 os << LibUtilities::ShapeTypeMap[std::get<0>(
p)] <<
", "
105 << (std::get<3>(
p) ?
"Nodal" :
"Modal");
virtual COLLECTIONS_EXPORT ~Operator()
Operator(std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, std::shared_ptr< CoalescedGeomData > GeomData, StdRegions::FactorMap factors)
Constructor.
Provides a generic Factory class.
bool operator<(OperatorKey const &p1, OperatorKey const &p2)
Less-than comparison operator for OperatorKey objects.
std::map< OperatorType, ImplementationType > OperatorImpMap
const char *const ImplementationTypeMap[]
std::ostream & operator<<(std::ostream &os, OperatorKey const &p)
Stream output operator for OperatorKey objects.
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.
OperatorImpMap SetFixedImpType(ImplementationType defaultType)
simple Operator Implementation Map generator
The above copyright notice and this permission notice shall be included.