HyperHDG
Public Types | Static Public Member Functions | List of all members
TPP::ShapeFunction< shape_t > Struct Template Reference

Struct that handles different types of evaluation of shape functions. More...

#include <shape_function.hxx>

Public Types

typedef shape_t shape_fun_t
 Make type of shape functions accessable to everyone. More...
 

Static Public Member Functions

static constexpr unsigned int n_fun ()
 Number of shape functions that span the local polynomial space. More...
 
static constexpr unsigned int dim ()
 Dimension of abscissas of the polynomials. More...
 
static constexpr unsigned int degree ()
 Maximum degree of all polynomials. More...
 
template<typename return_t , typename point_t >
static constexpr return_t fct_val (const unsigned int index, const point_t &point)
 Evaluate value of shape function. More...
 
template<typename return_t , typename point_t >
static constexpr return_t der_val (const unsigned int index, const point_t &point, const unsigned int der_dim)
 Evaluate value of partial derivative of shape function. More...
 
template<typename return_t , typename point_t >
static constexpr return_t grad_val (const unsigned int index, const point_t &point)
 Evaluate value of gradient of shape function. More...
 
template<typename return_t , typename point_t >
static constexpr return_t div_val (const unsigned int index, const point_t &point)
 Evaluate value of divergence of shape function. More...
 
template<typename return_t , typename coeffs_t , typename point_t >
static constexpr return_t lin_comb_fct_val (const coeffs_t &coeffs, const point_t &point)
 Evaluate value linear combination of shape functions. More...
 
template<typename return_t , typename coeffs_t , typename point_t >
static constexpr return_t lin_comb_der_val (const coeffs_t &coeffs, const point_t &point, const unsigned int der_dim)
 Evaluate value of partial derivative of linear combination of shape functions. More...
 

Detailed Description

template<typename shape_t>
struct TPP::ShapeFunction< shape_t >

Struct that handles different types of evaluation of shape functions.


Template Parameters
shape_tType of shape functions.
Authors
Andreas Rupp, Heidelberg University, 2021.

Member Typedef Documentation

◆ shape_fun_t

template<typename shape_t >
typedef shape_t TPP::ShapeFunction< shape_t >::shape_fun_t

Make type of shape functions accessable to everyone.


Member Function Documentation

◆ degree()

template<typename shape_t >
static constexpr unsigned int TPP::ShapeFunction< shape_t >::degree ( )
inlinestaticconstexpr

Maximum degree of all polynomials.


◆ der_val()

template<typename shape_t >
template<typename return_t , typename point_t >
static constexpr return_t TPP::ShapeFunction< shape_t >::der_val ( const unsigned int  index,
const point_t &  point,
const unsigned int  der_dim 
)
inlinestaticconstexpr

Evaluate value of partial derivative of shape function.


◆ dim()

template<typename shape_t >
static constexpr unsigned int TPP::ShapeFunction< shape_t >::dim ( )
inlinestaticconstexpr

Dimension of abscissas of the polynomials.


◆ div_val()

template<typename shape_t >
template<typename return_t , typename point_t >
static constexpr return_t TPP::ShapeFunction< shape_t >::div_val ( const unsigned int  index,
const point_t &  point 
)
inlinestaticconstexpr

Evaluate value of divergence of shape function.


Here is the call graph for this function:

◆ fct_val()

template<typename shape_t >
template<typename return_t , typename point_t >
static constexpr return_t TPP::ShapeFunction< shape_t >::fct_val ( const unsigned int  index,
const point_t &  point 
)
inlinestaticconstexpr

Evaluate value of shape function.


◆ grad_val()

template<typename shape_t >
template<typename return_t , typename point_t >
static constexpr return_t TPP::ShapeFunction< shape_t >::grad_val ( const unsigned int  index,
const point_t &  point 
)
inlinestaticconstexpr

Evaluate value of gradient of shape function.


Here is the call graph for this function:

◆ lin_comb_der_val()

template<typename shape_t >
template<typename return_t , typename coeffs_t , typename point_t >
static constexpr return_t TPP::ShapeFunction< shape_t >::lin_comb_der_val ( const coeffs_t &  coeffs,
const point_t &  point,
const unsigned int  der_dim 
)
inlinestaticconstexpr

Evaluate value of partial derivative of linear combination of shape functions.


Here is the call graph for this function:

◆ lin_comb_fct_val()

template<typename shape_t >
template<typename return_t , typename coeffs_t , typename point_t >
static constexpr return_t TPP::ShapeFunction< shape_t >::lin_comb_fct_val ( const coeffs_t &  coeffs,
const point_t &  point 
)
inlinestaticconstexpr

Evaluate value linear combination of shape functions.


Here is the call graph for this function:

◆ n_fun()

template<typename shape_t >
static constexpr unsigned int TPP::ShapeFunction< shape_t >::n_fun ( )
inlinestaticconstexpr

Number of shape functions that span the local polynomial space.



The documentation for this struct was generated from the following file: