Virtual base class template for function classes. More...
#include <dune/common/function.hh>
Public Types | |
typedef Function< const DomainType &, RangeType & > ::Traits | Traits |
typedef RawRangeType | RangeType |
Raw type of input variable with removed reference and constness. | |
typedef RawDomainType | DomainType |
Raw type of output variable with removed reference and constness. | |
Public Member Functions | |
virtual | ~VirtualFunction () |
virtual void | evaluate (const typename Traits::DomainType &x, typename Traits::RangeType &y) const =0 |
Function evaluation. |
Virtual base class template for function classes.
DomainType | The type of the input variable is 'const DomainType &' | |
RangeType | The type of the output variable is 'RangeType &' |
typedef RawDomainType Dune::Function< const DomainType & , RangeType & >::DomainType [inherited] |
Raw type of output variable with removed reference and constness.
typedef RawRangeType Dune::Function< const DomainType & , RangeType & >::RangeType [inherited] |
Raw type of input variable with removed reference and constness.
typedef Function<const DomainType&, RangeType&>::Traits Dune::VirtualFunction< DomainType, RangeType >::Traits |
virtual Dune::VirtualFunction< DomainType, RangeType >::~VirtualFunction | ( | ) | [inline, virtual] |
virtual void Dune::VirtualFunction< DomainType, RangeType >::evaluate | ( | const typename Traits::DomainType & | x, | |
typename Traits::RangeType & | y | |||
) | const [pure virtual] |
Function evaluation.
x | Argument for function evaluation. | |
y | Result of function evaluation. |
Reimplemented from Dune::Function< const DomainType &, RangeType & >.