DUNE-FEM (unstable)

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 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
 
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 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

◆ DomainFieldType

field type of domain

◆ DomainType

◆ FunctionSpaceType

type of function space this function belongs to

◆ HessianRangeType

hessian type

◆ JacobianRangeType

jacobian type

◆ RangeFieldType

field type of range

◆ RangeType

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

References Dune::Fem::LegendreShapeFunction< FunctionSpace >::hessian().

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

◆ 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

References Dune::Fem::LegendreShapeFunction< FunctionSpace >::jacobian().

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


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)