OGS
ShapeTet10.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{
15{
16public:
23 template <class T_X, class T_N>
24 static void computeShapeFunction(const T_X& r, T_N& N);
25
33 template <class T_X, class T_N>
34 static void computeGradShapeFunction(const T_X& r, T_N& dN);
35
36 static constexpr std::array reference_element_centre = {0.25, 0.25, 0.25};
37
39 static const unsigned DIM = MeshElement::dimension;
40 static const unsigned NPOINTS = MeshElement::n_all_nodes;
41 static constexpr int ORDER = 2;
42};
43
44} // namespace NumLib
45
46#include "ShapeTet10-impl.h"
static constexpr std::array reference_element_centre
Definition ShapeTet10.h:36
static constexpr int ORDER
Definition ShapeTet10.h:41
MeshLib::Tet10 MeshElement
Definition ShapeTet10.h:38
static const unsigned NPOINTS
Definition ShapeTet10.h:40
static void computeShapeFunction(const T_X &r, T_N &N)
static const unsigned DIM
Definition ShapeTet10.h:39
static void computeGradShapeFunction(const T_X &r, T_N &dN)
TemplateElement< MeshLib::TetRule10 > Tet10
Definition Tet.h:15