DUNE-FEM (unstable)

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 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 );
};

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

◆ 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 );
};

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

◆ 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 );
};

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


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 (Jul 27, 22:29, 2024)