dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::Fem::LegendreShapeFunction< FunctionSpace > Class Template Reference

implementation of a single scalar-valued Legendre shape function More...

#include <dune/fem/space/shapefunctionset/legendre.hh>

Public Types

typedef FunctionSpace FunctionSpaceType
 type of function space this function belongs to
 
typedef FunctionSpaceType::DomainFieldType DomainFieldType
 field type of domain
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 field type of range
 
typedef FunctionSpaceType::DomainType DomainType
 domain type
 
typedef FunctionSpaceType::RangeType RangeType
 range type
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian type
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian type
 

Public Member Functions

int order () const noexcept
 return polynomial order of this function
 
const std::array< int, FunctionSpaceType::dimDomain > & orders () const noexcept
 return monomial orders of this function
 
void evaluate (const DomainType &x, RangeType &value) const noexcept
 evaluate the function
 
void jacobian (const DomainType &x, JacobianRangeType &jacobian) const noexcept
 evaluate the Jacobian of the function
 
void hessian (const DomainType &x, HessianRangeType &hessian) const noexcept
 evaluate the hessian of the function
 
Construction
 LegendreShapeFunction ()=default
 
template<class MultiIndex >
 LegendreShapeFunction (const MultiIndex &multiIndex)
 

Detailed Description

template<class FunctionSpace>
class Dune::Fem::LegendreShapeFunction< FunctionSpace >

implementation of a single scalar-valued Legendre shape function

Note
The range field type used in the evaluation is fixed to double.
Template Parameters
FunctionSpace(scalar) function space

Member Typedef Documentation

◆ DomainFieldType

field type of domain

◆ DomainType

domain type

◆ FunctionSpaceType

template<class FunctionSpace >
typedef FunctionSpace Dune::Fem::LegendreShapeFunction< FunctionSpace >::FunctionSpaceType

type of function space this function belongs to

◆ HessianRangeType

hessian type

◆ JacobianRangeType

jacobian type

◆ RangeFieldType

field type of range

◆ RangeType

range type

Constructor & Destructor Documentation

◆ LegendreShapeFunction() [1/2]

template<class FunctionSpace >
Dune::Fem::LegendreShapeFunction< FunctionSpace >::LegendreShapeFunction ( )
default

◆ LegendreShapeFunction() [2/2]

template<class FunctionSpace >
template<class MultiIndex >
Dune::Fem::LegendreShapeFunction< FunctionSpace >::LegendreShapeFunction ( const MultiIndex &  multiIndex)
inlineexplicit

Member Function Documentation

◆ evaluate()

template<class FunctionSpace >
void Dune::Fem::LegendreShapeFunction< FunctionSpace >::evaluate ( const DomainType x,
RangeType value 
) const
inlinenoexcept

evaluate the function

Parameters
[in]xevaluation point
[out]valuevalue of the function in x

◆ hessian()

template<class FunctionSpace >
void Dune::Fem::LegendreShapeFunction< FunctionSpace >::hessian ( const DomainType x,
HessianRangeType hessian 
) const
inlinenoexcept

evaluate the hessian of the function

Parameters
[in]xevaluation point
[out]hessianvalue of the hessian in x

◆ jacobian()

template<class FunctionSpace >
void Dune::Fem::LegendreShapeFunction< FunctionSpace >::jacobian ( const DomainType x,
JacobianRangeType jacobian 
) const
inlinenoexcept

evaluate the Jacobian of the function

Parameters
[in]xevaluation point
[out]jacobianvalue of the Jacobian in x

◆ order()

template<class FunctionSpace >
int Dune::Fem::LegendreShapeFunction< FunctionSpace >::order ( ) const
inlinenoexcept

return polynomial order of this function

◆ orders()

template<class FunctionSpace >
const std::array< int, FunctionSpaceType::dimDomain > & Dune::Fem::LegendreShapeFunction< FunctionSpace >::orders ( ) const
inlinenoexcept

return monomial orders of this function


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