OGS
ShapeQuad8.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
39 template <class T_X, class T_N>
40 static void computeGradShapeFunction(const T_X& rs, T_N& dN);
41
42 static constexpr std::array reference_element_centre = {0.0, 0.0};
43
45 static const unsigned DIM = MeshElement::dimension;
46 static const unsigned NPOINTS = MeshElement::n_all_nodes;
47 static constexpr int ORDER = 2;
48};
49
50} // namespace NumLib
51
52#include "ShapeQuad8-impl.h"
Definition of the Quad 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 const unsigned DIM
Definition ShapeQuad8.h:45
static void computeShapeFunction(const T_X &r, T_N &N)
static constexpr std::array reference_element_centre
Definition ShapeQuad8.h:42
static constexpr int ORDER
Definition ShapeQuad8.h:47
static const unsigned NPOINTS
Definition ShapeQuad8.h:46
static void computeGradShapeFunction(const T_X &rs, T_N &dN)
TemplateElement< MeshLib::QuadRule8 > Quad8
Definition Quad.h:29