OGS
NumLib::ShapePoint1 Class Reference

Detailed Description

Shape function for a point element in natural coordinates.

Definition at line 18 of file ShapePoint1.h.

#include <ShapePoint1.h>

Public Types

using MeshElement = MeshLib::Point
 

Static Public Member Functions

template<class T_X , class T_N >
static void computeShapeFunction (const T_X &r, T_N &N)
 

Static Public Attributes

static const unsigned DIM = MeshElement::dimension
 
static const unsigned NPOINTS = MeshElement::n_all_nodes
 
static constexpr int ORDER = 0
 

Member Typedef Documentation

◆ MeshElement

Definition at line 28 of file ShapePoint1.h.

Member Function Documentation

◆ computeShapeFunction()

template<class T_X , class T_N >
void NumLib::ShapePoint1::computeShapeFunction ( const T_X & r,
T_N & N )
static

Evaluate the shape function at the given point

Parameters
[in]rpoint coordinates
[out]Na vector of calculated shape function.

Definition at line 14 of file ShapePoint1-impl.h.

15{
16 N[0] = 1;
17}

References NumLib::N.

Member Data Documentation

◆ DIM

const unsigned NumLib::ShapePoint1::DIM = MeshElement::dimension
static

Definition at line 29 of file ShapePoint1.h.

◆ NPOINTS

const unsigned NumLib::ShapePoint1::NPOINTS = MeshElement::n_all_nodes
static

Definition at line 30 of file ShapePoint1.h.

◆ ORDER

constexpr int NumLib::ShapePoint1::ORDER = 0
staticconstexpr

Definition at line 31 of file ShapePoint1.h.


The documentation for this class was generated from the following files: