KASKADE 7 development version
Loading...
Searching...
No Matches

Namespace of views on a FunctionSpaceElement Views on Function SpaceElements can be used in a restricted sense like FunctionSpaceElements. The idea is to transform a given function to another function while evaluating it at a certain point. Such a view has provide certain functionality: More...

Classes

class  AbsSquare
class  Difference
class  Gradient
 Derivative of a given finite element function. More...
class  GradientAbsSquare
 A function view returning the square of the Frobenius norm of a function's derivative. More...

Functions

template<class Function>
Gradient< Function, false > gradient (Function const &f)
 creates a function view of the gradient
template<class Function>
Gradient< Function, true > gradientAsVector (Function const &f)
 creates a function view of the gradient

Detailed Description

Namespace of views on a FunctionSpaceElement Views on Function SpaceElements can be used in a restricted sense like FunctionSpaceElements. The idea is to transform a given function to another function while evaluating it at a certain point. Such a view has provide certain functionality:

Public Types::

Usually, views are templates over a Function, and they can inherit their types

Member Functions

  • Space const& space() const (returns the space, the function lives on)
  • template<class SFS> int order(SFS const& sfs) const (order of integration)

Usually these mamber functions pass over the values from the function that is viewed on the order of integration may have to be changed, according to the transformation, done.

  • ValueType value(typename Function::Space::Evaluator const& evaluator) const

return the transformed value. Usually value(evaluator) is called for the function that is viewed on. Then its value is transformed.

Examples for such views are given by AbsSquare, Gradient, Difference