ViennaGrid for Python
 All Classes Files Functions Variables
quadrilateral.hpp
Go to the documentation of this file.
1 
6 #ifndef CELLS_QUADRILATERAL_HPP
7 #define CELLS_QUADRILATERAL_HPP
8 
9 #include "types.hpp"
10 
11 #include "../points/cartesian.hpp"
12 #include "../points/cylindrical.hpp"
13 #include "../points/polar.hpp"
14 #include "../points/spherical.hpp"
15 
16 #include <boost/python.hpp>
17 using namespace boost::python;
18 
30  QuadrilateralCartesian2D_Cell_t *cell;
31 public:
32  QuadrilateralCartesian2D_Cell(QuadrilateralCartesian2D_Cell_t &initial_cell);
33 
41  unsigned int num_vertices();
42 
50  list get_vertices();
51 
59  list get_facets();
60 
68  list get_edges();
69 
75  QuadrilateralCartesian2D_Cell_t & get_cell();
76 };
77 
89  QuadrilateralCartesian3D_Cell_t *cell;
90 public:
91  QuadrilateralCartesian3D_Cell(QuadrilateralCartesian3D_Cell_t &initial_cell);
92 
100  unsigned int num_vertices();
101 
109  list get_vertices();
110 
118  list get_facets();
119 
127  list get_edges();
128 
134  QuadrilateralCartesian3D_Cell_t & get_cell();
135 };
136 
148  QuadrilateralCylindrical3D_Cell_t *cell;
149 public:
150  QuadrilateralCylindrical3D_Cell(QuadrilateralCylindrical3D_Cell_t &initial_cell);
151 
159  unsigned int num_vertices();
160 
168  list get_vertices();
169 
177  list get_facets();
178 
186  list get_edges();
187 
193  QuadrilateralCylindrical3D_Cell_t & get_cell();
194 };
195 
207  QuadrilateralPolar2D_Cell_t *cell;
208 public:
209  QuadrilateralPolar2D_Cell(QuadrilateralPolar2D_Cell_t &initial_cell);
210 
218  unsigned int num_vertices();
219 
227  list get_vertices();
228 
236  list get_facets();
237 
245  list get_edges();
246 
252  QuadrilateralPolar2D_Cell_t & get_cell();
253 };
254 
266  QuadrilateralSpherical3D_Cell_t *cell;
267 public:
268  QuadrilateralSpherical3D_Cell(QuadrilateralSpherical3D_Cell_t &initial_cell);
269 
277  unsigned int num_vertices();
278 
286  list get_vertices();
287 
295  list get_facets();
296 
304  list get_edges();
305 
311  QuadrilateralSpherical3D_Cell_t & get_cell();
312 };
313 
314 #endif