OGS
MeshLib::LineRule3 Class Reference

Detailed Description

A 1d Edge or Line element with 3 nodes.

0----2----1

Definition at line 25 of file LineRule3.h.

#include <LineRule3.h>

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

Public Types

using EdgeReturn = MeshLib::QuadraticEdgeReturn
 Edge rule.
 

Static Public Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from MeshLib::LineRule
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[1])
 Returns the ID of a face given an array of nodes.
 
static double computeVolume (Node const *const *element_nodes)
 Calculates the length of a line.
 
- Static Public Member Functions inherited from MeshLib::EdgeRule
static const ElementgetFace (const Element *, unsigned)
 Returns the i-th face of the element.
 
static bool testElementNodeOrder (Element const &)
 

Member Typedef Documentation

◆ EdgeReturn

Edge rule.

Definition at line 38 of file LineRule3.h.

Member Data Documentation

◆ cell_type

const CellType MeshLib::LineRule3::cell_type = CellType::LINE3
static

Constant: The FEM type of the element.

Definition at line 32 of file LineRule3.h.

◆ edge_nodes

const unsigned MeshLib::LineRule3::edge_nodes
static
Initial value:
= {
{0, 1, 2}
}

Constant: Local node index table for edge.

Definition at line 35 of file LineRule3.h.

◆ n_all_nodes

const unsigned MeshLib::LineRule3::n_all_nodes = 3u
static

Constant: The number of all nodes for this element.

Definition at line 29 of file LineRule3.h.


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