1 #define FORCE_IMPORT_ARRAY
6 #if defined(__GNUC__) && !defined(__clang__)
9 inline void complex_allocator()
11 std::allocator<int> ai;
12 std::allocator<double> ad;
18 namespace py = pybind11;
27 py::class_<cppMCorr3P_base>(m,
"cppMCorr3P_base")
28 .def(
"calculateResidual", &cppMCorr3P_base::calculateResidual)
29 .def(
"calculateJacobian", &cppMCorr3P_base::calculateJacobian)
30 .def(
"elementSolve", &cppMCorr3P_base::elementSolve)
31 .def(
"elementConstantSolve", &cppMCorr3P_base::elementConstantSolve)
32 .def(
"globalConstantRJ", &cppMCorr3P_base::globalConstantRJ)
33 .def(
"calculateMass", &cppMCorr3P_base::calculateMass)
34 .def(
"setMassQuadrature", &cppMCorr3P_base::setMassQuadrature)
35 .def(
"calculateStiffnessMatrix", &cppMCorr3P_base::calculateStiffnessMatrix);