The ReferenceVoxelInfo class defines the information about the reference voxel. More...
Public Member Functions | |
double | evalSize (const std::array< double, 3 > *vertexCoords) const override |
double | evalVolume (const std::array< double, 3 > *vertexCoords) const override |
Public Member Functions inherited from bitpit::Reference3DElementInfo | |
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 ReferenceVoxelInfo | info |
Static Public Attributes inherited from bitpit::ReferenceElementInfo | |
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 | |
ReferenceVoxelInfo () | |
ReferenceVoxelInfo (ReferenceVoxelInfo const &)=delete | |
ReferenceVoxelInfo & | operator= (ReferenceVoxelInfo const &)=delete |
Protected Member Functions inherited from bitpit::Reference3DElementInfo | |
Reference3DElementInfo (ElementType type, int nVertices, int nFaces) | |
Protected Member Functions inherited from bitpit::ReferenceElementInfo | |
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 Public Member Functions inherited from bitpit::ReferenceElementInfo | |
static BITPIT_PUBLIC_API const ReferenceElementInfo & | getInfo (ElementType type) |
static bool | hasInfo (ElementType type) |
Public Attributes inherited from bitpit::ReferenceElementInfo | |
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 |
The ReferenceVoxelInfo class defines the information about the reference voxel.
Definition at line 117 of file element_reference.hpp.
|
protected |
Default constructor
Definition at line 508 of file element_reference.cpp.
|
overridevirtual |
Evaluates the characteristics size of an element with the specified vertex coordinates.
The characteristics size of the voxel is evaluated as length of the the shortest side.
vertexCoords | are the coordinate of the vertices |
Reimplemented from bitpit::Reference3DElementInfo.
Definition at line 628 of file element_reference.cpp.
|
overridevirtual |
Evaluates the volume of an element with the specified vertex coordinates.
vertexCoords | are the coordinate of the vertices |
Implements bitpit::Reference3DElementInfo.
Definition at line 607 of file element_reference.cpp.
|
friend |
Definition at line 119 of file element_reference.hpp.
|
static |
Definition at line 126 of file element_reference.hpp.