OGS
ShapePyra13.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& x, T_N& N);
33
40 template <class T_X, class T_N>
41 static void computeGradShapeFunction(const T_X& x, T_N& dN);
42
43 static constexpr std::array reference_element_centre = {0.0, 0.0, 0.5};
44
46 static const unsigned DIM = MeshElement::dimension;
47 static const unsigned NPOINTS = MeshElement::n_all_nodes;
48 static constexpr int ORDER = 2;
49};
50
51} // namespace NumLib
52
53#include "ShapePyra13-impl.h"
Definition of the Pyramid 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 &x, T_N &N)
static const unsigned DIM
Definition ShapePyra13.h:46
static const unsigned NPOINTS
Definition ShapePyra13.h:47
static void computeGradShapeFunction(const T_X &x, T_N &dN)
static constexpr int ORDER
Definition ShapePyra13.h:48
static constexpr std::array reference_element_centre
Definition ShapePyra13.h:43
TemplateElement< MeshLib::PyramidRule13 > Pyramid13
Definition Pyramid.h:26