OGS
|
This class represents a 3d prism element with 6 nodes. The following sketch shows the node and edge numbering.
Definition at line 44 of file PrismRule6.h.
#include <PrismRule6.h>
Public Types | |
using | EdgeReturn = MeshLib::LinearEdgeReturn |
Returns the i-th edge of the element. | |
Static Public Member Functions | |
static const Element * | getFace (const Element *e, unsigned i) |
Returns the i-th face of the element. | |
static unsigned | identifyFace (Node const *const *element_nodes, Node const *nodes[3]) |
Returns the ID of a face given an array of nodes. | |
Static Public Member Functions inherited from MeshLib::PrismRule | |
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_all_nodes = 6u |
Constant: The number of all nodes for this element. | |
static const CellType | cell_type = CellType::PRISM6 |
Constant: The FEM type of the element. | |
static const unsigned | face_nodes [5][4] |
Constant: Local node index table for faces. | |
static const unsigned | edge_nodes [9][2] |
Constant: Local node index table for edge. | |
static const unsigned | n_face_nodes [5] = {3, 4, 4, 4, 3} |
Constant: Table for the number of nodes for each face. | |
Static Public Attributes inherited from MeshLib::PrismRule | |
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. | |
Returns the i-th edge of the element.
Definition at line 63 of file PrismRule6.h.
Returns the i-th face of the element.
Definition at line 42 of file PrismRule6.cpp.
References ERR(), face_nodes, MeshLib::Element::getID(), MeshLib::Element::getNode(), n_face_nodes, and MeshLib::PrismRule::n_faces.
|
inlinestatic |
Returns the ID of a face given an array of nodes.
Definition at line 69 of file PrismRule6.h.
References MeshLib::CellRule::identifyFace().
|
static |
Constant: The FEM type of the element.
Definition at line 51 of file PrismRule6.h.
|
static |
Constant: Local node index table for edge.
Definition at line 57 of file PrismRule6.h.
|
static |
Constant: Local node index table for faces.
Definition at line 54 of file PrismRule6.h.
Referenced by getFace().
|
static |
Constant: The number of all nodes for this element.
Definition at line 48 of file PrismRule6.h.
|
static |
Constant: Table for the number of nodes for each face.
Definition at line 60 of file PrismRule6.h.
Referenced by getFace().