Loading [MathJax]/extensions/MathZoom.js
OGS
ShapeTri6.h
Go to the documentation of this file.
1
11#pragma once
12#include <array>
13
15
16namespace NumLib
17{
23{
24public:
31 template <class T_X, class T_N>
32 static void computeShapeFunction(const T_X& r, T_N& N);
33
41 template <class T_X, class T_N>
42 static void computeGradShapeFunction(const T_X& r, T_N& dN);
43
44 static constexpr std::array reference_element_centre = {0.5, 0.5};
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 "ShapeTri6-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 computeGradShapeFunction(const T_X &r, T_N &dN)
static constexpr int ORDER
Definition ShapeTri6.h:49
static const unsigned DIM
Definition ShapeTri6.h:47
static void computeShapeFunction(const T_X &r, T_N &N)
static const unsigned NPOINTS
Definition ShapeTri6.h:48
static constexpr std::array reference_element_centre
Definition ShapeTri6.h:44
TemplateElement< MeshLib::TriRule6 > Tri6
Definition Tri.h:27