DUNE-FEM (unstable)

Dune::Fem::LocalFunctionSet< Entity, Range > Class Template Reference

Local basis functions. More...

#include <dune/fem/function/localfunction/localfunctionset.hh>

Public Types

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

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

◆ evaluateEach()

template<class Entity , class Range >
template<class Point , class Functor >
void Dune::Fem::LocalFunctionSet< Entity, Range >::evaluateEach ( const Point &  x,
Functor  functor 
) const
     \brief evalute each basis function

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

◆ hessianEach()

template<class Entity , class Range >
template<class Point , class Functor >
void Dune::Fem::LocalFunctionSet< Entity, Range >::hessianEach ( const Point &  x,
Functor  functor 
) const
     \brief evalute hessian of each basis function

      \param[in]  x        local coordinate or quadrature point
      \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::SimpleBasisFunctionSet< LocalFunctionSet >::axpy(), and Dune::Fem::SimpleBasisFunctionSet< LocalFunctionSet >::hessianAll().

◆ jacobianEach()

template<class Entity , class Range >
template<class Point , class Functor >
void Dune::Fem::LocalFunctionSet< Entity, Range >::jacobianEach ( const Point &  x,
Functor  functor 
) const
     \brief evalute jacobian of each basis function

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


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)