OGS
ShapeHex20.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
6#include <array>
7
9
10namespace NumLib
11{
17{
18public:
25 template <class T_X, class T_N>
26 static void computeShapeFunction(const T_X& rst, T_N& N);
27
34 template <class T_X, class T_N>
35 static void computeGradShapeFunction(const T_X& rst, T_N& dN);
36
37 static constexpr std::array reference_element_centre = {0.0, 0.0, 0.0};
38
40 static const unsigned DIM = MeshElement::dimension;
41 static const unsigned NPOINTS = MeshElement::n_all_nodes;
42 static constexpr int ORDER = 2;
43};
44
45} // namespace NumLib
46
47#include "ShapeHex20-impl.h"
static void computeShapeFunction(const T_X &rst, T_N &N)
static const unsigned DIM
Definition ShapeHex20.h:40
static void computeGradShapeFunction(const T_X &rst, T_N &dN)
static constexpr std::array reference_element_centre
Definition ShapeHex20.h:37
MeshLib::Hex20 MeshElement
Definition ShapeHex20.h:39
static const unsigned NPOINTS
Definition ShapeHex20.h:41
static constexpr int ORDER
Definition ShapeHex20.h:42
TemplateElement< MeshLib::HexRule20 > Hex20
Definition Hex.h:15