ViennaGrid for Python
 All Classes Files Functions Variables
cell_volume.hpp
Go to the documentation of this file.
1 
6 #ifndef ALGORHITHMS_CELL_VOLUME_HPP
7 #define ALGORHITHMS_CELL_VOLUME_HPP
8 
9 #include <boost/python.hpp>
10 using namespace boost::python;
11 
12 #include "../points/cartesian.hpp"
13 #include "../points/cylindrical.hpp"
14 #include "../points/polar.hpp"
15 #include "../points/spherical.hpp"
16 
17 #include "../cells/linear.hpp"
18 #include "../cells/triangular.hpp"
19 #include "../cells/quadrilateral.hpp"
20 #include "../cells/tetrahedral.hpp"
21 
23 // Linear //
25 
34 double LinearCartesian1D_Cell_volume(LinearCartesian1D_Cell cell);
35 
44 double LinearCartesian2D_Cell_volume(LinearCartesian2D_Cell cell);
45 
54 double LinearCartesian3D_Cell_volume(LinearCartesian3D_Cell cell);
55 
64 double LinearCylindrical3D_Cell_volume(LinearCylindrical3D_Cell cell);
65 
74 double LinearPolar2D_Cell_volume(LinearPolar2D_Cell cell);
75 
84 double LinearSpherical3D_Cell_volume(LinearSpherical3D_Cell cell);
85 
87 // Triangular //
89 
98 double TriangularCartesian2D_Cell_volume(TriangularCartesian2D_Cell cell);
99 
108 double TriangularCartesian3D_Cell_volume(TriangularCartesian3D_Cell cell);
109 
118 double TriangularCylindrical3D_Cell_volume(TriangularCylindrical3D_Cell cell);
119 
128 double TriangularPolar2D_Cell_volume(TriangularPolar2D_Cell cell);
129 
138 double TriangularSpherical3D_Cell_volume(TriangularSpherical3D_Cell cell);
139 
141 // Quadrilateral //
143 
152 double QuadrilateralCartesian2D_Cell_volume(QuadrilateralCartesian2D_Cell cell);
153 
162 double QuadrilateralCartesian3D_Cell_volume(QuadrilateralCartesian3D_Cell cell);
163 
172 double QuadrilateralCylindrical3D_Cell_volume(QuadrilateralCylindrical3D_Cell cell);
173 
182 double QuadrilateralPolar2D_Cell_volume(QuadrilateralPolar2D_Cell cell);
183 
192 double QuadrilateralSpherical3D_Cell_volume(QuadrilateralSpherical3D_Cell cell);
193 
195 // Tetrahedral //
197 
206 double TetrahedralCartesian3D_Cell_volume(TetrahedralCartesian3D_Cell cell);
207 
216 double TetrahedralCylindrical3D_Cell_volume(TetrahedralCylindrical3D_Cell cell);
217 
226 double TetrahedralSpherical3D_Cell_volume(TetrahedralSpherical3D_Cell cell);
227 
228 #endif /* end of include guard: ALGORHITHMS_CELL_VOLUME_HPP */