5#ifndef DUNE_LOCALFUNCTIONS_COMMON_LOCALINTERPOLATION_HH
6#define DUNE_LOCALFUNCTIONS_COMMON_LOCALINTERPOLATION_HH
10#include <dune/common/concept.hh>
19 template<
class Domain,
class Range>
20 struct FunctionWithEvaluate
23 auto require(F&& f) ->
decltype(
24 f.evaluate(std::declval<Domain>(), std::declval<Range&>())
29 template<
class Domain>
30 struct FunctionWithCallOperator
33 auto require(F&& f) ->
decltype(
34 f(std::declval<Domain>())
40 template<
class Domain,
class F,
41 std::enable_if_t<models<FunctionWithCallOperator<Domain>, F>(),
int> = 0>
42 [[deprecated(
"The utility function makeFunctionWithCallOperator() is deprecated and will be removed after 2.10."
43 "Downstream modules no longer need to call this function since interpolate() no-longer supports non-callable functions.")]]
44 decltype(
auto) makeFunctionWithCallOperator(
const F& f)
Definition bdfmcube.hh:18