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