The ReferenceTetraInfo class defines the information about the reference tetrahedron. More...


Public Member Functions | |
double | evalSize (const std::array< double, 3 > *vertexCoords) const override |
double | evalVolume (const std::array< double, 3 > *vertexCoords) const override |
![]() | |
double | evalEdgeLength (int edge, const std::array< double, 3 > *vertexCoords) const |
double | evalEdgePerimeter (const std::array< double, 3 > *vertexCoords) const |
double | evalFaceArea (int face, const std::array< double, 3 > *vertexCoords) const |
double | evalPointDistance (const std::array< double, 3 > &point, const std::array< double, 3 > *vertexCoords) const override |
void | evalPointProjection (const std::array< double, 3 > &point, const std::array< double, 3 > *vertexCoords, std::array< double, 3 > *projection, double *distance) const override |
double | evalSurfaceArea (const std::array< double, 3 > *vertexCoords) const |
Static Public Attributes | |
static BITPIT_PUBLIC_API const ReferenceTetraInfo | info |
![]() | |
static BITPIT_PUBLIC_API const int | MAX_ELEM_EDGES = 12 |
static BITPIT_PUBLIC_API const int | MAX_ELEM_FACES = 6 |
static BITPIT_PUBLIC_API const int | MAX_ELEM_VERTICES = 8 |
Protected Member Functions | |
ReferenceTetraInfo () | |
ReferenceTetraInfo (ReferenceTetraInfo const &)=delete | |
ReferenceTetraInfo & | operator= (ReferenceTetraInfo const &)=delete |
![]() | |
Reference3DElementInfo (ElementType type, int nVertices, int nFaces) | |
![]() | |
ReferenceElementInfo (int _dimension, ElementType _type, int _nVertices, int _nFaces, int _nEdges) | |
ReferenceElementInfo (ReferenceElementInfo const &)=delete | |
void | initializeFaceEdges (const std::vector< const ReferenceElementInfo * > &facesInfo, const std::vector< const ReferenceElementInfo * > &edgesInfo) |
ReferenceElementInfo & | operator= (ReferenceElementInfo const &)=delete |
Friends | |
class | ReferenceElementInfo |
Additional Inherited Members | |
![]() | |
static BITPIT_PUBLIC_API const ReferenceElementInfo & | getInfo (ElementType type) |
static bool | hasInfo (ElementType type) |
![]() | |
int | dimension |
std::array< std::array< int, MAX_ELEM_VERTICES >, MAX_ELEM_EDGES > | edgeConnectStorage |
std::array< ElementType, MAX_ELEM_EDGES > | edgeTypeStorage |
std::array< std::array< int, MAX_ELEM_VERTICES >, MAX_ELEM_FACES > | faceConnectStorage |
std::array< std::array< int, MAX_ELEM_FACES >, MAX_ELEM_FACES > | faceEdgeStorage |
std::array< ElementType, MAX_ELEM_FACES > | faceTypeStorage |
int | nEdges |
int | nFaces |
int | nVertices |
ElementType | type |
Detailed Description
The ReferenceTetraInfo class defines the information about the reference tetrahedron.
Definition at line 98 of file element_reference.hpp.
Constructor & Destructor Documentation
◆ ReferenceTetraInfo()
|
protected |
Default constructor
Definition at line 394 of file element_reference.cpp.
Member Function Documentation
◆ evalSize()
|
overridevirtual |
Evaluates the characteristics size of an element with the specified vertex coordinates.
The characteristics size of the tetrahedron is the height of the regular tetrahedron having the same inscribed sphere.
- Parameters
-
vertexCoords are the coordinate of the vertices
- Returns
- The length of the line.
Reimplemented from bitpit::Reference3DElementInfo.
Definition at line 483 of file element_reference.cpp.
◆ evalVolume()
|
overridevirtual |
Evaluates the volume of an element with the specified vertex coordinates.
- Parameters
-
vertexCoords are the coordinate of the vertices
- Returns
- The volume of the element.
Implements bitpit::Reference3DElementInfo.
Definition at line 461 of file element_reference.cpp.
Friends And Related Symbol Documentation
◆ ReferenceElementInfo
|
friend |
Definition at line 100 of file element_reference.hpp.
Member Data Documentation
◆ info
|
static |
Definition at line 107 of file element_reference.hpp.
The documentation for this class was generated from the following files:
- src/patchkernel/element_reference.hpp
- src/patchkernel/element_reference.cpp
