![]() |
OGS
|
Shape function for a line element of two nodes in natural coordinates
* 2 (-1,0) 1 (1,0) * *--------* *
Definition at line 26 of file ShapeLine2.h.
#include <ShapeLine2.h>
Public Types | |
| using | MeshElement = MeshLib::Line |
Static Public Member Functions | |
| template<class T_X, class T_N> | |
| static void | computeShapeFunction (const T_X &r, T_N &N) |
| template<class T_X, class T_N> | |
| static void | computeGradShapeFunction (const T_X &r, T_N &dN) |
Static Public Attributes | |
| static constexpr std::array | reference_element_centre = {0.0} |
| static const unsigned | DIM = MeshElement::dimension |
| static const unsigned | NPOINTS = MeshElement::n_all_nodes |
| static constexpr int | ORDER = 1 |
Definition at line 49 of file ShapeLine2.h.
|
static |
Evaluate derivatives of the shape function at the given point
| [in] | r | point coordinates |
| [out] | dN | a matrix of the derivatives |
Definition at line 21 of file ShapeLine2-impl.h.
|
static |
Evaluate the shape function at the given point
| [in] | r | point coordinates |
| [out] | N | a vector of calculated shape function. |
Definition at line 14 of file ShapeLine2-impl.h.
References NumLib::N.
|
static |
Definition at line 50 of file ShapeLine2.h.
|
static |
Definition at line 51 of file ShapeLine2.h.
|
staticconstexpr |
Definition at line 52 of file ShapeLine2.h.
|
staticconstexpr |
Definition at line 47 of file ShapeLine2.h.