OGS
ShapePoint1.h
Go to the documentation of this file.
1
11#pragma once
12#include <array>
13
15
16namespace NumLib
17{
20{
21public:
26 template <class T_X, class T_N>
27 static void computeShapeFunction(const T_X& r, T_N& N);
28
29 static constexpr std::array reference_element_centre = {0.0};
30
32 static const unsigned DIM = MeshElement::dimension;
33 static const unsigned NPOINTS = MeshElement::n_all_nodes;
34 static constexpr int ORDER = 0;
35};
36} // namespace NumLib
37
38#include "ShapePoint1-impl.h"
static const unsigned n_all_nodes
Constant: The number of all nodes for this element.
static const unsigned dimension
Constant: The dimension of this element.
Shape function for a point element in natural coordinates.
Definition ShapePoint1.h:20
static const unsigned NPOINTS
Definition ShapePoint1.h:33
static constexpr int ORDER
Definition ShapePoint1.h:34
static constexpr std::array reference_element_centre
Definition ShapePoint1.h:29
static const unsigned DIM
Definition ShapePoint1.h:32
static void computeShapeFunction(const T_X &r, T_N &N)
TemplateElement< PointRule1 > Point
Definition Point.h:20