1 #ifndef IO_READ_VTK_HPP
2 #define IO_READ_VTK_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_vtk(str filename,
LinearCartesian1D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
22 void LinearCartesian2D_Domain_read_vtk(str filename,
LinearCartesian2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
23 void LinearCartesian3D_Domain_read_vtk(str filename,
LinearCartesian3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
24 void LinearCylindrical3D_Domain_read_vtk(str filename,
LinearCylindrical3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
25 void LinearPolar2D_Domain_read_vtk(str filename,
LinearPolar2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
26 void LinearSpherical3D_Domain_read_vtk(str filename,
LinearSpherical3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
28 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian1D_Domain_read_vtk_overloads,
29 LinearCartesian1D_Domain_read_vtk, 2, 4);
31 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian2D_Domain_read_vtk_overloads,
32 LinearCartesian2D_Domain_read_vtk, 2, 4);
34 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian3D_Domain_read_vtk_overloads,
35 LinearCartesian3D_Domain_read_vtk, 2, 4);
37 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCylindrical3D_Domain_read_vtk_overloads,
38 LinearCylindrical3D_Domain_read_vtk, 2, 4);
40 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearPolar2D_Domain_read_vtk_overloads,
41 LinearPolar2D_Domain_read_vtk, 2, 4);
43 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearSpherical3D_Domain_read_vtk_overloads,
44 LinearSpherical3D_Domain_read_vtk, 2, 4);
50 void TriangularCartesian2D_Domain_read_vtk(str filename,
TriangularCartesian2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
51 void TriangularCartesian3D_Domain_read_vtk(str filename,
TriangularCartesian3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
53 void TriangularPolar2D_Domain_read_vtk(str filename,
TriangularPolar2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
54 void TriangularSpherical3D_Domain_read_vtk(str filename,
TriangularSpherical3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
56 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian2D_Domain_read_vtk_overloads,
57 TriangularCartesian2D_Domain_read_vtk, 2, 4);
59 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian3D_Domain_read_vtk_overloads,
60 TriangularCartesian3D_Domain_read_vtk, 2, 4);
62 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCylindrical3D_Domain_read_vtk_overloads,
63 TriangularCylindrical3D_Domain_read_vtk, 2, 4);
65 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularPolar2D_Domain_read_vtk_overloads,
66 TriangularPolar2D_Domain_read_vtk, 2, 4);
68 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularSpherical3D_Domain_read_vtk_overloads,
69 TriangularSpherical3D_Domain_read_vtk, 2, 4);
78 void QuadrilateralPolar2D_Domain_read_vtk(str filename,
QuadrilateralPolar2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
81 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian2D_Domain_read_vtk_overloads,
82 QuadrilateralCartesian2D_Domain_read_vtk, 2, 4);
84 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian3D_Domain_read_vtk_overloads,
85 QuadrilateralCartesian3D_Domain_read_vtk, 2, 4);
87 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCylindrical3D_Domain_read_vtk_overloads,
88 QuadrilateralCylindrical3D_Domain_read_vtk, 2, 4);
90 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralPolar2D_Domain_read_vtk_overloads,
91 QuadrilateralPolar2D_Domain_read_vtk, 2, 4);
93 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralSpherical3D_Domain_read_vtk_overloads,
94 QuadrilateralSpherical3D_Domain_read_vtk, 2, 4);
104 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCartesian3D_Domain_read_vtk_overloads,
105 TetrahedralCartesian3D_Domain_read_vtk, 2, 4);
107 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCylindrical3D_Domain_read_vtk_overloads,
108 TetrahedralCylindrical3D_Domain_read_vtk, 2, 4);
110 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralSpherical3D_Domain_read_vtk_overloads,
111 TetrahedralSpherical3D_Domain_read_vtk, 2, 4);