OGS
ShapePrism15.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.5, 0.5, 0.0};
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 "ShapePrism15-impl.h"
Definition of the Prism 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 &x, T_N &dN)
static constexpr std::array reference_element_centre
static const unsigned NPOINTS
static const unsigned DIM
static void computeShapeFunction(const T_X &x, T_N &N)
static constexpr int ORDER
TemplateElement< MeshLib::PrismRule15 > Prism15
Definition Prism.h:26