1 #ifndef IO_WRITE_VTK_HPP
2 #define IO_WRITE_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;
23 void LinearCartesian1D_Domain_write_vtk(str filename,
LinearCartesian1D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
24 void LinearCartesian2D_Domain_write_vtk(str filename,
LinearCartesian2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
25 void LinearCartesian3D_Domain_write_vtk(str filename,
LinearCartesian3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
26 void LinearCylindrical3D_Domain_write_vtk(str filename,
LinearCylindrical3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
27 void LinearPolar2D_Domain_write_vtk(str filename,
LinearPolar2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
28 void LinearSpherical3D_Domain_write_vtk(str filename,
LinearSpherical3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
30 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian1D_Domain_write_vtk_overloads,
31 LinearCartesian1D_Domain_write_vtk, 2, 4);
33 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian2D_Domain_write_vtk_overloads,
34 LinearCartesian2D_Domain_write_vtk, 2, 4);
36 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian3D_Domain_write_vtk_overloads,
37 LinearCartesian3D_Domain_write_vtk, 2, 4);
39 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCylindrical3D_Domain_write_vtk_overloads,
40 LinearCylindrical3D_Domain_write_vtk, 2, 4);
42 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearPolar2D_Domain_write_vtk_overloads,
43 LinearPolar2D_Domain_write_vtk, 2, 4);
45 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearSpherical3D_Domain_write_vtk_overloads,
46 LinearSpherical3D_Domain_write_vtk, 2, 4);
52 void TriangularCartesian2D_Domain_write_vtk(str filename,
TriangularCartesian2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
53 void TriangularCartesian3D_Domain_write_vtk(str filename,
TriangularCartesian3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
55 void TriangularPolar2D_Domain_write_vtk(str filename,
TriangularPolar2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
56 void TriangularSpherical3D_Domain_write_vtk(str filename,
TriangularSpherical3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
58 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian2D_Domain_write_vtk_overloads,
59 TriangularCartesian2D_Domain_write_vtk, 2, 4);
61 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian3D_Domain_write_vtk_overloads,
62 TriangularCartesian3D_Domain_write_vtk, 2, 4);
64 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCylindrical3D_Domain_write_vtk_overloads,
65 TriangularCylindrical3D_Domain_write_vtk, 2, 4);
67 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularPolar2D_Domain_write_vtk_overloads,
68 TriangularPolar2D_Domain_write_vtk, 2, 4);
70 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularSpherical3D_Domain_write_vtk_overloads,
71 TriangularSpherical3D_Domain_write_vtk, 2, 4);
80 void QuadrilateralPolar2D_Domain_write_vtk(str filename,
QuadrilateralPolar2D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
83 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian2D_Domain_write_vtk_overloads,
84 QuadrilateralCartesian2D_Domain_write_vtk, 2, 4);
86 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian3D_Domain_write_vtk_overloads,
87 QuadrilateralCartesian3D_Domain_write_vtk, 2, 4);
89 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCylindrical3D_Domain_write_vtk_overloads,
90 QuadrilateralCylindrical3D_Domain_write_vtk, 2, 4);
92 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralPolar2D_Domain_write_vtk_overloads,
93 QuadrilateralPolar2D_Domain_write_vtk, 2, 4);
95 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralSpherical3D_Domain_write_vtk_overloads,
96 QuadrilateralSpherical3D_Domain_write_vtk, 2, 4);
102 void TetrahedralCartesian3D_Domain_write_vtk(str filename,
TetrahedralCartesian3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
104 void TetrahedralSpherical3D_Domain_write_vtk(str filename,
TetrahedralSpherical3D_Domain domain,
object arg1 =
object(), dict arg2 = dict());
106 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCartesian3D_Domain_write_vtk_overloads,
107 TetrahedralCartesian3D_Domain_write_vtk, 2, 4);
109 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCylindrical3D_Domain_write_vtk_overloads,
110 TetrahedralCylindrical3D_Domain_write_vtk, 2, 4);
112 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralSpherical3D_Domain_write_vtk_overloads,
113 TetrahedralSpherical3D_Domain_write_vtk, 2, 4);