ViennaGrid for Python
 All Classes Files Functions Variables
write_vtk.hpp
1 #ifndef IO_WRITE_VTK_HPP
2 #define IO_WRITE_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 
17 #include <string>
18 
20 // LINEAR //
22 
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());
29 
30 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian1D_Domain_write_vtk_overloads,
31  LinearCartesian1D_Domain_write_vtk, 2, 4);
32 
33 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian2D_Domain_write_vtk_overloads,
34  LinearCartesian2D_Domain_write_vtk, 2, 4);
35 
36 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian3D_Domain_write_vtk_overloads,
37  LinearCartesian3D_Domain_write_vtk, 2, 4);
38 
39 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCylindrical3D_Domain_write_vtk_overloads,
40  LinearCylindrical3D_Domain_write_vtk, 2, 4);
41 
42 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearPolar2D_Domain_write_vtk_overloads,
43  LinearPolar2D_Domain_write_vtk, 2, 4);
44 
45 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearSpherical3D_Domain_write_vtk_overloads,
46  LinearSpherical3D_Domain_write_vtk, 2, 4);
47 
49 // TRIANGULAR //
51 
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());
54 void TriangularCylindrical3D_Domain_write_vtk(str filename, TriangularCylindrical3D_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());
57 
58 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian2D_Domain_write_vtk_overloads,
59  TriangularCartesian2D_Domain_write_vtk, 2, 4);
60 
61 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian3D_Domain_write_vtk_overloads,
62  TriangularCartesian3D_Domain_write_vtk, 2, 4);
63 
64 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCylindrical3D_Domain_write_vtk_overloads,
65  TriangularCylindrical3D_Domain_write_vtk, 2, 4);
66 
67 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularPolar2D_Domain_write_vtk_overloads,
68  TriangularPolar2D_Domain_write_vtk, 2, 4);
69 
70 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularSpherical3D_Domain_write_vtk_overloads,
71  TriangularSpherical3D_Domain_write_vtk, 2, 4);
72 
74 // QUADRILATERAL //
76 
77 void QuadrilateralCartesian2D_Domain_write_vtk(str filename, QuadrilateralCartesian2D_Domain domain, object arg1 = object(), dict arg2 = dict());
78 void QuadrilateralCartesian3D_Domain_write_vtk(str filename, QuadrilateralCartesian3D_Domain domain, object arg1 = object(), dict arg2 = dict());
79 void QuadrilateralCylindrical3D_Domain_write_vtk(str filename, QuadrilateralCylindrical3D_Domain domain, object arg1 = object(), dict arg2 = dict());
80 void QuadrilateralPolar2D_Domain_write_vtk(str filename, QuadrilateralPolar2D_Domain domain, object arg1 = object(), dict arg2 = dict());
81 void QuadrilateralSpherical3D_Domain_write_vtk(str filename, QuadrilateralSpherical3D_Domain domain, object arg1 = object(), dict arg2 = dict());
82 
83 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian2D_Domain_write_vtk_overloads,
84  QuadrilateralCartesian2D_Domain_write_vtk, 2, 4);
85 
86 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian3D_Domain_write_vtk_overloads,
87  QuadrilateralCartesian3D_Domain_write_vtk, 2, 4);
88 
89 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCylindrical3D_Domain_write_vtk_overloads,
90  QuadrilateralCylindrical3D_Domain_write_vtk, 2, 4);
91 
92 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralPolar2D_Domain_write_vtk_overloads,
93  QuadrilateralPolar2D_Domain_write_vtk, 2, 4);
94 
95 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralSpherical3D_Domain_write_vtk_overloads,
96  QuadrilateralSpherical3D_Domain_write_vtk, 2, 4);
97 
99 // TETRAHEDRAL //
101 
102 void TetrahedralCartesian3D_Domain_write_vtk(str filename, TetrahedralCartesian3D_Domain domain, object arg1 = object(), dict arg2 = dict());
103 void TetrahedralCylindrical3D_Domain_write_vtk(str filename, TetrahedralCylindrical3D_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());
105 
106 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCartesian3D_Domain_write_vtk_overloads,
107  TetrahedralCartesian3D_Domain_write_vtk, 2, 4);
108 
109 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCylindrical3D_Domain_write_vtk_overloads,
110  TetrahedralCylindrical3D_Domain_write_vtk, 2, 4);
111 
112 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralSpherical3D_Domain_write_vtk_overloads,
113  TetrahedralSpherical3D_Domain_write_vtk, 2, 4);
114 
115 #endif