OGS
ShapeQuad4.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5#include <array>
6
8
9namespace NumLib
10{
26{
27public:
34 template <class T_X, class T_N>
35 static void computeShapeFunction(const T_X& r, T_N& N);
36
43 template <class T_X, class T_N>
44 static void computeGradShapeFunction(const T_X& r, T_N& dN);
45
46 static constexpr std::array reference_element_centre = {0.0, 0.0};
47
49 static const unsigned DIM = MeshElement::dimension;
50 static const unsigned NPOINTS = MeshElement::n_all_nodes;
51 static constexpr int ORDER = 1;
52};
53
54} // namespace NumLib
55
56#include "ShapeQuad4-impl.h"
static const unsigned DIM
Definition ShapeQuad4.h:49
MeshLib::Quad MeshElement
Definition ShapeQuad4.h:48
static constexpr std::array reference_element_centre
Definition ShapeQuad4.h:46
static constexpr int ORDER
Definition ShapeQuad4.h:51
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:50
TemplateElement< MeshLib::QuadRule4 > Quad
Definition Quad.h:17