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

Interface class for shape function sets. More...

#include <dune/fem/space/shapefunctionset/shapefunctionset.hh>

Inheritance diagram for Dune::Fem::ShapeFunctionSet< FunctionSpace >:
Inheritance graph

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 shape functions
 
std::size_t size () const
 return number of shape functions
 
template<class Point , class Functor >
void evaluateEach (const Point &x, Functor functor) const
 evalute each shape function
 
template<class Point , class Functor >
void jacobianEach (const Point &x, Functor functor) const
 evalute jacobian of each shape function
 
template<class Point , class Functor >
void hessianEach (const Point &x, Functor functor) const
 evalute hessian of each shape function
 

Detailed Description

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

Interface class for shape function sets.

This class cannot be used itself, it is for documentation purposes only.

Note
Constructor signatures are explicitly not specified by this interface.

Member Typedef Documentation

◆ DomainType

domain type

◆ FunctionSpaceType

template<class FunctionSpace >
typedef FunctionSpace Dune::Fem::ShapeFunctionSet< 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 Point , class Functor >
void Dune::Fem::ShapeFunctionSet< FunctionSpace >::evaluateEach ( const Point &  x,
Functor  functor 
) const

evalute each shape function

Parameters
[in]xcoordinate or quadrature point
[in]functorfunctor call for evaluating each shape function

The functor has to be a copyable object satisfying the following interface:

struct Functor
{
template< class Value >
void operator() ( const int shapeFunction, const Value &value );
};

◆ hessianEach()

template<class FunctionSpace >
template<class Point , class Functor >
void Dune::Fem::ShapeFunctionSet< FunctionSpace >::hessianEach ( const Point &  x,
Functor  functor 
) const

evalute hessian of each shape function

Parameters
[in]xcoordinate or quadrature point
[in]functorfunctor call for evaluating the hessian of each shape function

The functor has to be a copyable object satisfying the following interface:

struct Functor
{
template< class Hessian >
void operator() ( const int shapeFunction, const Hessian &hessian );
};

◆ jacobianEach()

template<class FunctionSpace >
template<class Point , class Functor >
void Dune::Fem::ShapeFunctionSet< FunctionSpace >::jacobianEach ( const Point &  x,
Functor  functor 
) const

evalute jacobian of each shape function

Parameters
[in]xcoordinate or quadrature point
[in]functorfunctor call for evaluating the jacobian of each shape function

The functor has to be a copyable object satisfying the following interface:

struct Functor
{
template< class Jacobian >
void operator() ( const int shapeFunction, const Jacobian &jacobian );
};

◆ order()

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

return order of shape functions

◆ size()

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

return number of shape functions


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