Loading [MathJax]/extensions/MathMenu.js
OGS
NumLib::ShapePoint1 Class Reference

Detailed Description

Shape function for a point element in natural coordinates.

Definition at line 19 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 constexpr std::array reference_element_centre = {0.0}
 
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 31 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 32 of file ShapePoint1.h.

◆ NPOINTS

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

Definition at line 33 of file ShapePoint1.h.

◆ ORDER

int NumLib::ShapePoint1::ORDER = 0
staticconstexpr

Definition at line 34 of file ShapePoint1.h.

◆ reference_element_centre

std::array NumLib::ShapePoint1::reference_element_centre = {0.0}
staticconstexpr

Definition at line 29 of file ShapePoint1.h.

29{0.0};

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