Loading [MathJax]/extensions/MathMenu.js
OGS
ShapeTet4.h
Go to the documentation of this file.
1
11#pragma once
12#include <array>
13
15
16namespace NumLib
17{
22{
23public:
30 template <class T_X, class T_N>
31 static void computeShapeFunction(const T_X& r, T_N& N);
32
40 template <class T_X, class T_N>
41 static void computeGradShapeFunction(const T_X& r, T_N& dN);
42
43 static constexpr std::array reference_element_centre = {0.5, 0.5, 0.5};
44
46 static const unsigned DIM = MeshElement::dimension;
47 static const unsigned NPOINTS = MeshElement::n_all_nodes;
48 static constexpr int ORDER = 1;
49};
50
51} // namespace NumLib
52
53#include "ShapeTet4-impl.h"
Definition of the Tet 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 constexpr int ORDER
Definition ShapeTet4.h:48
static const unsigned NPOINTS
Definition ShapeTet4.h:47
static const unsigned DIM
Definition ShapeTet4.h:46
static constexpr std::array reference_element_centre
Definition ShapeTet4.h:43
static void computeGradShapeFunction(const T_X &r, T_N &dN)
TemplateElement< MeshLib::TetRule4 > Tet
Definition Tet.h:25