ViennaGrid for Python
 All Classes Files Functions Variables
cell_centroid.hpp
Go to the documentation of this file.
1 
6 #ifndef ALGORHITHMS_CELL_CENTROID_HPP
7 #define ALGORHITHMS_CELL_CENTROID_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 PointCartesian1D LinearCartesian1D_Cell_centroid(LinearCartesian1D_Cell cell);
35 
44 PointCartesian2D LinearCartesian2D_Cell_centroid(LinearCartesian2D_Cell cell);
45 
54 PointCartesian3D LinearCartesian3D_Cell_centroid(LinearCartesian3D_Cell cell);
55 
64 PointCylindrical3D LinearCylindrical3D_Cell_centroid(LinearCylindrical3D_Cell cell);
65 
74 PointPolar2D LinearPolar2D_Cell_centroid(LinearPolar2D_Cell cell);
75 
84 PointSpherical3D LinearSpherical3D_Cell_centroid(LinearSpherical3D_Cell cell);
85 
87 // Triangular //
89 
98 PointCartesian2D TriangularCartesian2D_Cell_centroid(TriangularCartesian2D_Cell cell);
99 
108 PointCartesian3D TriangularCartesian3D_Cell_centroid(TriangularCartesian3D_Cell cell);
109 
118 PointCylindrical3D TriangularCylindrical3D_Cell_centroid(TriangularCylindrical3D_Cell cell);
119 
128 PointPolar2D TriangularPolar2D_Cell_centroid(TriangularPolar2D_Cell cell);
129 
138 PointSpherical3D TriangularSpherical3D_Cell_centroid(TriangularSpherical3D_Cell cell);
139 
141 // Quadrilateral //
143 
152 PointCartesian2D QuadrilateralCartesian2D_Cell_centroid(QuadrilateralCartesian2D_Cell cell);
153 
162 PointCartesian3D QuadrilateralCartesian3D_Cell_centroid(QuadrilateralCartesian3D_Cell cell);
163 
172 PointCylindrical3D QuadrilateralCylindrical3D_Cell_centroid(QuadrilateralCylindrical3D_Cell cell);
173 
182 PointPolar2D QuadrilateralPolar2D_Cell_centroid(QuadrilateralPolar2D_Cell cell);
183 
192 PointSpherical3D QuadrilateralSpherical3D_Cell_centroid(QuadrilateralSpherical3D_Cell cell);
193 
195 // Tetrahedral //
197 
206 PointCartesian3D TetrahedralCartesian3D_Cell_centroid(TetrahedralCartesian3D_Cell cell);
207 
216 PointCylindrical3D TetrahedralCylindrical3D_Cell_centroid(TetrahedralCylindrical3D_Cell cell);
217 
226 PointSpherical3D TetrahedralSpherical3D_Cell_centroid(TetrahedralSpherical3D_Cell cell);
227 
228 #endif /* end of include guard: ALGORHITHMS_CELL_CENTROID_HPP */