OGS
MeshLib::TriRule6 Class Reference

Detailed Description

This class represents a 2d triangle element with 6 nodes.

The following sketch shows the node and edge numbering.

2
o
/ \
/ \
5/ \4
/ \
/ \
0-----------1
3

Definition at line 39 of file TriRule6.h.

#include <TriRule6.h>

Inheritance diagram for MeshLib::TriRule6:
[legend]
Collaboration diagram for MeshLib::TriRule6:
[legend]

Public Types

using EdgeReturn = MeshLib::QuadraticEdgeReturn
 Returns the i-th edge of the element. More...
 
- Public Types inherited from MeshLib::TriRule3
using EdgeReturn = MeshLib::LinearEdgeReturn
 Returns the i-th edge of the element. More...
 

Static Public Attributes

static const unsigned n_all_nodes = 6u
 Constant: The number of all nodes for this element. More...
 
static const CellType cell_type = CellType::TRI6
 Constant: The FEM type of the element. More...
 
static const unsigned edge_nodes [3][3]
 Constant: Local node index table for edge. More...
 
- Static Public Attributes inherited from MeshLib::TriRule3
static const unsigned n_base_nodes = 3u
 Constant: The number of base nodes for this element. More...
 
static const unsigned n_all_nodes = 3u
 Constant: The number of all nodes for this element. More...
 
static const MeshElemType mesh_elem_type = MeshElemType::TRIANGLE
 Constant: The geometric type of the element. More...
 
static const CellType cell_type = CellType::TRI3
 Constant: The FEM type of the element. More...
 
static const unsigned n_edges = 3
 Constant: The number of edges. More...
 
static const unsigned n_neighbors = 3
 Constant: The number of neighbors. More...
 
static const unsigned edge_nodes [3][2]
 Constant: Local node index table for edge. More...
 
- Static Public Attributes inherited from MeshLib::FaceRule
static const unsigned dimension = 2u
 Constant: Dimension of this mesh element. More...
 
static const unsigned n_faces = 0
 Constant: The number of faces. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from MeshLib::TriRule3
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::FaceRule
static const ElementgetFace (const Element *e, unsigned i)
 Returns the face i of the element. More...
 
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. More...
 

Member Typedef Documentation

◆ EdgeReturn

Returns the i-th edge of the element.

Definition at line 52 of file TriRule6.h.

Member Data Documentation

◆ cell_type

const CellType MeshLib::TriRule6::cell_type = CellType::TRI6
static

Constant: The FEM type of the element.

Definition at line 46 of file TriRule6.h.

◆ edge_nodes

const unsigned MeshLib::TriRule6::edge_nodes
static
Initial value:
= {
{0, 1, 3},
{1, 2, 4},
{2, 0, 5},
}

Constant: Local node index table for edge.

Definition at line 49 of file TriRule6.h.

◆ n_all_nodes

const unsigned MeshLib::TriRule6::n_all_nodes = 6u
static

Constant: The number of all nodes for this element.

Definition at line 43 of file TriRule6.h.


The documentation for this class was generated from the following files: