OGS
ShapeHex8.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{
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, 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 "ShapeHex8-impl.h"
static void computeGradShapeFunction(const T_X &r, T_N &dN)
static constexpr std::array reference_element_centre
Definition ShapeHex8.h:55
static const unsigned DIM
Definition ShapeHex8.h:58
static const unsigned NPOINTS
Definition ShapeHex8.h:59
MeshLib::Hex MeshElement
Definition ShapeHex8.h:57
static void computeShapeFunction(const T_X &r, T_N &N)
static constexpr int ORDER
Definition ShapeHex8.h:60
TemplateElement< MeshLib::HexRule8 > Hex
Definition Hex.h:14