DNDSR 0.2.1
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/Mesh_bind.hpp"
7
8PYBIND11_MODULE(geom_pybind11, m)
9{
10 //! hard coded dependency here
11 //! better solution?
12 py::module_::import("DNDSR.DNDS");
13
14 using namespace DNDS::Geom;
15 auto m_elem = m.def_submodule("Elem");
16 Elem::pybind11_ElemType_define(m_elem);
17
18 pybind11_AutoAppendName2ID_define(m);
19 pybind11_ElemInfo_define(m);
20 pybind11_ArrayElemInfo_define(m);
21
22 // AdjPairTracked types (must precede UnstructuredMesh which exposes them)
23 pybind11_MeshAdjState_define(m);
24 pybind11_AdjIndexInfo_define(m);
28
29 pybind11_MeshLocDefine(m);
30 pybind11_UnstructuredMesh_define(m);
31 pybind11_UnstructuredMeshSerialRW_define(m);
32}
pybind11 bindings for AdjPairTracked<TPair> and AdjIndexInfo.
void pybind11_AdjPairTracked_1_1_N_define(py::module_ &m)
void pybind11_AdjPairTracked_2_2_N_define(py::module_ &m)
void pybind11_AdjPairTracked_I_I_N_define(py::module_ &m)
Eigen::Matrix< real, 3, 3 > m
PYBIND11_MODULE(geom_pybind11, m)