forked from gismo/gsKLShell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gsMaterialMatrixLinear_.cpp
44 lines (31 loc) · 1.05 KB
/
gsMaterialMatrixLinear_.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <gsCore/gsTemplateTools.h>
#include <gsKLShell/gsMaterialMatrixLinear.h>
#include <gsKLShell/gsMaterialMatrixLinear.hpp>
namespace gismo
{
CLASS_TEMPLATE_INST gsMaterialMatrixLinear<2,real_t>;
CLASS_TEMPLATE_INST gsMaterialMatrixLinear<3,real_t>;
#ifdef GISMO_BUILD_PYBIND11
namespace py = pybind11;
void pybind11_init_gsMaterialMatrixLinear2(py::module &m)
{
using Base = gsMaterialMatrixBaseDim<2,real_t>;
using Class = gsMaterialMatrixLinear<2,real_t>;
py::class_<Class,Base>(m, "gsMaterialMatrixLinear2")
// Constructors
.def(py::init<gsFunctionSet<real_t>&,gsFunction<real_t>&>())
// Member functions
;
}
void pybind11_init_gsMaterialMatrixLinear3(py::module &m)
{
using Base = gsMaterialMatrixBaseDim<3,real_t>;
using Class = gsMaterialMatrixLinear<3,real_t>;
py::class_<Class,Base>(m, "gsMaterialMatrixLinear3")
// Constructors
.def(py::init<gsFunctionSet<real_t>&,gsFunction<real_t>&>())
// Member functions
;
}
#endif
}