OGS
|
This class represents a 2d triangle element with 6 nodes.
The following sketch shows the node and edge numbering.
Definition at line 39 of file TriRule6.h.
#include <TriRule6.h>
Public Types | |
using | EdgeReturn = MeshLib::QuadraticEdgeReturn |
Returns the i-th edge of the element. | |
Static Public Member Functions | |
static unsigned | identifyFace (Node const *const *element_nodes, Node const *nodes[2]) |
Returns the ID of a face given an array of nodes. | |
Static Public Member Functions inherited from MeshLib::TriRule | |
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) |
Calculates the area of the triangle with straight edges. | |
Static Public Member Functions inherited from MeshLib::FaceRule | |
static const Element * | getFace (const Element *e, unsigned i) |
Returns the face i of the element. | |
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. | |
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::TRI6 |
Constant: The FEM type of the element. | |
static const unsigned | edge_nodes [3][3] |
Constant: Local node index table for edge. | |
Static Public Attributes inherited from MeshLib::TriRule | |
static const unsigned | n_base_nodes = 3u |
Constant: The number of base nodes for this element. | |
static const MeshElemType | mesh_elem_type = MeshElemType::TRIANGLE |
Constant: The geometric type of the element. | |
static const unsigned | n_edges = 3 |
Constant: The number of edges. | |
static const unsigned | n_neighbors = 3 |
Constant: The number of neighbors. | |
Static Public Attributes inherited from MeshLib::FaceRule | |
static const unsigned | dimension = 2u |
Constant: Dimension of this mesh element. | |
static const unsigned | n_faces = 0 |
Constant: The number of faces. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from MeshLib::FaceRule | |
template<typename ElementRule > | |
static unsigned | identifyFace (Node const *const *element_nodes, Node const *nodes[ElementRule::dimension]) |
Returns the ID of an edge given an array of nodes. | |
Returns the i-th edge of the element.
Definition at line 52 of file TriRule6.h.
|
inlinestatic |
Returns the ID of a face given an array of nodes.
Definition at line 55 of file TriRule6.h.
References MeshLib::FaceRule::identifyFace().
|
static |
Constant: The FEM type of the element.
Definition at line 46 of file TriRule6.h.
|
static |
Constant: Local node index table for edge.
Definition at line 49 of file TriRule6.h.
|
static |
Constant: The number of all nodes for this element.
Definition at line 43 of file TriRule6.h.