G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsCell.h
Go to the documentation of this file.
1
14#ifndef _CELL_H_
15#define _CELL_H_
16
19
20namespace gismo {
21
22
23
24template <class Vertex>
25class gsCell : public gsMeshElement<Vertex>
26{
27public:
28 typedef gsMeshElement<Vertex > MeshElement;
29 typedef typename gsMeshElement<Vertex>::scalar_t scalar_t;
30 typedef typename gsMeshElement<Vertex>::gsVertexHandle gsVertexHandle;
31 typedef typename gsMeshElement<Vertex>::gsHalfEdgeHandle gsHalfEdgeHandle;
32 typedef typename gsMeshElement<Vertex>::gsFaceHandle gsFaceHandle;
33 typedef typename gsMeshElement<Vertex>::gsCellHandle gsCellHandle;
34
35public:
36 gsCell() : MeshElement() { };
37
38 explicit gsCell(int i) : MeshElement(i) { };
39
40 ~gsCell() { };
41
42public:
43 gsFaceHandle boundary;
44 gsCellHandle next;
45};
46
47};// namespace gismo
48
49#endif
Provides gsMeshElement class - a vertex, edge, face or cell of a gsMesh.
Provides declaration of the Mesh class.
The G+Smo namespace, containing all definitions for the library.