Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
bitpit::ReferencePyramidInfo Class Reference

The ReferencePyramidInfo class defines the information about the reference pyramid. More...

Inheritance diagram for bitpit::ReferencePyramidInfo:
Inheritance graph
[legend]
Collaboration diagram for bitpit::ReferencePyramidInfo:
Collaboration graph
[legend]

Public Member Functions

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 evalSize (const std::array< double, 3 > *vertexCoords) const override
 
double evalSurfaceArea (const std::array< double, 3 > *vertexCoords) const
 

Static Public Attributes

static BITPIT_PUBLIC_API const ReferencePyramidInfo 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

 ReferencePyramidInfo ()
 
 ReferencePyramidInfo (ReferencePyramidInfo const &)=delete
 
ReferencePyramidInfooperator= (ReferencePyramidInfo 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)
 
ReferenceElementInfooperator= (ReferenceElementInfo const &)=delete
 

Friends

class ReferenceElementInfo
 

Additional Inherited Members

- Static Public Member Functions inherited from bitpit::ReferenceElementInfo
static BITPIT_PUBLIC_API const ReferenceElementInfogetInfo (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
 

Detailed Description

The ReferencePyramidInfo class defines the information about the reference pyramid.

Definition at line 153 of file element_reference.hpp.

Constructor & Destructor Documentation

◆ ReferencePyramidInfo()

bitpit::ReferencePyramidInfo::ReferencePyramidInfo ( )
protected

Default constructor

Definition at line 800 of file element_reference.cpp.

Member Function Documentation

◆ evalVolume()

double bitpit::ReferencePyramidInfo::evalVolume ( const std::array< double, 3 > * vertexCoords) const
overridevirtual

Evaluates the volume of an element with the specified vertex coordinates.

The formula used to evaluate the volume is taken from "Calculation of the volume of a general hexahedron for flow predictions", D. E. Davies; D. J. Dalmond, AIAA Journal, June, Vol. 23, No. 6 : pp. 954-956.

Parameters
vertexCoordsare the coordinate of the vertices
Returns
The volume of the element.

Implements bitpit::Reference3DElementInfo.

Definition at line 889 of file element_reference.cpp.

Friends And Related Symbol Documentation

◆ ReferenceElementInfo

friend class ReferenceElementInfo
friend

Definition at line 155 of file element_reference.hpp.

Member Data Documentation

◆ info

const ReferencePyramidInfo bitpit::ReferencePyramidInfo::info
static

Definition at line 160 of file element_reference.hpp.


The documentation for this class was generated from the following files:
--- layout: doxygen_footer ---