ViennaGrid for Python
 All Classes Files Functions Variables
types.hpp
Go to the documentation of this file.
1 
6 #ifndef SEGMENTATIONS_TYPES_HPP
7 #define SEGMENTATIONS_TYPES_HPP
8 
9 #include "../domains/types.hpp"
10 
11 #include <viennagrid/domain/segmentation.hpp>
12 
13 /***************
14  * LINEAR MESH *
15  ***************/
16 
17 // Line, cartesian 1D
18 typedef viennagrid::result_of::segmentation<LinearCartesian1D_Domain_t>::type LinearCartesian1D_Segmentation_t;
19 
20 // Line, cartesian 2D
21 typedef viennagrid::result_of::segmentation<LinearCartesian2D_Domain_t>::type LinearCartesian2D_Segmentation_t;
22 
23 // Line, cartesian 3D
24 typedef viennagrid::result_of::segmentation<LinearCartesian3D_Domain_t>::type LinearCartesian3D_Segmentation_t;
25 
26 // Line, cylindrical (3D)
27 typedef viennagrid::result_of::segmentation<LinearCylindrical3D_Domain_t>::type LinearCylindrical3D_Segmentation_t;
28 
29 // Line, polar (2D)
30 typedef viennagrid::result_of::segmentation<LinearPolar2D_Domain_t>::type LinearPolar2D_Segmentation_t;
31 
32 // Line, spherical (3D)
33 typedef viennagrid::result_of::segmentation<LinearSpherical3D_Domain_t>::type LinearSpherical3D_Segmentation_t;
34 
35 /*******************
36  * TRIANGULAR MESH *
37  *******************/
38 
39 // Triangle, cartesian 2D
40 typedef viennagrid::result_of::segmentation<TriangularCartesian2D_Domain_t>::type TriangularCartesian2D_Segmentation_t;
41 
42 // Triangle, cartesian 3D
43 typedef viennagrid::result_of::segmentation<TriangularCartesian3D_Domain_t>::type TriangularCartesian3D_Segmentation_t;
44 
45 // Triangle, cylindrical (3D)
46 typedef viennagrid::result_of::segmentation<TriangularCylindrical3D_Domain_t>::type TriangularCylindrical3D_Segmentation_t;
47 
48 // Triangle, polar (2D)
49 typedef viennagrid::result_of::segmentation<TriangularPolar2D_Domain_t>::type TriangularPolar2D_Segmentation_t;
50 
51 // Triangle, spherical (3D)
52 typedef viennagrid::result_of::segmentation<TriangularSpherical3D_Domain_t>::type TriangularSpherical3D_Segmentation_t;
53 
54 /**********************
55  * QUADRILATERAL MESH *
56  **********************/
57 
58 // Quadrilateral, cartesian 2D
59 typedef viennagrid::result_of::segmentation<QuadrilateralCartesian2D_Domain_t>::type QuadrilateralCartesian2D_Segmentation_t;
60 // Quadrilateral, cartesian 3D
61 typedef viennagrid::result_of::segmentation<QuadrilateralCartesian3D_Domain_t>::type QuadrilateralCartesian3D_Segmentation_t;
62 // Quadrilateral, cylindrical (3D)
63 typedef viennagrid::result_of::segmentation<QuadrilateralCylindrical3D_Domain_t>::type QuadrilateralCylindrical3D_Segmentation_t;
64 // Quadrilateral, polar (2D)
65 typedef viennagrid::result_of::segmentation<QuadrilateralPolar2D_Domain_t>::type QuadrilateralPolar2D_Segmentation_t;
66 // Quadrilateral, spherical (3D)
67 typedef viennagrid::result_of::segmentation<QuadrilateralSpherical3D_Domain_t>::type QuadrilateralSpherical3D_Segmentation_t;
68 
69 /********************
70  * TETRAHEDRAL MESH *
71  ********************/
72 
73 // Tetrahedral, cartesian 3D
74 typedef viennagrid::result_of::segmentation<TetrahedralCartesian3D_Domain_t>::type TetrahedralCartesian3D_Segmentation_t;
75 // Tetrahedral, cylindrical (3D)
76 typedef viennagrid::result_of::segmentation<TetrahedralCylindrical3D_Domain_t>::type TetrahedralCylindrical3D_Segmentation_t;
77 // Tetrahedral, spherical (3D)
78 typedef viennagrid::result_of::segmentation<TetrahedralSpherical3D_Domain_t>::type TetrahedralSpherical3D_Segmentation_t;
79 
80 #endif /* end of include guard: SEGMENTATIONS_TYPES_HPP */