ViennaGrid for Python
 All Classes Files Functions Variables
linear.hpp
Go to the documentation of this file.
1 
6 #ifndef CELLS_LINEAR_HPP
7 #define CELLS_LINEAR_HPP
8 
9 #include "../points/cartesian.hpp"
10 #include "../points/cylindrical.hpp"
11 #include "../points/polar.hpp"
12 #include "../points/spherical.hpp"
13 
14 #include "types.hpp"
15 
16 #include "../vertices/linear.hpp"
17 
18 #include <boost/python.hpp>
19 using namespace boost::python;
20 
32  LinearCartesian1D_Cell_t *cell;
33 public:
34  LinearCartesian1D_Cell(LinearCartesian1D_Cell_t &initial_cell);
35 
43  unsigned int num_vertices();
44 
52  list get_vertices();
53 
61  list get_facets();
62 
68  LinearCartesian1D_Cell_t & get_cell();
69 };
70 
82  LinearCartesian2D_Cell_t *cell;
83 public:
84  LinearCartesian2D_Cell(LinearCartesian2D_Cell_t &initial_cell);
85 
93  unsigned int num_vertices();
94 
102  list get_vertices();
103 
111  list get_facets();
112 
118  LinearCartesian2D_Cell_t & get_cell();
119 };
120 
132  LinearCartesian3D_Cell_t *cell;
133 public:
134  LinearCartesian3D_Cell(LinearCartesian3D_Cell_t &initial_cell);
135 
143  unsigned int num_vertices();
144 
152  list get_vertices();
153 
161  list get_facets();
162 
168  LinearCartesian3D_Cell_t & get_cell();
169 };
170 
182  LinearCylindrical3D_Cell_t *cell;
183 public:
184  LinearCylindrical3D_Cell(LinearCylindrical3D_Cell_t &initial_cell);
185 
193  unsigned int num_vertices();
194 
202  list get_vertices();
203 
211  list get_facets();
212 
218  LinearCylindrical3D_Cell_t & get_cell();
219 };
220 
232  LinearPolar2D_Cell_t *cell;
233 public:
234  LinearPolar2D_Cell(LinearPolar2D_Cell_t &initial_cell);
235 
243  unsigned int num_vertices();
244 
252  list get_vertices();
253 
261  list get_facets();
262 
268  LinearPolar2D_Cell_t & get_cell();
269 };
270 
282  LinearSpherical3D_Cell_t *cell;
283 public:
284  LinearSpherical3D_Cell(LinearSpherical3D_Cell_t &initial_cell);
285 
293  unsigned int num_vertices();
294 
302  list get_vertices();
303 
311  list get_facets();
312 
318  LinearSpherical3D_Cell_t & get_cell();
319 };
320 
321 #endif