The ReferenceTriangleInfo class defines the information about the reference triangle.
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 |
|
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 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 |
|
virtual int | getCCWOrderedFace (int n) const |
|
virtual int | getCCWOrderedVertex (int n) const |
|
|
| ReferenceTriangleInfo () |
|
| ReferenceTriangleInfo (ReferenceTriangleInfo const &)=delete |
|
ReferenceTriangleInfo & | operator= (ReferenceTriangleInfo 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 ReferenceTriangleInfo class defines the information about the reference triangle.
Definition at line 215 of file element_reference.hpp.
◆ ReferenceTriangleInfo()
bitpit::ReferenceTriangleInfo::ReferenceTriangleInfo |
( |
| ) |
|
|
protected |
◆ evalArea()
double bitpit::ReferenceTriangleInfo::evalArea |
( |
const std::array< double, 3 > * | vertexCoords | ) |
const |
|
overridevirtual |
◆ evalNormal()
std::array< double, 3 > bitpit::ReferenceTriangleInfo::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.
- 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 1347 of file element_reference.cpp.
◆ evalPointDistance()
double bitpit::ReferenceTriangleInfo::evalPointDistance |
( |
const std::array< double, 3 > & | point, |
|
|
const std::array< double, 3 > * | vertexCoords ) const |
|
overridevirtual |
Evaluates the distance between the element and the specified point.
- Parameters
-
[in] | point | is the point |
| vertexCoords | are the coordinate of the vertices |
- Returns
- The distance between the element and the specified point.
Reimplemented from bitpit::Reference2DElementInfo.
Definition at line 1384 of file element_reference.cpp.
◆ evalPointProjection()
void bitpit::ReferenceTriangleInfo::evalPointProjection |
( |
const std::array< double, 3 > & | point, |
|
|
const std::array< double, 3 > * | vertexCoords, |
|
|
std::array< double, 3 > * | projection, |
|
|
double * | distance ) const |
|
overridevirtual |
Evaluates the projection of the point on the element.
- Parameters
-
| point | is the point |
| vertexCoords | are the coordinate of the vertices |
[out] | projection | on output contains the projection point |
[out] | distance | on output contains the distance between the point and the projection |
Reimplemented from bitpit::Reference2DElementInfo.
Definition at line 1370 of file element_reference.cpp.
◆ evalSize()
double bitpit::ReferenceTriangleInfo::evalSize |
( |
const std::array< double, 3 > * | vertexCoords | ) |
const |
|
overridevirtual |
Evaluates the characteristics size of an element with the specified vertex coordinates.
The characteristics size of the triangle is the height of the regular triangle having the same inscribed circle.
- Parameters
-
vertexCoords | are the coordinate of the vertices |
- Returns
- The length of the line.
Reimplemented from bitpit::Reference2DElementInfo.
Definition at line 1310 of file element_reference.cpp.
◆ ReferenceElementInfo
◆ ReferencePyramidInfo
◆ ReferenceTetraInfo
◆ ReferenceWedgeInfo
◆ info
The documentation for this class was generated from the following files:
---
layout: doxygen_footer
---