54 return std::make_unique<StdMatrixKey>(matType, shapeType, *exp,
55 constFactorMap, varCoeffMap);
68 py::bind_map<ConstFactorMap>(m,
"ConstFactorMap");
71 py::bind_map<VarCoeffMap>(m,
"VarCoeffMap");
73 py::class_<StdMatrixKey>(m,
"StdMatrixKey")
75 py::arg(
"shapeType"), py::arg(
"exp"),
79 .def(
"GetMatrixType", &StdMatrixKey::GetMatrixType)
80 .def(
"GetShapeType", &StdMatrixKey::GetShapeType)
81 .def(
"GetNcoeffs", &StdMatrixKey::GetNcoeffs)
82 .def(
"GetBasis", &StdMatrixKey::GetBasis);
#define NEKPY_WRAP_ENUM(MOD, ENUMNAME, MAPNAME)
std::unique_ptr< StdMatrixKey > StdMatrixKey_Init(const MatrixType matType, const LibUtilities::ShapeType shapeType, const StdExpansionSharedPtr exp, const ConstFactorMap &constFactorMap, const VarCoeffMap &varCoeffMap)
void export_StdMatrixKey(py::module &m)
Export for StdMatrixKey enumeration.
PYBIND11_MAKE_OPAQUE(LibUtilities::FieldMetaDataMap)
std::shared_ptr< StdExpansion > StdExpansionSharedPtr
const char *const VarCoeffTypeMap[]
const char *const ConstFactorTypeMap[]
const char *const MatrixTypeMap[]
std::map< ConstFactorType, NekDouble > ConstFactorMap
static ConstFactorMap NullConstFactorMap
static VarCoeffMap NullVarCoeffMap
std::map< StdRegions::VarCoeffType, VarCoeffEntry > VarCoeffMap