Nektar++
Functions
Python/MatrixKey.cpp File Reference
#include <LocalRegions/MatrixKey.h>
#include <vector>
#include <LibUtilities/Python/NekPyConfig.hpp>

Go to the source code of this file.

Functions

std::unique_ptr< MatrixKeyMatrixKey_Init (const StdRegions::MatrixType matType, const LibUtilities::ShapeType shapeType, const StdRegions::StdExpansionSharedPtr exp, const StdRegions::ConstFactorMap &constFactorMap, const StdRegions::VarCoeffMap &varCoeffMap)
 
void export_MatrixKey (py::module &m)
 Export for MatrixKey enumeration. More...
 

Function Documentation

◆ export_MatrixKey()

void export_MatrixKey ( py::module &  m)

Export for MatrixKey enumeration.

Definition at line 60 of file Python/MatrixKey.cpp.

61{
62 py::class_<MatrixKey, StdRegions::StdMatrixKey>(m, "MatrixKey")
63 .def(py::init<>(&MatrixKey_Init), py::arg("matType"),
64 py::arg("shapeType"), py::arg("exp"),
65 py::arg("constFactorMap") = StdRegions::NullConstFactorMap,
66 py::arg("varCoeffMap") = StdRegions::NullVarCoeffMap);
67}
std::unique_ptr< MatrixKey > MatrixKey_Init(const StdRegions::MatrixType matType, const LibUtilities::ShapeType shapeType, const StdRegions::StdExpansionSharedPtr exp, const StdRegions::ConstFactorMap &constFactorMap, const StdRegions::VarCoeffMap &varCoeffMap)
static ConstFactorMap NullConstFactorMap
Definition: StdRegions.hpp:431
static VarCoeffMap NullVarCoeffMap
Definition: StdRegions.hpp:376

References MatrixKey_Init(), Nektar::StdRegions::NullConstFactorMap, and Nektar::StdRegions::NullVarCoeffMap.

Referenced by PYBIND11_MODULE().

◆ MatrixKey_Init()

std::unique_ptr< MatrixKey > MatrixKey_Init ( const StdRegions::MatrixType  matType,
const LibUtilities::ShapeType  shapeType,
const StdRegions::StdExpansionSharedPtr  exp,
const StdRegions::ConstFactorMap constFactorMap,
const StdRegions::VarCoeffMap varCoeffMap 
)

Definition at line 46 of file Python/MatrixKey.cpp.

52{
53 return std::make_unique<MatrixKey>(matType, shapeType, *exp, constFactorMap,
54 varCoeffMap);
55}

Referenced by export_MatrixKey().