ViennaGrid for Python
 All Classes Files Functions Variables
linear.hpp
Go to the documentation of this file.
1 
6 #ifndef SEGMENTATIONS_LINEAR_HPP
7 #define SEGMENTATIONS_LINEAR_HPP
8 
9 #include "types.hpp"
10 
11 #include "../domains/forward.hpp"
12 #include "../segments/linear.hpp"
13 
14 #include <boost/python.hpp>
15 using namespace boost::python;
16 
23 {
28  LinearCartesian1D_Segmentation_t segmentation;
29 
35 public:
37 
45  unsigned int num_segments();
46 
54  LinearCartesian1D_Segment make_segment();
55 
63  list get_segments();
64 
71  LinearCartesian1D_Domain_t & get_domain();
72 
79  LinearCartesian1D_Segmentation_t & get_segmentation();
80 };
81 
88 {
93  LinearCartesian2D_Segmentation_t segmentation;
94 
100 public:
102 
110  unsigned int num_segments();
111 
119  LinearCartesian2D_Segment make_segment();
120 
128  list get_segments();
129 
136  LinearCartesian2D_Domain_t & get_domain();
137 
144  LinearCartesian2D_Segmentation_t & get_segmentation();
145 };
146 
153 {
158  LinearCartesian3D_Segmentation_t segmentation;
159 
164  LinearCartesian3D_Domain *domain;
165 public:
167 
175  unsigned int num_segments();
176 
184  LinearCartesian3D_Segment make_segment();
185 
193  list get_segments();
194 
201  LinearCartesian3D_Domain_t & get_domain();
202 
209  LinearCartesian3D_Segmentation_t & get_segmentation();
210 };
211 
218 {
223  LinearCylindrical3D_Segmentation_t segmentation;
224 
230 public:
232 
240  unsigned int num_segments();
241 
249  LinearCylindrical3D_Segment make_segment();
250 
258  list get_segments();
259 
266  LinearCylindrical3D_Domain_t & get_domain();
267 
274  LinearCylindrical3D_Segmentation_t & get_segmentation();
275 };
276 
283 {
288  LinearPolar2D_Segmentation_t segmentation;
289 
294  LinearPolar2D_Domain *domain;
295 public:
297 
305  unsigned int num_segments();
306 
314  LinearPolar2D_Segment make_segment();
315 
323  list get_segments();
324 
331  LinearPolar2D_Domain_t & get_domain();
332 
339  LinearPolar2D_Segmentation_t & get_segmentation();
340 };
341 
348 {
353  LinearSpherical3D_Segmentation_t segmentation;
354 
359  LinearSpherical3D_Domain *domain;
360 public:
362 
370  unsigned int num_segments();
371 
379  LinearSpherical3D_Segment make_segment();
380 
388  list get_segments();
389 
396  LinearSpherical3D_Domain_t & get_domain();
397 
404  LinearSpherical3D_Segmentation_t & get_segmentation();
405 };
406 
407 #endif /* end of include guard: SEGMENTATIONS_LINEAR_HPP */