ViennaGrid for Python
 All Classes Files Functions Variables
quadrilateral.hpp
Go to the documentation of this file.
1 
6 #ifndef ACCESSORS_QUADRILATERAL_HPP
7 #define ACCESSORS_QUADRILATERAL_HPP
8 
9 #include "types.hpp"
10 
11 #include "../vertices/quadrilateral.hpp"
12 #include "../cells/quadrilateral.hpp"
13 
14 /********************
15  * VERTEX ACCESSORS *
16  ********************/
17 
27  AccessorContainer_t container;
28 
33  QuadrilateralCartesian2D_Vertex_Accessor_t *accessor;
34 public:
37 
47 
56  void set_value(QuadrilateralCartesian2D_Vertex &vertex, double new_value);
57 
58  QuadrilateralCartesian2D_Vertex_Accessor_t get_accessor();
59 };
60 
70  AccessorContainer_t container;
71 
76  QuadrilateralCartesian3D_Vertex_Accessor_t *accessor;
77 public:
80 
90 
99  void set_value(QuadrilateralCartesian3D_Vertex &vertex, double new_value);
100 
101  QuadrilateralCartesian3D_Vertex_Accessor_t get_accessor();
102 };
103 
113  AccessorContainer_t container;
114 
119  QuadrilateralCylindrical3D_Vertex_Accessor_t *accessor;
120 public:
123 
133 
142  void set_value(QuadrilateralCylindrical3D_Vertex &vertex, double new_value);
143 
144  QuadrilateralCylindrical3D_Vertex_Accessor_t get_accessor();
145 };
146 
156  AccessorContainer_t container;
157 
162  QuadrilateralPolar2D_Vertex_Accessor_t *accessor;
163 public:
166 
175  double get_value(QuadrilateralPolar2D_Vertex &vertex);
176 
185  void set_value(QuadrilateralPolar2D_Vertex &vertex, double new_value);
186 
187  QuadrilateralPolar2D_Vertex_Accessor_t get_accessor();
188 };
189 
199  AccessorContainer_t container;
200 
205  QuadrilateralSpherical3D_Vertex_Accessor_t *accessor;
206 public:
209 
219 
228  void set_value(QuadrilateralSpherical3D_Vertex &vertex, double new_value);
229 
230  QuadrilateralSpherical3D_Vertex_Accessor_t get_accessor();
231 };
232 
233 /******************
234  * CELL ACCESSORS *
235  ******************/
236 
246  AccessorContainer_t container;
247 
252  QuadrilateralCartesian2D_Cell_Accessor_t *accessor;
253 public:
256 
266 
275  void set_value(QuadrilateralCartesian2D_Cell &cell, double new_value);
276 
277  QuadrilateralCartesian2D_Cell_Accessor_t get_accessor();
278 };
279 
289  AccessorContainer_t container;
290 
295  QuadrilateralCartesian3D_Cell_Accessor_t *accessor;
296 public:
299 
309 
318  void set_value(QuadrilateralCartesian3D_Cell &cell, double new_value);
319 
320  QuadrilateralCartesian3D_Cell_Accessor_t get_accessor();
321 };
322 
332  AccessorContainer_t container;
333 
338  QuadrilateralCylindrical3D_Cell_Accessor_t *accessor;
339 public:
342 
352 
361  void set_value(QuadrilateralCylindrical3D_Cell &cell, double new_value);
362 
363  QuadrilateralCylindrical3D_Cell_Accessor_t get_accessor();
364 };
365 
375  AccessorContainer_t container;
376 
381  QuadrilateralPolar2D_Cell_Accessor_t *accessor;
382 public:
385 
394  double get_value(QuadrilateralPolar2D_Cell &cell);
395 
404  void set_value(QuadrilateralPolar2D_Cell &cell, double new_value);
405 
406  QuadrilateralPolar2D_Cell_Accessor_t get_accessor();
407 };
408 
418  AccessorContainer_t container;
419 
424  QuadrilateralSpherical3D_Cell_Accessor_t *accessor;
425 public:
428 
438 
447  void set_value(QuadrilateralSpherical3D_Cell &cell, double new_value);
448 
449  QuadrilateralSpherical3D_Cell_Accessor_t get_accessor();
450 };
451 
452 #endif /* end of include guard: ACCESSORS_QUADRILATERAL_HPP */