ViennaGrid for Python
 All Classes Files Functions Variables
tetrahedral.hpp
Go to the documentation of this file.
1 
6 #ifndef FIELDS_TETRAHEDRAL_HPP
7 #define FIELDS_TETRAHEDRAL_HPP
8 
9 #include "types.hpp"
10 
11 #include "../vertices/tetrahedral.hpp"
12 #include "../cells/tetrahedral.hpp"
13 
14 /*****************
15  * VERTEX FIELDS *
16  *****************/
17 
27  TetrahedralCartesian3D_VertexField_Container_t container;
28 
33  TetrahedralCartesian3D_Vertex_Field_t *field;
34 public:
35  TetrahedralCartesian3D_Vertex_Field(double default_value);
37 
47 
56  void set_value(TetrahedralCartesian3D_Vertex &vertex, double new_value);
57 
58  TetrahedralCartesian3D_Vertex_Field_t & get_field();
59 };
60 
70  TetrahedralCylindrical3D_VertexField_Container_t container;
71 
76  TetrahedralCylindrical3D_Vertex_Field_t *field;
77 public:
78  TetrahedralCylindrical3D_Vertex_Field(double default_value);
80 
90 
99  void set_value(TetrahedralCylindrical3D_Vertex &vertex, double new_value);
100 
101  TetrahedralCylindrical3D_Vertex_Field_t & get_field();
102 };
103 
113  TetrahedralSpherical3D_VertexField_Container_t container;
114 
119  TetrahedralSpherical3D_Vertex_Field_t *field;
120 public:
121  TetrahedralSpherical3D_Vertex_Field(double default_value);
123 
133 
142  void set_value(TetrahedralSpherical3D_Vertex &vertex, double new_value);
143 
144  TetrahedralSpherical3D_Vertex_Field_t & get_field();
145 };
146 
147 /***************
148  * CELL FIELDS *
149  ***************/
150 
160  TetrahedralCartesian3D_CellField_Container_t container;
161 
166  TetrahedralCartesian3D_Cell_Field_t *field;
167 public:
168  TetrahedralCartesian3D_Cell_Field(double default_value);
170 
180 
189  void set_value(TetrahedralCartesian3D_Cell &cell, double new_value);
190 
191  TetrahedralCartesian3D_Cell_Field_t & get_field();
192 };
193 
203  TetrahedralCylindrical3D_CellField_Container_t container;
204 
209  TetrahedralCylindrical3D_Cell_Field_t *field;
210 public:
211  TetrahedralCylindrical3D_Cell_Field(double default_value);
213 
223 
232  void set_value(TetrahedralCylindrical3D_Cell &cell, double new_value);
233 
234  TetrahedralCylindrical3D_Cell_Field_t & get_field();
235 };
236 
246  TetrahedralSpherical3D_CellField_Container_t container;
247 
252  TetrahedralSpherical3D_Cell_Field_t *field;
253 public:
254  TetrahedralSpherical3D_Cell_Field(double default_value);
256 
266 
275  void set_value(TetrahedralSpherical3D_Cell &cell, double new_value);
276 
277  TetrahedralSpherical3D_Cell_Field_t & get_field();
278 };
279 
280 #endif /* end of include guard: FIELDS_TETRAHEDRAL_HPP */