![]() |
OGS
|
|
Definition at line 11 of file FaceRule.h.
#include <FaceRule.h>
Static Public Member Functions | |
| static const Element * | getFace (const Element *e, unsigned i) |
| Returns the face i of the element. | |
| static bool | testElementNodeOrder (Element const &e) |
| static Eigen::Vector3d | getFirstSurfaceVector (Element const &e) |
| static Eigen::Vector3d | getSecondSurfaceVector (Element const &e) |
| static Eigen::Vector3d | getSurfaceNormal (Element const &e) |
| Returns the surface normal of a 2D element. | |
Static Public Attributes | |
| static const unsigned | dimension = 2u |
| Constant: Dimension of this mesh element. | |
| static const unsigned | n_faces = 0 |
| Constant: The number of faces. | |
Static Protected Member Functions | |
| template<typename ElementRule> | |
| static unsigned | identifyFace (Node const *const *element_nodes, Node const *nodes[ElementRule::dimension]) |
| Returns the ID of an edge given an array of nodes. | |
Returns the face i of the element.
Definition at line 18 of file FaceRule.h.
References MeshLib::Element::getEdge().
|
static |
Definition at line 19 of file FaceRule.cpp.
References MathLib::Point3d::asEigenVector3d(), and MeshLib::Element::getNode().
Referenced by getSurfaceNormal().
|
static |
Definition at line 26 of file FaceRule.cpp.
References MathLib::Point3d::asEigenVector3d(), and MeshLib::Element::getNode().
Referenced by getSurfaceNormal().
|
static |
Returns the surface normal of a 2D element.
Definition at line 33 of file FaceRule.cpp.
References getFirstSurfaceVector(), and getSecondSurfaceVector().
Referenced by MeshLib::calculateNormalizedSurfaceNormal(), ProcessLib::NormalTractionBoundaryCondition::computeElementNormal(), MeshToolsLib::MeshSurfaceExtraction::get2DSurfaceElements(), MeshToolsLib::ProjectPointOnMesh::getElevation(), ProcessLib::HCNonAdvectiveFreeComponentFlowBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::getOrientedSurfaceNormal(), ProcessLib::SurfaceFluxLocalAssembler< ShapeFunction, GlobalDim >::getSurfaceNormal(), MeshGeoToolsLib::mapPointOnSurfaceElement(), MeshLib::CellRule::testElementNodeOrder(), and testElementNodeOrder().
|
inlinestaticprotected |
Returns the ID of an edge given an array of nodes.
Definition at line 41 of file FaceRule.h.
Referenced by MeshLib::QuadRule4::identifyFace(), MeshLib::QuadRule8::identifyFace(), MeshLib::QuadRule9::identifyFace(), MeshLib::TriRule3::identifyFace(), and MeshLib::TriRule6::identifyFace().
|
static |
Checks if the node order of an element is correct by testing surface normals. For 2D elements true is returned if the normal points (roughly) upwards.
Definition at line 14 of file FaceRule.cpp.
References getSurfaceNormal().
|
static |
Constant: Dimension of this mesh element.
Definition at line 15 of file FaceRule.h.
|
static |
Constant: The number of faces.
Definition at line 21 of file FaceRule.h.