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&>
RawDomainType DomainType
Definition: function.hh:43
Virtual base class template for function classes.
Definition: function.hh:66
void evaluate(const typename Traits::DomainType &x, typename Traits::RangeType &y) const
Function evaluation.
RawDomainType DomainType
Raw type of output variable with removed reference and constness.
Definition: function.hh:38
Dune namespace.
Definition: alignment.hh:10
Function< const DomainType &, RangeType & >::Traits Traits
Definition: function.hh:70
Traits for type conversions and type information.
virtual ~VirtualFunction()
Definition: function.hh:72
RawRangeType RangeType
Definition: function.hh:44
RawRangeType RangeType
Raw type of input variable with removed reference and constness.
Definition: function.hh:35
Traits class containing raw types.
Definition: function.hh:41
Base class template for function classes.
Definition: function.hh:27