ViennaGrid for Python
 All Classes Files Functions Variables
read_vtk.hpp
1 #ifndef IO_READ_VTK_HPP
2 #define IO_READ_VTK_HPP
3 
4 #include "../domains/linear.hpp"
5 #include "../domains/triangular.hpp"
6 #include "../domains/quadrilateral.hpp"
7 #include "../domains/tetrahedral.hpp"
8 
9 #include "../segmentations/linear.hpp"
10 #include "../segmentations/triangular.hpp"
11 #include "../segmentations/quadrilateral.hpp"
12 #include "../segmentations/tetrahedral.hpp"
13 
14 #include <boost/python.hpp>
15 using namespace boost::python;
16 
18 // LINEAR //
20 
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());
27 
28 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian1D_Domain_read_vtk_overloads,
29  LinearCartesian1D_Domain_read_vtk, 2, 4);
30 
31 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian2D_Domain_read_vtk_overloads,
32  LinearCartesian2D_Domain_read_vtk, 2, 4);
33 
34 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian3D_Domain_read_vtk_overloads,
35  LinearCartesian3D_Domain_read_vtk, 2, 4);
36 
37 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCylindrical3D_Domain_read_vtk_overloads,
38  LinearCylindrical3D_Domain_read_vtk, 2, 4);
39 
40 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearPolar2D_Domain_read_vtk_overloads,
41  LinearPolar2D_Domain_read_vtk, 2, 4);
42 
43 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearSpherical3D_Domain_read_vtk_overloads,
44  LinearSpherical3D_Domain_read_vtk, 2, 4);
45 
47 // TRIANGULAR //
49 
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());
52 void TriangularCylindrical3D_Domain_read_vtk(str filename, TriangularCylindrical3D_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());
55 
56 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian2D_Domain_read_vtk_overloads,
57  TriangularCartesian2D_Domain_read_vtk, 2, 4);
58 
59 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian3D_Domain_read_vtk_overloads,
60  TriangularCartesian3D_Domain_read_vtk, 2, 4);
61 
62 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCylindrical3D_Domain_read_vtk_overloads,
63  TriangularCylindrical3D_Domain_read_vtk, 2, 4);
64 
65 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularPolar2D_Domain_read_vtk_overloads,
66  TriangularPolar2D_Domain_read_vtk, 2, 4);
67 
68 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularSpherical3D_Domain_read_vtk_overloads,
69  TriangularSpherical3D_Domain_read_vtk, 2, 4);
70 
72 // QUADRILATERAL //
74 
75 void QuadrilateralCartesian2D_Domain_read_vtk(str filename, QuadrilateralCartesian2D_Domain domain, object arg1 = object(), dict arg2 = dict());
76 void QuadrilateralCartesian3D_Domain_read_vtk(str filename, QuadrilateralCartesian3D_Domain domain, object arg1 = object(), dict arg2 = dict());
77 void QuadrilateralCylindrical3D_Domain_read_vtk(str filename, QuadrilateralCylindrical3D_Domain domain, object arg1 = object(), dict arg2 = dict());
78 void QuadrilateralPolar2D_Domain_read_vtk(str filename, QuadrilateralPolar2D_Domain domain, object arg1 = object(), dict arg2 = dict());
79 void QuadrilateralSpherical3D_Domain_read_vtk(str filename, QuadrilateralSpherical3D_Domain domain, object arg1 = object(), dict arg2 = dict());
80 
81 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian2D_Domain_read_vtk_overloads,
82  QuadrilateralCartesian2D_Domain_read_vtk, 2, 4);
83 
84 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian3D_Domain_read_vtk_overloads,
85  QuadrilateralCartesian3D_Domain_read_vtk, 2, 4);
86 
87 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCylindrical3D_Domain_read_vtk_overloads,
88  QuadrilateralCylindrical3D_Domain_read_vtk, 2, 4);
89 
90 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralPolar2D_Domain_read_vtk_overloads,
91  QuadrilateralPolar2D_Domain_read_vtk, 2, 4);
92 
93 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralSpherical3D_Domain_read_vtk_overloads,
94  QuadrilateralSpherical3D_Domain_read_vtk, 2, 4);
95 
97 // TETRAHEDRAL //
99 
100 void TetrahedralCartesian3D_Domain_read_vtk(str filename, TetrahedralCartesian3D_Domain domain, object arg1 = object(), dict arg2 = dict());
101 void TetrahedralCylindrical3D_Domain_read_vtk(str filename, TetrahedralCylindrical3D_Domain domain, object arg1 = object(), dict arg2 = dict());
102 void TetrahedralSpherical3D_Domain_read_vtk(str filename, TetrahedralSpherical3D_Domain domain, object arg1 = object(), dict arg2 = dict());
103 
104 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCartesian3D_Domain_read_vtk_overloads,
105  TetrahedralCartesian3D_Domain_read_vtk, 2, 4);
106 
107 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCylindrical3D_Domain_read_vtk_overloads,
108  TetrahedralCylindrical3D_Domain_read_vtk, 2, 4);
109 
110 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralSpherical3D_Domain_read_vtk_overloads,
111  TetrahedralSpherical3D_Domain_read_vtk, 2, 4);
112 
113 #endif