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. More...
 
- Public Types inherited from MeshLib::LineRule2
using EdgeReturn = MeshLib::LinearEdgeReturn
 Edge rule. More...
 

Static Public Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from MeshLib::LineRule2
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. More...
 
static double computeVolume (Node const *const *_nodes)
 Calculates the length of a line. More...
 
- Static Public Member Functions inherited from MeshLib::EdgeRule
static const ElementgetFace (const Element *, unsigned)
 Returns the i-th face of the element. More...
 
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: