ViennaGrid for Python
 All Classes Files Functions Variables
types.hpp
Go to the documentation of this file.
1 
6 #ifndef SEGMENTS_TYPES_HPP
7 #define SEGMENTS_TYPES_HPP
8 
9 #include "../domains/types.hpp"
10 #include "../segmentations/types.hpp"
11 
12 /***************
13  * LINEAR MESH *
14  ***************/
15 
16 // Line, cartesian 1D
17 typedef viennagrid::result_of::segment<LinearCartesian1D_Segmentation_t>::type LinearCartesian1D_Segment_t;
18 
19 // Line, cartesian 2D
20 typedef viennagrid::result_of::segment<LinearCartesian2D_Segmentation_t>::type LinearCartesian2D_Segment_t;
21 
22 // Line, cartesian 3D
23 typedef viennagrid::result_of::segment<LinearCartesian3D_Segmentation_t>::type LinearCartesian3D_Segment_t;
24 
25 // Line, cylindrical (3D)
26 typedef viennagrid::result_of::segment<LinearCylindrical3D_Segmentation_t>::type LinearCylindrical3D_Segment_t;
27 
28 // Line, polar (2D)
29 typedef viennagrid::result_of::segment<LinearPolar2D_Segmentation_t>::type LinearPolar2D_Segment_t;
30 
31 // Line, spherical (3D)
32 typedef viennagrid::result_of::segment<LinearSpherical3D_Segmentation_t>::type LinearSpherical3D_Segment_t;
33 
34 /*******************
35  * TRIANGULAR MESH *
36  *******************/
37 
38 // Triangle, cartesian 2D
39 typedef viennagrid::result_of::segment<TriangularCartesian2D_Segmentation_t>::type TriangularCartesian2D_Segment_t;
40 
41 // Triangle, cartesian 3D
42 typedef viennagrid::result_of::segment<TriangularCartesian3D_Segmentation_t>::type TriangularCartesian3D_Segment_t;
43 
44 // Triangle, cylindrical (3D)
45 typedef viennagrid::result_of::segment<TriangularCylindrical3D_Segmentation_t>::type TriangularCylindrical3D_Segment_t;
46 
47 // Triangle, polar (2D)
48 typedef viennagrid::result_of::segment<TriangularPolar2D_Segmentation_t>::type TriangularPolar2D_Segment_t;
49 
50 // Triangle, spherical (3D)
51 typedef viennagrid::result_of::segment<TriangularSpherical3D_Segmentation_t>::type TriangularSpherical3D_Segment_t;
52 
53 /**********************
54  * QUADRILATERAL MESH *
55  **********************/
56 
57 // Quadrilateral, cartesian 2D
58 typedef viennagrid::result_of::segment<QuadrilateralCartesian2D_Segmentation_t>::type QuadrilateralCartesian2D_Segment_t;
59 
60 // Quadrilateral, cartesian 3D
61 typedef viennagrid::result_of::segment<QuadrilateralCartesian3D_Segmentation_t>::type QuadrilateralCartesian3D_Segment_t;
62 
63 // Quadrilateral, cylindrical (3D)
64 typedef viennagrid::result_of::segment<QuadrilateralCylindrical3D_Segmentation_t>::type QuadrilateralCylindrical3D_Segment_t;
65 
66 // Quadrilateral, polar (2D)
67 typedef viennagrid::result_of::segment<QuadrilateralPolar2D_Segmentation_t>::type QuadrilateralPolar2D_Segment_t;
68 
69 // Quadrilateral, spherical (3D)
70 typedef viennagrid::result_of::segment<QuadrilateralSpherical3D_Segmentation_t>::type QuadrilateralSpherical3D_Segment_t;
71 
72 /**********************
73  * TETRAHEDRAL MESH *
74  **********************/
75 
76 // Tetrahedral, cartesian 3D
77 typedef viennagrid::result_of::segment<TetrahedralCartesian3D_Segmentation_t>::type TetrahedralCartesian3D_Segment_t;
78 
79 // Tetrahedral, cylindrical (3D)
80 typedef viennagrid::result_of::segment<TetrahedralCylindrical3D_Segmentation_t>::type TetrahedralCylindrical3D_Segment_t;
81 
82 // Tetrahedral, spherical (3D)
83 typedef viennagrid::result_of::segment<TetrahedralSpherical3D_Segmentation_t>::type TetrahedralSpherical3D_Segment_t;
84 
85 #endif /* end of include guard: SEGMENTS_TYPES_HPP */