dune-fem  2.4.1-rc
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 </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/shapefunctionset/legendre.hh>

Public Types

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

Public Member Functions

int order () const noexcept
 return polynomial order of this function More...
 
const std::array< int, FunctionSpaceType::dimDomain > & orders () const noexcept
 return monomial orders of this function More...
 
void evaluate (const DomainType &x, RangeType &value) const noexcept
 evaluate the function More...
 
void jacobian (const DomainType &x, JacobianRangeType &jacobian) const noexcept
 evaluate the Jacobian of the function More...
 
void hessian (const DomainType &x, HessianRangeType &hessian) const noexcept
 evaluate the hessian of the function More...
 
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

field type of domain

domain type

type of function space this function belongs to

hessian type

jacobian type

field type of range

range type

Constructor & Destructor Documentation

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

Member Function Documentation

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

References Dune::Fem::LegendrePolynomials::evaluate().

template<class FunctionSpace >
void Dune::Fem::LegendreShapeFunction< FunctionSpace >::hessian ( const DomainType x,
HessianRangeType hessian 
) const
inlinenoexcept
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

References Dune::Fem::LegendrePolynomials::evaluate(), and Dune::Fem::LegendrePolynomials::jacobian().

Referenced by Dune::Fem::LegendreShapeFunctionSet< ScalarShapeFunctionSpaceType >::jacobianEach().

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

return polynomial order of this function

Referenced by Dune::Fem::LegendreShapeFunction< FunctionSpace >::hessian().

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: