ViennaGrid for Python
 All Classes Files Functions Variables
quadrilateral.hpp
Go to the documentation of this file.
1 
6 #ifndef SEGMENTS_QUADRILATERAL_HPP
7 #define SEGMENTS_QUADRILATERAL_HPP
8 
9 #include "types.hpp"
10 
11 #include "../domains/forward.hpp"
12 
13 #include "../points/cartesian.hpp"
14 #include "../points/cylindrical.hpp"
15 #include "../points/polar.hpp"
16 #include "../points/spherical.hpp"
17 
18 #include "../cells/quadrilateral.hpp"
19 #include "../segmentations/forward.hpp"
20 #include "../vertices/quadrilateral.hpp"
21 
22 #include <boost/python.hpp>
23 using namespace boost::python;
24 
31 {
36  QuadrilateralCartesian2D_Segment_t segment;
37 
43 public:
44  QuadrilateralCartesian2D_Segment(QuadrilateralCartesian2D_Segment_t &initial_segment, QuadrilateralCartesian2D_Segmentation &initial_segmentation);
45 
53  unsigned int num_cells();
54 
68 
76  list get_cells();
77 
84  QuadrilateralCartesian2D_Segment_t & get_segment();
85 };
86 
93 {
98  QuadrilateralCartesian3D_Segment_t segment;
99 
105 public:
106  QuadrilateralCartesian3D_Segment(QuadrilateralCartesian3D_Segment_t &initial_segment, QuadrilateralCartesian3D_Segmentation &initial_segmentation);
107 
115  unsigned int num_cells();
116 
130 
138  list get_cells();
139 
146  QuadrilateralCartesian3D_Segment_t & get_segment();
147 };
148 
155 {
160  QuadrilateralCylindrical3D_Segment_t segment;
161 
167 public:
168  QuadrilateralCylindrical3D_Segment(QuadrilateralCylindrical3D_Segment_t &initial_segment, QuadrilateralCylindrical3D_Segmentation &initial_segmentation);
169 
177  unsigned int num_cells();
178 
192 
200  list get_cells();
201 
208  QuadrilateralCylindrical3D_Segment_t & get_segment();
209 };
210 
217 {
222  QuadrilateralPolar2D_Segment_t segment;
223 
228  QuadrilateralPolar2D_Segmentation *segmentation;
229 public:
230  QuadrilateralPolar2D_Segment(QuadrilateralPolar2D_Segment_t &initial_segment, QuadrilateralPolar2D_Segmentation &initial_segmentation);
231 
239  unsigned int num_cells();
240 
254 
262  list get_cells();
263 
270  QuadrilateralPolar2D_Segment_t & get_segment();
271 };
272 
279 {
284  QuadrilateralSpherical3D_Segment_t segment;
285 
291 public:
292  QuadrilateralSpherical3D_Segment(QuadrilateralSpherical3D_Segment_t &initial_segment, QuadrilateralSpherical3D_Segmentation &initial_segmentation);
293 
301  unsigned int num_cells();
302 
316 
324  list get_cells();
325 
332  QuadrilateralSpherical3D_Segment_t & get_segment();
333 };
334 
335 #endif /* end of include guard: SEGMENTS_QUADRILATERAL_HPP */