OGS
ShapeLine2.h
Go to the documentation of this file.
1
11#pragma once
12#include <array>
13
15
16namespace NumLib
17{
27{
28public:
35 template <class T_X, class T_N>
36 static void computeShapeFunction(const T_X& r, T_N& N);
37
44 template <class T_X, class T_N>
45 static void computeGradShapeFunction(const T_X& r, T_N& dN);
46
47 static constexpr std::array reference_element_centre = {0.0};
48
50 static const unsigned DIM = MeshElement::dimension;
51 static const unsigned NPOINTS = MeshElement::n_all_nodes;
52 static constexpr int ORDER = 1;
53};
54
55} // namespace NumLib
56
57#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:51
static const unsigned DIM
Definition ShapeLine2.h:50
static constexpr std::array reference_element_centre
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:52
TemplateElement< MeshLib::LineRule2 > Line
Definition Line.h:25