OGS
|
A 8-nodes Hexahedron Element.
Definition at line 46 of file HexRule8.h.
#include <HexRule8.h>
Public Types | |
using | EdgeReturn = MeshLib::LinearEdgeReturn |
Returns the i-th edge of the element. More... | |
Static Public Member Functions | |
static const Element * | getFace (const Element *e, unsigned i) |
Returns the i-th face of the element. More... | |
static bool | isPntInElement (Node const *const *nodes, MathLib::Point3d const &pnt, double eps) |
static ElementErrorCode | validate (const Element *e) |
static unsigned | identifyFace (Node const *const *, Node const *nodes[3]) |
Returns the ID of a face given an array of nodes. More... | |
static double | computeVolume (Node const *const *_nodes) |
Calculates the volume of a convex hexahedron by partitioning it into six tetrahedra. More... | |
Static Public Member Functions inherited from MeshLib::CellRule | |
static bool | testElementNodeOrder (Element const &e) |
Static Public Attributes | |
static const unsigned | n_base_nodes = 8u |
Constant: The number of base nodes for this element. More... | |
static const unsigned | n_all_nodes = 8u |
Constant: The number of all nodes for this element. More... | |
static const MeshElemType | mesh_elem_type = MeshElemType::HEXAHEDRON |
Constant: The geometric type of the element. More... | |
static const CellType | cell_type = CellType::HEX8 |
Constant: The FEM type of the element. More... | |
static const unsigned | n_faces = 6 |
Constant: The number of faces. More... | |
static const unsigned | n_edges = 12 |
Constant: The number of edges. More... | |
static const unsigned | n_neighbors = 6 |
Constant: The number of neighbors. More... | |
static const unsigned | face_nodes [6][4] |
Constant: Local node index table for faces. More... | |
static const unsigned | edge_nodes [12][2] |
Constant: Local node index table for edge. More... | |
Static Public Attributes inherited from MeshLib::CellRule | |
static const unsigned | dimension = 3u |
Constant: Dimension of this mesh element. More... | |
Returns the i-th edge of the element.
Definition at line 77 of file HexRule8.h.
|
static |
Calculates the volume of a convex hexahedron by partitioning it into six tetrahedra.
Definition at line 62 of file HexRule8.cpp.
References MathLib::calcTetrahedronVolume().
Returns the i-th face of the element.
Definition at line 47 of file HexRule8.cpp.
References ERR(), face_nodes, MeshLib::Element::getID(), MeshLib::Element::getNode(), and n_faces.
|
static |
Returns the ID of a face given an array of nodes.
Definition at line 96 of file HexRule8.cpp.
References face_nodes.
|
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 78 of file HexRule8.cpp.
References MathLib::isPointInTetrahedron().
|
static |
Tests if the element is geometrically valid.
Definition at line 119 of file HexRule8.cpp.
References MeshLib::Element::getFace(), MeshLib::hasZeroVolume(), NodeOrder, MeshLib::Element::testElementNodeOrder(), MeshLib::Element::validate(), and ZeroVolume.
|
static |
Constant: The FEM type of the element.
Definition at line 59 of file HexRule8.h.
|
static |
Constant: Local node index table for edge.
Definition at line 74 of file HexRule8.h.
|
static |
Constant: Local node index table for faces.
Definition at line 71 of file HexRule8.h.
Referenced by getFace(), and identifyFace().
|
static |
Constant: The geometric type of the element.
Definition at line 56 of file HexRule8.h.
|
static |
Constant: The number of all nodes for this element.
Definition at line 53 of file HexRule8.h.
|
static |
Constant: The number of base nodes for this element.
Definition at line 50 of file HexRule8.h.
|
static |
Constant: The number of edges.
Definition at line 65 of file HexRule8.h.
|
static |
Constant: The number of faces.
Definition at line 62 of file HexRule8.h.
Referenced by MeshLib::HexRule20::getFace(), and getFace().
|
static |
Constant: The number of neighbors.
Definition at line 68 of file HexRule8.h.