Dune::Function< Domain, Range > Class Template Reference
[Common]

Base class template for function classes. More...

#include <dune/common/function.hh>

List of all members.

Classes

struct  Traits
 Traits class containing raw types. More...

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

void evaluate (const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Function evaluation.

Detailed Description

template<class Domain, class Range>
class Dune::Function< Domain, Range >

Base class template for function classes.

Template Parameters:
Domain Type of input variable. This could be some 'const T' or 'const T&'.
Range Type of output variable. This should be some non-const 'T&' to allow to return results.

Member Typedef Documentation

template<class Domain, class Range>
typedef RawDomainType Dune::Function< Domain, Range >::DomainType

Raw type of output variable with removed reference and constness.

template<class Domain, class Range>
typedef RawRangeType Dune::Function< Domain, Range >::RangeType

Raw type of input variable with removed reference and constness.


Member Function Documentation

template<class Domain, class Range>
void Dune::Function< Domain, Range >::evaluate ( const typename Traits::DomainType x,
typename Traits::RangeType y 
) const

Function evaluation.

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

Reimplemented in Dune::VirtualFunction< DomainType, RangeType >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1