DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
Elements_bind.hpp
Go to the documentation of this file.
1#pragma once
2
4
5#include "Elements.hpp"
6
7namespace DNDS::Geom::Elem
8{
9
10 using tPy_ElemType = py::enum_<ElemType>;
11
12 inline void pybind11_ElemType_define(py::module_ &m)
13 {
14 tPy_ElemType(m, "ElemType")
15 .value("UnknownElem", ElemType::UnknownElem)
16 .value("Line2", ElemType::Line2)
17 .value("Line3", ElemType::Line3)
18 .value("Tri3", ElemType::Tri3)
19 .value("Tri6", ElemType::Tri6)
20 .value("Quad4", ElemType::Quad4)
21 .value("Quad9", ElemType::Quad9)
22 .value("Tet4", ElemType::Tet4)
23 .value("Tet10", ElemType::Tet10)
24 .value("Hex8", ElemType::Hex8)
25 .value("Hex27", ElemType::Hex27)
26 .value("Prism6", ElemType::Prism6)
27 .value("Prism18", ElemType::Prism18)
28 .value("Pyramid5", ElemType::Pyramid5)
29 .value("Pyramid14", ElemType::Pyramid14);
30 }
31}
Shared pybind11 plumbing used by every *_bind.hpp in DNDS (buffer-protocol type check,...
void pybind11_ElemType_define(py::module_ &m)
py::enum_< ElemType > tPy_ElemType