OGS
ShapePoint1.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{
13{
14public:
19 template <class T_X, class T_N>
20 static void computeShapeFunction(const T_X& r, T_N& N);
21
22 static constexpr std::array reference_element_centre = {0.0};
23
25 static const unsigned DIM = MeshElement::dimension;
26 static const unsigned NPOINTS = MeshElement::n_all_nodes;
27 static constexpr int ORDER = 0;
28};
29} // namespace NumLib
30
31#include "ShapePoint1-impl.h"
Shape function for a point element in natural coordinates.
Definition ShapePoint1.h:13
static const unsigned NPOINTS
Definition ShapePoint1.h:26
static constexpr int ORDER
Definition ShapePoint1.h:27
static constexpr std::array reference_element_centre
Definition ShapePoint1.h:22
static const unsigned DIM
Definition ShapePoint1.h:25
static void computeShapeFunction(const T_X &r, T_N &N)
MeshLib::Point MeshElement
Definition ShapePoint1.h:24
TemplateElement< PointRule1 > Point