OGS
ShapeTri3.h
Go to the documentation of this file.
1
14#pragma once
15#include <array>
16
18
19namespace NumLib
20{
35{
36public:
43 template <class T_X, class T_N>
44 static void computeShapeFunction(const T_X& r, T_N& N);
45
53 template <class T_X, class T_N>
54 static void computeGradShapeFunction(const T_X& r, T_N& dN);
55
56 static constexpr std::array reference_element_centre = {0.5, 0.5};
57
59 static const unsigned DIM = MeshElement::dimension;
60 static const unsigned NPOINTS = MeshElement::n_all_nodes;
61 static constexpr int ORDER = 1;
62};
63
64} // namespace NumLib
65
66#include "ShapeTri3-impl.h"
Definition of the Tri 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 void computeShapeFunction(const T_X &r, T_N &N)
static void computeGradShapeFunction(const T_X &r, T_N &dN)
static const unsigned NPOINTS
Definition ShapeTri3.h:60
static const unsigned DIM
Definition ShapeTri3.h:59
static constexpr int ORDER
Definition ShapeTri3.h:61
static constexpr std::array reference_element_centre
Definition ShapeTri3.h:56
TemplateElement< MeshLib::TriRule3 > Tri
Definition Tri.h:26