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

Global basis functions. More...

#include <dune/fem/function/common/functionset.hh>

Public Types

typedef FunctionSpace FunctionSpaceType
 function space type
 
typedef FunctionSpaceType::DomainType DomainType
 domain type
 
typedef FunctionSpaceType::RangeType RangeType
 range type
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian range type
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian range type
 

Public Member Functions

int order () const
 return order of basis functions
 
std::size_t size () const
 return number of basis functions
 
template<class Functor >
void evaluateEach (const DomainType &x, Functor functor) const
 
template<class Functor >
void jacobianEach (const DomainType &x, Functor functor) const
 
template<class Functor >
void hessianEach (const DomainType &x, Functor functor) const
 

Detailed Description

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

Global basis functions.

This class documents the function set interface.

Template Parameters
FunctionSpacefunction space

Member Typedef Documentation

◆ DomainType

domain type

◆ FunctionSpaceType

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

function space type

◆ HessianRangeType

hessian range type

◆ JacobianRangeType

jacobian range type

◆ RangeType

range type

Member Function Documentation

◆ evaluateEach()

template<class FunctionSpace >
template<class Functor >
void Dune::Fem::FunctionSet< FunctionSpace >::evaluateEach ( const DomainType x,
Functor  functor 
) const
     \brief evalute each basis function

      \param[in]  x        global coordinate
      \param[in]  functor  functor call for evaluating each basis function

      The functor has to be a copyable object satisfying the following
      interface:
struct Functor
{
template< class Value >
void operator() ( const int basisFunction, const Value &value );
};

◆ hessianEach()

template<class FunctionSpace >
template<class Functor >
void Dune::Fem::FunctionSet< FunctionSpace >::hessianEach ( const DomainType x,
Functor  functor 
) const
     \brief evalute hessian of each basis function

      \param[in]  x        global coordinate
      \param[in]  functor  functor call for evaluating the hessian of each basis function

      The functor has to be a copyable object satisfying the following
      interface:
struct Functor
{
template< class Hessian >
void operator() ( const int basisFunction, const Hessian &hessian );
};

◆ jacobianEach()

template<class FunctionSpace >
template<class Functor >
void Dune::Fem::FunctionSet< FunctionSpace >::jacobianEach ( const DomainType x,
Functor  functor 
) const
     \brief evalute jacobian of each basis function

      \param[in]  x        global coordinate
      \param[in]  functor  functor call for evaluating the jacobian of each basis function

      The functor has to be a copyable object satisfying the following
      interface:
struct Functor
{
template< class Jacobian >
void operator() ( const int basisFunction, const Jacobian &jacobian );
};

◆ order()

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

return order of basis functions

◆ size()

template<class FunctionSpace >
std::size_t Dune::Fem::FunctionSet< FunctionSpace >::size ( ) const

return number of basis functions


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