The ReferencePyramidInfo class defines the information about the reference pyramid.
More...
|
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 | evalSize (const std::array< double, 3 > *vertexCoords) const override |
|
double | evalSurfaceArea (const std::array< double, 3 > *vertexCoords) const |
|
The ReferencePyramidInfo class defines the information about the reference pyramid.
Definition at line 153 of file element_reference.hpp.
◆ ReferencePyramidInfo()
bitpit::ReferencePyramidInfo::ReferencePyramidInfo |
( |
| ) |
|
|
protected |
◆ 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
-
vertexCoords | are the coordinate of the vertices |
- Returns
- The volume of the element.
Implements bitpit::Reference3DElementInfo.
Definition at line 889 of file element_reference.cpp.
◆ ReferenceElementInfo
◆ info
The documentation for this class was generated from the following files:
---
layout: doxygen_footer
---