ViennaGrid for Python
 All Classes Files Functions Variables
tetrahedral.hpp
Go to the documentation of this file.
1 
6 #ifndef DOMAINS_TETRAHEDRAL_HPP
7 #define DOMAINS_TETRAHEDRAL_HPP
8 
9 #include "types.hpp"
10 #include "../points/cartesian.hpp"
11 #include "../points/cylindrical.hpp"
12 #include "../points/polar.hpp"
13 #include "../points/spherical.hpp"
14 
15 #include "../vertices/tetrahedral.hpp"
16 #include "../cells/tetrahedral.hpp"
17 
18 #include <boost/python.hpp>
19 using namespace boost::python;
20 
31  TetrahedralCartesian3D_Domain_t domain;
32 public:
34 
40  unsigned int num_vertices();
41 
47  void make_vertex(PointCartesian3D point);
48 
54  TetrahedralCartesian3D_Vertex get_vertex(unsigned int index);
55 
61  list get_vertices();
62 
70  unsigned int num_cells();
71 
85 
93  list get_cells();
94 
101  TetrahedralCartesian3D_Domain_t & get_domain();
102 };
103 
114  TetrahedralCylindrical3D_Domain_t domain;
115 public:
117 
123  unsigned int num_vertices();
124 
130  void make_vertex(PointCylindrical3D point);
131 
137  TetrahedralCylindrical3D_Vertex get_vertex(unsigned int index);
138 
144  list get_vertices();
145 
153  unsigned int num_cells();
154 
168 
176  list get_cells();
177 
184  TetrahedralCylindrical3D_Domain_t & get_domain();
185 };
186 
197  TetrahedralSpherical3D_Domain_t domain;
198 public:
200 
206  unsigned int num_vertices();
207 
213  void make_vertex(PointSpherical3D point);
214 
220  TetrahedralSpherical3D_Vertex get_vertex(unsigned int index);
221 
227  list get_vertices();
228 
236  unsigned int num_cells();
237 
251 
259  list get_cells();
260 
267  TetrahedralSpherical3D_Domain_t & get_domain();
268 };
269 
270 #endif /* end of include guard: DOMAINS_TETRAHEDRAL_HPP */