OGS
ShapeHex20.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <array>
14
16
17namespace NumLib
18{
24{
25public:
32 template <class T_X, class T_N>
33 static void computeShapeFunction(const T_X& rst, T_N& N);
34
41 template <class T_X, class T_N>
42 static void computeGradShapeFunction(const T_X& rst, T_N& dN);
43
44 static constexpr std::array reference_element_centre = {0.0, 0.0, 0.0};
45
47 static const unsigned DIM = MeshElement::dimension;
48 static const unsigned NPOINTS = MeshElement::n_all_nodes;
49 static constexpr int ORDER = 2;
50};
51
52} // namespace NumLib
53
54#include "ShapeHex20-impl.h"
Definition of the Hex 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 &rst, T_N &N)
static const unsigned DIM
Definition ShapeHex20.h:47
static void computeGradShapeFunction(const T_X &rst, T_N &dN)
static constexpr std::array reference_element_centre
Definition ShapeHex20.h:44
static const unsigned NPOINTS
Definition ShapeHex20.h:48
static constexpr int ORDER
Definition ShapeHex20.h:49
TemplateElement< MeshLib::HexRule20 > Hex20
Definition Hex.h:26