ViennaGrid for Python
 All Classes Files Functions Variables
triangular.hpp
Go to the documentation of this file.
1 
6 #ifndef SEGMENTATIONS_TRIANGULAR_HPP
7 #define SEGMENTATIONS_TRIANGULAR_HPP
8 
9 #include "types.hpp"
10 
11 #include "../domains/forward.hpp"
12 #include "../segments/triangular.hpp"
13 
14 #include <boost/python.hpp>
15 using namespace boost::python;
16 
23 {
28  TriangularCartesian2D_Segmentation_t segmentation;
29 
35 public:
37 
45  unsigned int num_segments();
46 
54  TriangularCartesian2D_Segment make_segment();
55 
63  list get_segments();
64 
71  TriangularCartesian2D_Domain_t & get_domain();
72 
79  TriangularCartesian2D_Segmentation_t & get_segmentation();
80 };
81 
88 {
93  TriangularCartesian3D_Segmentation_t segmentation;
94 
100 public:
102 
110  unsigned int num_segments();
111 
119  TriangularCartesian3D_Segment make_segment();
120 
128  list get_segments();
129 
136  TriangularCartesian3D_Domain_t & get_domain();
137 
144  TriangularCartesian3D_Segmentation_t & get_segmentation();
145 };
146 
153 {
158  TriangularCylindrical3D_Segmentation_t segmentation;
159 
165 public:
167 
175  unsigned int num_segments();
176 
184  TriangularCylindrical3D_Segment make_segment();
185 
193  list get_segments();
194 
201  TriangularCylindrical3D_Domain_t & get_domain();
202 
209  TriangularCylindrical3D_Segmentation_t & get_segmentation();
210 };
211 
218 {
223  TriangularPolar2D_Segmentation_t segmentation;
224 
229  TriangularPolar2D_Domain *domain;
230 public:
232 
240  unsigned int num_segments();
241 
249  TriangularPolar2D_Segment make_segment();
250 
258  list get_segments();
259 
266  TriangularPolar2D_Domain_t & get_domain();
267 
274  TriangularPolar2D_Segmentation_t & get_segmentation();
275 };
276 
283 {
288  TriangularSpherical3D_Segmentation_t segmentation;
289 
295 public:
297 
305  unsigned int num_segments();
306 
314  TriangularSpherical3D_Segment make_segment();
315 
323  list get_segments();
324 
331  TriangularSpherical3D_Domain_t & get_domain();
332 
339  TriangularSpherical3D_Segmentation_t & get_segmentation();
340 };
341 
342 #endif /* end of include guard: SEGMENTATIONS_TRIANGULAR_HPP */