concepts::Import3dMesh::NodeCell Class Referenceabstract
Stores the nodes and edges of a cell to be created. More...
#include <meshImport3D.hh>
Public Member Functions | |
virtual Cell3 * | cell (const std::vector< Real3d > &vertices) const =0 |
Creates and returns the cell. More... | |
virtual Index | faceIndex (const uint i)=0 |
Returns the indices of the nodes which define the face i . More... | |
NodeCell (const uint size) | |
Constructor. More... | |
virtual uint | nofaces () const =0 |
Returns the number of faces. More... | |
uint | operator[] (const uint i) const |
Returns the node with index i . More... | |
virtual Quad ** | quad (const uint i)=0 |
Returns the face with index i . More... | |
uint | size () const |
Returns the number of nodes. More... | |
virtual Triangle ** | triangle (const uint i)=0 |
Returns the face with index i . More... | |
virtual | ~NodeCell () |
Protected Attributes | |
Array< uint > | nodes_ |
Node numbers of the cell. More... | |
Detailed Description
Stores the nodes and edges of a cell to be created.
Definition at line 221 of file meshImport3D.hh.
Constructor & Destructor Documentation
◆ NodeCell()
|
inline |
Constructor.
Allocates nodes_
and edges_
.
- Parameters
-
size Number of nodes / edges. Ie. 4 for a tetrahedron or 8 for a hexahedron.
Definition at line 230 of file meshImport3D.hh.
◆ ~NodeCell()
|
virtual |
Member Function Documentation
◆ cell()
|
pure virtual |
Creates and returns the cell.
Implemented in concepts::Import3dMesh::NodeHexahedron, and concepts::Import3dMesh::NodeTetrahedron.
◆ faceIndex()
|
pure virtual |
Returns the indices of the nodes which define the face i
.
Implemented in concepts::Import3dMesh::NodeHexahedron, and concepts::Import3dMesh::NodeTetrahedron.
◆ nofaces()
|
pure virtual |
Returns the number of faces.
Implemented in concepts::Import3dMesh::NodeHexahedron, and concepts::Import3dMesh::NodeTetrahedron.
◆ operator[]()
|
inline |
Returns the node with index i
.
Definition at line 233 of file meshImport3D.hh.
◆ quad()
|
pure virtual |
Returns the face with index i
.
Implemented in concepts::Import3dMesh::NodeHexahedron, and concepts::Import3dMesh::NodeTetrahedron.
◆ size()
|
inline |
Returns the number of nodes.
Definition at line 235 of file meshImport3D.hh.
◆ triangle()
|
pure virtual |
Returns the face with index i
.
Implemented in concepts::Import3dMesh::NodeHexahedron, and concepts::Import3dMesh::NodeTetrahedron.
Member Data Documentation
◆ nodes_
|
protected |
Node numbers of the cell.
Definition at line 224 of file meshImport3D.hh.
The documentation for this class was generated from the following file:
- geometry/meshImport3D.hh