OGS
|
Definition at line 19 of file PrismRule.h.
#include <PrismRule.h>
Static Public Member Functions | |
static bool | isPntInElement (Node const *const *nodes, MathLib::Point3d const &pnt, double eps) |
static ElementErrorCode | validate (const Element *e) |
static double | computeVolume (Node const *const *element_nodes) |
Static Public Member Functions inherited from MeshLib::CellRule | |
static bool | testElementNodeOrder (Element const &e) |
Static Public Attributes | |
static const unsigned | n_base_nodes = 6u |
Constant: The number of base nodes for this element. | |
static const MeshElemType | mesh_elem_type = MeshElemType::PRISM |
Constant: The geometric type of the element. | |
static const unsigned | n_faces = 5 |
Constant: The number of faces. | |
static const unsigned | n_edges = 9 |
Constant: The number of edges. | |
static const unsigned | n_neighbors = 5 |
Constant: The number of neighbors. | |
Static Public Attributes inherited from MeshLib::CellRule | |
static const unsigned | dimension = 3u |
Constant: Dimension of this mesh element. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from MeshLib::CellRule | |
template<typename ElementRule > | |
static unsigned | identifyFace (Node const *const *element_nodes, Node const *nodes[ElementRule::dimension]) |
Returns the ID of a face given an array of nodes. | |
|
static |
Calculates the volume of a prism with flat faces by partitioning it into three tetrahedra.
Definition at line 18 of file PrismRule.cpp.
References MathLib::calcTetrahedronVolume().
|
static |
Checks if a point is inside the element.
pnt | a 3D MathLib::Point3d object |
eps | tolerance for numerical algorithm used or computing the property |
nodes | the nodes of the element. |
Definition at line 34 of file PrismRule.cpp.
References MathLib::isPointInTetrahedron().
|
static |
Tests if the element is geometrically valid.
Definition at line 46 of file PrismRule.cpp.
References MeshLib::Element::getFace(), MeshLib::hasZeroVolume(), NodeOrder, ElementErrorCode::set(), MeshLib::Element::testElementNodeOrder(), and ZeroVolume.
|
static |
Constant: The geometric type of the element.
Definition at line 26 of file PrismRule.h.
|
static |
Constant: The number of base nodes for this element.
Definition at line 23 of file PrismRule.h.
|
static |
Constant: The number of edges.
Definition at line 32 of file PrismRule.h.
|
static |
Constant: The number of faces.
Definition at line 29 of file PrismRule.h.
Referenced by MeshLib::PrismRule15::getFace(), and MeshLib::PrismRule6::getFace().
|
static |
Constant: The number of neighbors.
Definition at line 35 of file PrismRule.h.