ViennaGrid for Python
 All Classes Files Functions Variables
write_opendx.hpp
1 #ifndef IO_WRITE_OPENDX_HPP
2 #define IO_WRITE_OPENDX_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 
15 // LINEAR //
17 
18 void LinearCartesian1D_Domain_write_opendx(str filename, LinearCartesian1D_Domain domain, dict accessors = dict());
19 void LinearCartesian2D_Domain_write_opendx(str filename, LinearCartesian2D_Domain domain, dict accessors = dict());
20 void LinearCartesian3D_Domain_write_opendx(str filename, LinearCartesian3D_Domain domain, dict accessors = dict());
21 void LinearCylindrical3D_Domain_write_opendx(str filename, LinearCylindrical3D_Domain domain, dict accessors = dict());
22 void LinearPolar2D_Domain_write_opendx(str filename, LinearPolar2D_Domain domain, dict accessors = dict());
23 void LinearSpherical3D_Domain_write_opendx(str filename, LinearSpherical3D_Domain domain, dict accessors = dict());
24 
25 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian1D_Domain_write_opendx_overloads,
26  LinearCartesian1D_Domain_write_opendx, 2, 3);
27 
28 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian2D_Domain_write_opendx_overloads,
29  LinearCartesian2D_Domain_write_opendx, 2, 3);
30 
31 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCartesian3D_Domain_write_opendx_overloads,
32  LinearCartesian3D_Domain_write_opendx, 2, 3);
33 
34 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearCylindrical3D_Domain_write_opendx_overloads,
35  LinearCylindrical3D_Domain_write_opendx, 2, 3);
36 
37 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearPolar2D_Domain_write_opendx_overloads,
38  LinearPolar2D_Domain_write_opendx, 2, 3);
39 
40 BOOST_PYTHON_FUNCTION_OVERLOADS(LinearSpherical3D_Domain_write_opendx_overloads,
41  LinearSpherical3D_Domain_write_opendx, 2, 3);
42 
44 // TRIANGULAR //
46 
47 void TriangularCartesian2D_Domain_write_opendx(str filename, TriangularCartesian2D_Domain domain, dict accessors = dict());
48 void TriangularCartesian3D_Domain_write_opendx(str filename, TriangularCartesian3D_Domain domain, dict accessors = dict());
49 void TriangularCylindrical3D_Domain_write_opendx(str filename, TriangularCylindrical3D_Domain domain, dict accessors = dict());
50 void TriangularPolar2D_Domain_write_opendx(str filename, TriangularPolar2D_Domain domain, dict accessors = dict());
51 void TriangularSpherical3D_Domain_write_opendx(str filename, TriangularSpherical3D_Domain domain, dict accessors = dict());
52 
53 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian2D_Domain_write_opendx_overloads,
54  TriangularCartesian2D_Domain_write_opendx, 2, 3);
55 
56 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCartesian3D_Domain_write_opendx_overloads,
57  TriangularCartesian3D_Domain_write_opendx, 2, 3);
58 
59 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularCylindrical3D_Domain_write_opendx_overloads,
60  TriangularCylindrical3D_Domain_write_opendx, 2, 3);
61 
62 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularPolar2D_Domain_write_opendx_overloads,
63  TriangularPolar2D_Domain_write_opendx, 2, 3);
64 
65 BOOST_PYTHON_FUNCTION_OVERLOADS(TriangularSpherical3D_Domain_write_opendx_overloads,
66  TriangularSpherical3D_Domain_write_opendx, 2, 3);
67 
69 // QUADRILATERAL //
71 
72 void QuadrilateralCartesian2D_Domain_write_opendx(str filename, QuadrilateralCartesian2D_Domain domain, dict accessors = dict());
73 void QuadrilateralCartesian3D_Domain_write_opendx(str filename, QuadrilateralCartesian3D_Domain domain, dict accessors = dict());
74 void QuadrilateralCylindrical3D_Domain_write_opendx(str filename, QuadrilateralCylindrical3D_Domain domain, dict accessors = dict());
75 void QuadrilateralPolar2D_Domain_write_opendx(str filename, QuadrilateralPolar2D_Domain domain, dict accessors = dict());
76 void QuadrilateralSpherical3D_Domain_write_opendx(str filename, QuadrilateralSpherical3D_Domain domain, dict accessors = dict());
77 
78 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian2D_Domain_write_opendx_overloads,
79  QuadrilateralCartesian2D_Domain_write_opendx, 2, 3);
80 
81 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCartesian3D_Domain_write_opendx_overloads,
82  QuadrilateralCartesian3D_Domain_write_opendx, 2, 3);
83 
84 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralCylindrical3D_Domain_write_opendx_overloads,
85  QuadrilateralCylindrical3D_Domain_write_opendx, 2, 3);
86 
87 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralPolar2D_Domain_write_opendx_overloads,
88  QuadrilateralPolar2D_Domain_write_opendx, 2, 3);
89 
90 BOOST_PYTHON_FUNCTION_OVERLOADS(QuadrilateralSpherical3D_Domain_write_opendx_overloads,
91  QuadrilateralSpherical3D_Domain_write_opendx, 2, 3);
92 
94 // TETRAHEDRAL //
96 
97 void TetrahedralCartesian3D_Domain_write_opendx(str filename, TetrahedralCartesian3D_Domain domain, dict accessors = dict());
98 void TetrahedralCylindrical3D_Domain_write_opendx(str filename, TetrahedralCylindrical3D_Domain domain, dict accessors = dict());
99 void TetrahedralSpherical3D_Domain_write_opendx(str filename, TetrahedralSpherical3D_Domain domain, dict accessors = dict());
100 
101 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCartesian3D_Domain_write_opendx_overloads,
102  TetrahedralCartesian3D_Domain_write_opendx, 2, 3);
103 
104 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralCylindrical3D_Domain_write_opendx_overloads,
105  TetrahedralCylindrical3D_Domain_write_opendx, 2, 3);
106 
107 BOOST_PYTHON_FUNCTION_OVERLOADS(TetrahedralSpherical3D_Domain_write_opendx_overloads,
108  TetrahedralSpherical3D_Domain_write_opendx, 2, 3);
109 
110 #endif