OGS
ShapeTri6.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{
16{
17public:
24 template <class T_X, class T_N>
25 static void computeShapeFunction(const T_X& r, T_N& N);
26
34 template <class T_X, class T_N>
35 static void computeGradShapeFunction(const T_X& r, T_N& dN);
36
37 static constexpr std::array reference_element_centre = {1. / 3., 1. / 3.};
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 "ShapeTri6-impl.h"
static void computeGradShapeFunction(const T_X &r, T_N &dN)
static constexpr int ORDER
Definition ShapeTri6.h:42
static const unsigned DIM
Definition ShapeTri6.h:40
static void computeShapeFunction(const T_X &r, T_N &N)
MeshLib::Tri6 MeshElement
Definition ShapeTri6.h:39
static const unsigned NPOINTS
Definition ShapeTri6.h:41
static constexpr std::array reference_element_centre
Definition ShapeTri6.h:37
TemplateElement< MeshLib::TriRule6 > Tri6
Definition Tri.h:16