Skip to content

Commit 3f7ed32

Browse files
committed
hotfix python
1 parent 44ff9d1 commit 3f7ed32

File tree

3 files changed

+60
-7
lines changed

3 files changed

+60
-7
lines changed

gsKLShell.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ namespace gismo
2424
{
2525
#ifdef GISMO_WITH_PYBIND11
2626

27-
namespace py = pybind11;
28-
29-
void pybind11_init_gsKLShell(py::module &m);
27+
void pybind11_init_gsKLShell(pybind11::module &m);
3028

3129
#endif
3230
}

gsKLShell_.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
#include <gsCore/gsTemplateTools.h>
2-
2+
#include <gsKLShell/gsKLShell.h>
33

44
namespace gismo
55
{
66

77
#ifdef GISMO_WITH_PYBIND11
88

9-
namespace py = pybind11;
10-
11-
void pybind11_init_gsKLShell(py::module &m)
9+
void pybind11_init_gsKLShell(pybind11::module &m)
1210
{
1311
gismo::pybind11_init_gsMaterialMatrixBase( m );
1412

src/gsKLShell_.cpp

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#include <gsCore/gsTemplateTools.h>
2+
#include <gsKLShell/gsKLShell.h>
3+
4+
namespace gismo
5+
{
6+
7+
#ifdef GISMO_WITH_PYBIND11
8+
9+
void pybind11_init_gsKLShell(pybind11::module &m)
10+
{
11+
gismo::pybind11_init_gsMaterialMatrixBase( m );
12+
13+
gismo::pybind11_init_gsMaterialMatrixBaseDim2( m );
14+
gismo::pybind11_init_gsMaterialMatrixBaseDim3( m );
15+
16+
gismo::pybind11_init_gsMaterialMatrixLinear2( m );
17+
gismo::pybind11_init_gsMaterialMatrixLinear3( m );
18+
19+
gismo::pybind11_init_gsMaterialMatrixNH2i( m );
20+
gismo::pybind11_init_gsMaterialMatrixNH2c( m );
21+
22+
gismo::pybind11_init_gsMaterialMatrixNH3i( m );
23+
gismo::pybind11_init_gsMaterialMatrixNH3c( m );
24+
25+
gismo::pybind11_init_gsMaterialMatrixMR2i( m );
26+
gismo::pybind11_init_gsMaterialMatrixMR2c( m );
27+
28+
gismo::pybind11_init_gsMaterialMatrixMR3i( m );
29+
gismo::pybind11_init_gsMaterialMatrixMR3c( m );
30+
31+
gismo::pybind11_init_gsMaterialMatrixOG2i( m );
32+
gismo::pybind11_init_gsMaterialMatrixOG2c( m );
33+
34+
gismo::pybind11_init_gsMaterialMatrixOG3i( m );
35+
gismo::pybind11_init_gsMaterialMatrixOG3c( m );
36+
37+
gismo::pybind11_init_gsThinShellAssemblerBase( m );
38+
gismo::pybind11_enum_gsThinShellAssemblerStatus( m );
39+
40+
gismo::pybind11_init_gsThinShellAssembler2( m );
41+
gismo::pybind11_init_gsThinShellAssembler3( m );
42+
gismo::pybind11_init_gsThinShellAssembler3nb( m );
43+
44+
gismo::pybind11_enum_GoalFunction( m );
45+
46+
gismo::pybind11_init_gsThinShellAssemblerDWRBase( m );
47+
48+
gismo::pybind11_init_gsThinShellAssemblerDWR2( m );
49+
gismo::pybind11_init_gsThinShellAssemblerDWR3( m );
50+
gismo::pybind11_init_gsThinShellAssemblerDWR3nb( m );
51+
}
52+
53+
#endif
54+
55+
56+
}
57+

0 commit comments

Comments
 (0)