DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
geom_pybind11.cpp
Go to the documentation of this file.
1
2#include "Boundary_bind.hpp"
3#include "Elements_bind.hpp"
4#include "Mesh_bind.hpp"
5
6PYBIND11_MODULE(geom_pybind11, m)
7{
8 //! hard coded dependency here
9 //! better solution?
10 py::module_::import("DNDSR.DNDS");
11
12 using namespace DNDS::Geom;
13 auto m_elem = m.def_submodule("Elem");
14 Elem::pybind11_ElemType_define(m_elem);
15
16 pybind11_AutoAppendName2ID_define(m);
17 pybind11_ElemInfo_define(m);
18 pybind11_ArrayElemInfo_define(m);
19
20 pybind11_MeshLocDefine(m);
21 pybind11_UnstructuredMesh_define(m);
22 pybind11_UnstructuredMeshSerialRW_define(m);
23}
PYBIND11_MODULE(geom_pybind11, m)