OGS
|
Definition at line 18 of file CellRule.h.
#include <CellRule.h>
Static Public Member Functions | |
static bool | testElementNodeOrder (Element const &e) |
Static Public Attributes | |
static const unsigned | dimension = 3u |
Constant: Dimension of this mesh element. More... | |
|
static |
Checks if the node order of an element is correct by testing surface normals. For 3D elements true is returned if the normals of all faces points away from the centre of the element. Note: This method might give wrong results if something else is wrong with the element (non-planar faces, non-convex geometry, possibly zero volume) which causes the calculated center of gravity to lie outside of the actual element
Definition at line 19 of file CellRule.cpp.
References MeshLib::getCenterOfGravity(), MathLib::TemplatePoint< T, DIM >::getCoords(), MeshLib::Element::getFace(), MeshLib::Element::getNode(), MeshLib::Element::getNumberOfFaces(), and MeshLib::FaceRule::getSurfaceNormal().
|
static |
Constant: Dimension of this mesh element.
Definition at line 22 of file CellRule.h.