Dune Core Modules (2.9.1)
function.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
6#warning This file is deprecated after Dune 2.7! Use C++ function objects and std::function stuff instead!
42 typedef typename std::remove_cv<typename std::remove_reference< Domain >::type >::type RawDomainType;
43 typedef typename std::remove_cv<typename std::remove_reference< Range >::type >::type RawRangeType;
98 virtual void evaluate(const typename Traits::DomainType& x, typename Traits::RangeType& y) const = 0;
RawDomainType DomainType
Raw type of output variable with removed reference and constness.
Definition: function.hh:51
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:48
virtual void evaluate(const typename Traits::DomainType &x, typename Traits::RangeType &y) const =0
Function evaluation.
Definition of the DUNE_NO_DEPRECATED_* macros.
Impl::LambdaVirtualFunction< Domain, Range, std::decay_t< F > > makeVirtualFunction(F &&f)
make VirtualFunction out of a function object
Definition: function.hh:153
#define DUNE_NO_DEPRECATED_END
Ignore deprecation warnings (end)
Definition: deprecated.hh:38
#define DUNE_NO_DEPRECATED_BEGIN
Ignore deprecation warnings (start)
Definition: deprecated.hh:32
Traits for type conversions and type information.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)