The ReferenceQuadInfo class defines the information about the reference quadrangle.
More...
|
double | evalArea (const std::array< double, 3 > *vertexCoords) const override |
|
std::array< double, 3 > | evalNormal (const std::array< double, 3 > *vertexCoords, const std::array< double, 3 > &point={{0.5, 0.5, 0.5}}) const override |
|
virtual bool | areFacesCCWOrdered () const |
|
virtual bool | areVerticesCCWOrdered () const |
|
double | evalFaceLength (int face, const std::array< double, 3 > *vertexCoords) const |
|
double | evalPerimeter (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 |
|
virtual int | getCCWOrderedFace (int n) const |
|
virtual int | getCCWOrderedVertex (int n) const |
|
|
| ReferenceQuadInfo () |
|
| ReferenceQuadInfo (ReferenceQuadInfo const &)=delete |
|
ReferenceQuadInfo & | operator= (ReferenceQuadInfo const &)=delete |
|
| Reference2DElementInfo (ElementType type, int nVertices) |
|
void | getCCWVertexCoords (const std::array< double, 3 > *vertexCoords, const std::array< double, 3 > **ccwVertexCoords, std::array< double, 3 > *ccwVertexCoordsStorage) const |
|
| 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 |
|
The ReferenceQuadInfo class defines the information about the reference quadrangle.
Definition at line 270 of file element_reference.hpp.
◆ ReferenceQuadInfo()
bitpit::ReferenceQuadInfo::ReferenceQuadInfo |
( |
| ) |
|
|
protected |
◆ evalArea()
double bitpit::ReferenceQuadInfo::evalArea |
( |
const std::array< double, 3 > * | vertexCoords | ) |
const |
|
overridevirtual |
Evaluates the area of an element with the specified vertex coordinates.
NOTE: the formula used to evaluate the area assumes that the quadrilateral lies on a plane.
- Parameters
-
vertexCoords | are the coordinate of the vertices |
- Returns
- The area of the element.
Implements bitpit::Reference2DElementInfo.
Definition at line 1608 of file element_reference.cpp.
◆ evalNormal()
std::array< double, 3 > bitpit::ReferenceQuadInfo::evalNormal |
( |
const std::array< double, 3 > * | vertexCoords, |
|
|
const std::array< double, 3 > & | point = {{0.5, 0.5, 0.5}} ) const |
|
overridevirtual |
Evaluates the normal of an element with the specified vertex coordinates.
The formula used to evaluate the normal 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 |
point | are the element reference coordinates of the point where the normal should be evaluated |
- Returns
- The normal of the element.
Implements bitpit::Reference2DElementInfo.
Definition at line 1636 of file element_reference.cpp.
◆ ReferenceElementInfo
◆ ReferenceHexahedronInfo
◆ ReferencePyramidInfo
◆ ReferenceWedgeInfo
◆ info
The documentation for this class was generated from the following files:
---
layout: doxygen_footer
---