dune-fem  2.4.1-rc
Public Types | Public Member Functions | List of all members
Dune::Fem::FunctionSet< FunctionSpace > Class Template Reference

Global basis functions. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/common/functionset.hh>

Public Types

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

Public Member Functions

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

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

domain type

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

function space type

hessian range type

jacobian range type

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

range type

Member Function Documentation

template<class FunctionSpace >
template<class Functor >
void Dune::Fem::FunctionSet< FunctionSpace >::evaluateEach ( const DomainType x,
Functor  functor 
) const

evalute each basis function

Parameters
[in]xglobal coordinate
[in]functorfunctor 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 );
};

Referenced by Dune::Fem::LocalFunctionSetAdapter< Entity, FunctionSet >::evaluateEach().

template<class FunctionSpace >
template<class Functor >
void Dune::Fem::FunctionSet< FunctionSpace >::hessianEach ( const DomainType x,
Functor  functor 
) const

evalute hessian of each basis function

Parameters
[in]xglobal coordinate
[in]functorfunctor 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 );
};

Referenced by Dune::Fem::LocalFunctionSetAdapter< Entity, FunctionSet >::hessianEach().

template<class FunctionSpace >
template<class Functor >
void Dune::Fem::FunctionSet< FunctionSpace >::jacobianEach ( const DomainType x,
Functor  functor 
) const

evalute jacobian of each basis function

Parameters
[in]xglobal coordinate
[in]functorfunctor 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 );
};

Referenced by Dune::Fem::LocalFunctionSetAdapter< Entity, FunctionSet >::jacobianEach().

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

return order of basis functions

Referenced by Dune::Fem::LocalFunctionSetAdapter< Entity, FunctionSet >::order().

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

return number of basis functions

Referenced by Dune::Fem::LocalFunctionSetAdapter< Entity, FunctionSet >::size().


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