OGS
ShapeLine2.h
Go to the documentation of this file.
1
11#pragma once
12
14
15namespace NumLib
16{
26{
27public:
34 template <class T_X, class T_N>
35 static void computeShapeFunction(const T_X& r, T_N& N);
36
43 template <class T_X, class T_N>
44 static void computeGradShapeFunction(const T_X& r, T_N& dN);
45
47 static const unsigned DIM = MeshElement::dimension;
48 static const unsigned NPOINTS = MeshElement::n_all_nodes;
49 static constexpr int ORDER = 1;
50};
51
52} // namespace NumLib
53
54#include "ShapeLine2-impl.h"
Definition of the Line class.
static const unsigned n_all_nodes
Constant: The number of all nodes for this element.
static const unsigned dimension
Constant: The dimension of this element.
static const unsigned NPOINTS
Definition ShapeLine2.h:48
static const unsigned DIM
Definition ShapeLine2.h:47
static void computeShapeFunction(const T_X &r, T_N &N)
static void computeGradShapeFunction(const T_X &r, T_N &dN)
static constexpr int ORDER
Definition ShapeLine2.h:49
TemplateElement< MeshLib::LineRule2 > Line
Definition Line.h:25