ViennaGrid for Python
 All Classes Files Functions Variables
quadrilateral.hpp
Go to the documentation of this file.
1 
6 #ifndef SEGMENTATIONS_QUADRILATERAL_HPP
7 #define SEGMENTATIONS_QUADRILATERAL_HPP
8 
9 #include "types.hpp"
10 
11 #include "../domains/forward.hpp"
12 #include "../segments/quadrilateral.hpp"
13 
14 #include <boost/python.hpp>
15 using namespace boost::python;
16 
23 {
28  QuadrilateralCartesian2D_Segmentation_t segmentation;
29 
35 public:
37 
45  unsigned int num_segments();
46 
54  QuadrilateralCartesian2D_Segment make_segment();
55 
63  list get_segments();
64 
71  QuadrilateralCartesian2D_Domain_t & get_domain();
72 
79  QuadrilateralCartesian2D_Segmentation_t & get_segmentation();
80 };
81 
88 {
93  QuadrilateralCartesian3D_Segmentation_t segmentation;
94 
100 public:
102 
110  unsigned int num_segments();
111 
119  QuadrilateralCartesian3D_Segment make_segment();
120 
128  list get_segments();
129 
136  QuadrilateralCartesian3D_Domain_t & get_domain();
137 
144  QuadrilateralCartesian3D_Segmentation_t & get_segmentation();
145 };
146 
153 {
158  QuadrilateralCylindrical3D_Segmentation_t segmentation;
159 
165 public:
167 
175  unsigned int num_segments();
176 
184  QuadrilateralCylindrical3D_Segment make_segment();
185 
193  list get_segments();
194 
201  QuadrilateralCylindrical3D_Domain_t & get_domain();
202 
209  QuadrilateralCylindrical3D_Segmentation_t & get_segmentation();
210 };
211 
218 {
223  QuadrilateralPolar2D_Segmentation_t segmentation;
224 
230 public:
232 
240  unsigned int num_segments();
241 
249  QuadrilateralPolar2D_Segment make_segment();
250 
258  list get_segments();
259 
266  QuadrilateralPolar2D_Domain_t & get_domain();
267 
274  QuadrilateralPolar2D_Segmentation_t & get_segmentation();
275 };
276 
283 {
288  QuadrilateralSpherical3D_Segmentation_t segmentation;
289 
295 public:
297 
305  unsigned int num_segments();
306 
314  QuadrilateralSpherical3D_Segment make_segment();
315 
323  list get_segments();
324 
331  QuadrilateralSpherical3D_Domain_t & get_domain();
332 
339  QuadrilateralSpherical3D_Segmentation_t & get_segmentation();
340 };
341 
342 #endif /* end of include guard: SEGMENTATIONS_QUADRILATERAL_HPP */