![]() |
OGS
|
Definition at line 18 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. More... | |
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. More... | |
Static Public Attributes | |
static const unsigned | dimension = 2u |
Constant: Dimension of this mesh element. More... | |
static const unsigned | n_faces = 0 |
Constant: The number of faces. More... | |
Returns the face i of the element.
Definition at line 25 of file FaceRule.h.
References MeshLib::Element::getEdge().
|
static |
Definition at line 24 of file FaceRule.cpp.
References MathLib::TemplatePoint< T, DIM >::getCoords(), and MeshLib::Element::getNode().
Referenced by getSurfaceNormal().
|
static |
Definition at line 32 of file FaceRule.cpp.
References MathLib::TemplatePoint< T, DIM >::getCoords(), and MeshLib::Element::getNode().
Referenced by getSurfaceNormal().
|
static |
Returns the surface normal of a 2D element.
Definition at line 40 of file FaceRule.cpp.
References getFirstSurfaceVector(), and getSecondSurfaceVector().
Referenced by ProcessLib::NormalTractionBoundaryCondition::NormalTractionBoundaryConditionLocalAssembler< ShapeFunctionDisplacement, IntegrationMethod, GlobalDim >::NormalTractionBoundaryConditionLocalAssembler(), MeshLib::calculateNormalizedSurfaceNormal(), MeshLib::MeshSurfaceExtraction::get2DSurfaceElements(), MeshLib::ProjectPointOnMesh::getElevation(), ProcessLib::HCNonAdvectiveFreeComponentFlowBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::getOrientedSurfaceNormal(), ProcessLib::SurfaceFluxLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::integrate(), MeshGeoToolsLib::mapPointOnSurfaceElement(), MeshLib::CellRule::testElementNodeOrder(), and testElementNodeOrder().
|
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 19 of file FaceRule.cpp.
References getSurfaceNormal().
|
static |
Constant: Dimension of this mesh element.
Definition at line 22 of file FaceRule.h.
|
static |
Constant: The number of faces.
Definition at line 28 of file FaceRule.h.