OGS
ShapeQuad4.h
Go to the documentation of this file.
1
13#pragma once
14#include <array>
15
17
18namespace NumLib
19{
35{
36public:
43 template <class T_X, class T_N>
44 static void computeShapeFunction(const T_X& r, T_N& N);
45
52 template <class T_X, class T_N>
53 static void computeGradShapeFunction(const T_X& r, T_N& dN);
54
55 static constexpr std::array reference_element_centre = {0.0, 0.0};
56
58 static const unsigned DIM = MeshElement::dimension;
59 static const unsigned NPOINTS = MeshElement::n_all_nodes;
60 static constexpr int ORDER = 1;
61};
62
63} // namespace NumLib
64
65#include "ShapeQuad4-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 ShapeQuad4.h:58
static constexpr std::array reference_element_centre
Definition ShapeQuad4.h:55
static constexpr int ORDER
Definition ShapeQuad4.h:60
static void computeGradShapeFunction(const T_X &r, T_N &dN)
static void computeShapeFunction(const T_X &r, T_N &N)
static const unsigned NPOINTS
Definition ShapeQuad4.h:59
TemplateElement< MeshLib::QuadRule4 > Quad
Definition Quad.h:28