ViennaGrid for Python
 All Classes Files Functions Variables
tetrahedral.hpp
Go to the documentation of this file.
1 
6 #ifndef ACCESSORS_TETRAHEDRAL_HPP
7 #define ACCESSORS_TETRAHEDRAL_HPP
8 
9 #include "types.hpp"
10 
11 #include "../vertices/tetrahedral.hpp"
12 #include "../cells/tetrahedral.hpp"
13 
14 /********************
15  * VERTEX ACCESSORS *
16  ********************/
17 
27  AccessorContainer_t container;
28 
33  TetrahedralCartesian3D_Vertex_Accessor_t *accessor;
34 public:
37 
47 
56  void set_value(TetrahedralCartesian3D_Vertex &vertex, double new_value);
57 
58  TetrahedralCartesian3D_Vertex_Accessor_t get_accessor();
59 };
60 
70  AccessorContainer_t container;
71 
76  TetrahedralCylindrical3D_Vertex_Accessor_t *accessor;
77 public:
80 
90 
99  void set_value(TetrahedralCylindrical3D_Vertex &vertex, double new_value);
100 
101  TetrahedralCylindrical3D_Vertex_Accessor_t get_accessor();
102 };
103 
113  AccessorContainer_t container;
114 
119  TetrahedralSpherical3D_Vertex_Accessor_t *accessor;
120 public:
123 
133 
142  void set_value(TetrahedralSpherical3D_Vertex &vertex, double new_value);
143 
144  TetrahedralSpherical3D_Vertex_Accessor_t get_accessor();
145 };
146 
147 /******************
148  * CELL ACCESSORS *
149  ******************/
150 
160  AccessorContainer_t container;
161 
166  TetrahedralCartesian3D_Cell_Accessor_t *accessor;
167 public:
170 
180 
189  void set_value(TetrahedralCartesian3D_Cell &cell, double new_value);
190 
191  TetrahedralCartesian3D_Cell_Accessor_t get_accessor();
192 };
193 
203  AccessorContainer_t container;
204 
209  TetrahedralCylindrical3D_Cell_Accessor_t *accessor;
210 public:
213 
223 
232  void set_value(TetrahedralCylindrical3D_Cell &cell, double new_value);
233 
234  TetrahedralCylindrical3D_Cell_Accessor_t get_accessor();
235 };
236 
246  AccessorContainer_t container;
247 
252  TetrahedralSpherical3D_Cell_Accessor_t *accessor;
253 public:
256 
266 
275  void set_value(TetrahedralSpherical3D_Cell &cell, double new_value);
276 
277  TetrahedralSpherical3D_Cell_Accessor_t get_accessor();
278 };
279 
280 #endif /* end of include guard: ACCESSORS_TETRAHEDRAL_HPP */