3#ifndef DUNE_FUNCTION_HH
4#define DUNE_FUNCTION_HH
26 template <
class Domain,
class Range>
29 typedef typename std::remove_cv<typename std::remove_reference< Domain >::type >::type RawDomainType;
30 typedef typename std::remove_cv<typename std::remove_reference< Range >::type >::type RawRangeType;
65 template <
class DomainType,
class RangeType>
67 public Function<const DomainType&, RangeType&>
Traits for type conversions and type information.
Dune namespace.
Definition alignment.hh:11
Base class template for function classes.
Definition function.hh:28
RawDomainType DomainType
Raw type of output variable with removed reference and constness.
Definition function.hh:38
void evaluate(const typename Traits::DomainType &x, typename Traits::RangeType &y) const
Function evaluation.
RawRangeType RangeType
Raw type of input variable with removed reference and constness.
Definition function.hh:35
Traits class containing raw types.
Definition function.hh:42
RawDomainType DomainType
Definition function.hh:43
RawRangeType RangeType
Definition function.hh:44
Virtual base class template for function classes.
Definition function.hh:68
Function< constDomainType &, RangeType & >::Traits Traits
Definition function.hh:70
virtual ~VirtualFunction()
Definition function.hh:72
virtual void evaluate(const typename Traits::DomainType &x, typename Traits::RangeType &y) const =0
Function evaluation.