Dune::VirtualFunction< DomainType, RangeType > Class Template Reference
[Common (foundation classes)]

Virtual base class template for function classes. More...

#include <dune/common/function.hh>

Inheritance diagram for Dune::VirtualFunction< DomainType, RangeType >:
Inheritance graph

List of all members.

Public Types

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 DomainType &x, RangeType &y) const =0
 Function evaluation.

Detailed Description

template<class DomainType, class RangeType>
class Dune::VirtualFunction< DomainType, RangeType >

Virtual base class template for function classes.

Template Parameters:
DomainType The type of the input variable is 'const DomainType &'
RangeType The type of the output variable is 'RangeType &'

Member Typedef Documentation

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.


Constructor & Destructor Documentation

template<class DomainType , class RangeType >
virtual Dune::VirtualFunction< DomainType, RangeType >::~VirtualFunction (  )  [inline, virtual]

Member Function Documentation

template<class DomainType , class RangeType >
virtual void Dune::VirtualFunction< DomainType, RangeType >::evaluate ( const DomainType x,
RangeType y 
) const [pure virtual]

Function evaluation.

Parameters:
x Argument for function evaluation.
y Result of function evaluation.

Reimplemented from Dune::Function< const DomainType &, RangeType & >.


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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].