dune-fem  2.4.1-rc
Public Types | Public Member Functions | List of all members
Dune::Fem::LocalFunctionSet< Entity, Range > Class Template Reference

Local basis functions. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/localfunction/localfunctionset.hh>

Public Types

typedef Entity EntityType
 entity type More...
 
typedef FunctionSpace< typename Entity::Geometry::ctype, typename Range::value_type, Entity::Geometry::coorddimension, Range::dimension > 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...
 
const EntityTypeentity () const
 return entity More...
 
std::size_t size () const
 return number of basis functions More...
 
template<class Point , class Functor >
void evaluateEach (const Point &x, Functor functor) const
 evalute each basis function More...
 
template<class Point , class Functor >
void jacobianEach (const Point &x, Functor functor) const
 evalute jacobian of each basis function More...
 
template<class Point , class Functor >
void hessianEach (const Point &x, Functor functor) const
 evalute hessian of each basis function More...
 

Detailed Description

template<class Entity, class Range>
class Dune::Fem::LocalFunctionSet< Entity, Range >

Local basis functions.

This class documents the local basis functions interface.

Template Parameters
FunctionSpacefunction space

Member Typedef Documentation

template<class Entity , class Range >
typedef FunctionSpaceType::DomainType Dune::Fem::LocalFunctionSet< Entity, Range >::DomainType

domain type

template<class Entity , class Range >
typedef Entity Dune::Fem::LocalFunctionSet< Entity, Range >::EntityType

entity type

template<class Entity , class Range >
typedef FunctionSpace< typename Entity::Geometry::ctype, typename Range::value_type, Entity::Geometry::coorddimension, Range::dimension > Dune::Fem::LocalFunctionSet< Entity, Range >::FunctionSpaceType

function space type

template<class Entity , class Range >
typedef FunctionSpaceType::HessianRangeType Dune::Fem::LocalFunctionSet< Entity, Range >::HessianRangeType

hessian range type

template<class Entity , class Range >
typedef FunctionSpaceType::JacobianRangeType Dune::Fem::LocalFunctionSet< Entity, Range >::JacobianRangeType

jacobian range type

template<class Entity , class Range >
typedef FunctionSpaceType::RangeType Dune::Fem::LocalFunctionSet< Entity, Range >::RangeType

range type

Member Function Documentation

template<class Entity , class Range >
const EntityType& Dune::Fem::LocalFunctionSet< Entity, Range >::entity ( ) const
template<class Entity , class Range >
template<class Point , class Functor >
void Dune::Fem::LocalFunctionSet< Entity, Range >::evaluateEach ( const Point &  x,
Functor  functor 
) const

evalute each basis function

Parameters
[in]xlocal coordinate or quadrature point
[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::SimpleBasisFunctionSet< LocalFunctionSet >::axpy(), and Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::evaluateAll().

template<class Entity , class Range >
template<class Point , class Functor >
void Dune::Fem::LocalFunctionSet< Entity, Range >::hessianEach ( const Point &  x,
Functor  functor 
) const

evalute hessian of each basis function

Parameters
[in]xlocal coordinate or quadrature point
[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::SimpleBasisFunctionSet< LocalFunctionSet >::hessianAll().

template<class Entity , class Range >
template<class Point , class Functor >
void Dune::Fem::LocalFunctionSet< Entity, Range >::jacobianEach ( const Point &  x,
Functor  functor 
) const

evalute jacobian of each basis function

Parameters
[in]xlocal coordinate or quadrature point
[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::SimpleBasisFunctionSet< LocalFunctionSet >::axpy(), and Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::jacobianAll().

template<class Entity , class Range >
int Dune::Fem::LocalFunctionSet< Entity, Range >::order ( ) const

return order of basis functions

Referenced by Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::order().

template<class Entity , class Range >
std::size_t Dune::Fem::LocalFunctionSet< Entity, Range >::size ( ) const

return number of basis functions

Referenced by Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::size().


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