1 #ifndef IO_READ_NETGEN_HPP
2 #define IO_READ_NETGEN_HPP
4 #include "../domains/linear.hpp"
5 #include "../domains/triangular.hpp"
6 #include "../domains/quadrilateral.hpp"
7 #include "../domains/tetrahedral.hpp"
9 #include "../segmentations/linear.hpp"
10 #include "../segmentations/triangular.hpp"
11 #include "../segmentations/quadrilateral.hpp"
12 #include "../segmentations/tetrahedral.hpp"
14 #include <boost/python.hpp>
15 using namespace boost::python;
21 void LinearCartesian1D_Domain_read_netgen(str filename,
LinearCartesian1D_Domain domain,
object segmentation =
object());
22 void LinearCartesian2D_Domain_read_netgen(str filename,
LinearCartesian2D_Domain domain,
object segmentation =
object());
23 void LinearCartesian3D_Domain_read_netgen(str filename,
LinearCartesian3D_Domain domain,
object segmentation =
object());
25 void LinearPolar2D_Domain_read_netgen(str filename,
LinearPolar2D_Domain domain,
object segmentation =
object());
26 void LinearSpherical3D_Domain_read_netgen(str filename,
LinearSpherical3D_Domain domain,
object segmentation =
object());
28 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian1D_Domain_read_netgen_overloads,
29 LinearCartesian1D_Domain_read_netgen, 2, 3);
31 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian2D_Domain_read_netgen_overloads,
32 LinearCartesian2D_Domain_read_netgen, 2, 3);
34 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian3D_Domain_read_netgen_overloads,
35 LinearCartesian3D_Domain_read_netgen, 2, 3);
37 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCylindrical3D_Domain_read_netgen_overloads,
38 LinearCylindrical3D_Domain_read_netgen, 2, 3);
40 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearPolar2D_Domain_read_netgen_overloads,
41 LinearPolar2D_Domain_read_netgen, 2, 3);
43 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearSpherical3D_Domain_read_netgen_overloads,
44 LinearSpherical3D_Domain_read_netgen, 2, 3);
53 void TriangularPolar2D_Domain_read_netgen(str filename,
TriangularPolar2D_Domain domain,
object segmentation =
object());
56 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian2D_Domain_read_netgen_overloads,
57 TriangularCartesian2D_Domain_read_netgen, 2, 3);
59 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian3D_Domain_read_netgen_overloads,
60 TriangularCartesian3D_Domain_read_netgen, 2, 3);
62 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCylindrical3D_Domain_read_netgen_overloads,
63 TriangularCylindrical3D_Domain_read_netgen, 2, 3);
65 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularPolar2D_Domain_read_netgen_overloads,
66 TriangularPolar2D_Domain_read_netgen, 2, 3);
68 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularSpherical3D_Domain_read_netgen_overloads,
69 TriangularSpherical3D_Domain_read_netgen, 2, 3);
81 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian2D_Domain_read_netgen_overloads,
82 QuadrilateralCartesian2D_Domain_read_netgen, 2, 3);
84 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian3D_Domain_read_netgen_overloads,
85 QuadrilateralCartesian3D_Domain_read_netgen, 2, 3);
87 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCylindrical3D_Domain_read_netgen_overloads,
88 QuadrilateralCylindrical3D_Domain_read_netgen, 2, 3);
90 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralPolar2D_Domain_read_netgen_overloads,
91 QuadrilateralPolar2D_Domain_read_netgen, 2, 3);
93 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralSpherical3D_Domain_read_netgen_overloads,
94 QuadrilateralSpherical3D_Domain_read_netgen, 2, 3);
104 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCartesian3D_Domain_read_netgen_overloads,
105 TetrahedralCartesian3D_Domain_read_netgen, 2, 3);
107 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCylindrical3D_Domain_read_netgen_overloads,
108 TetrahedralCylindrical3D_Domain_read_netgen, 2, 3);
110 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralSpherical3D_Domain_read_netgen_overloads,
111 TetrahedralSpherical3D_Domain_read_netgen, 2, 3);