2 #ifndef DUNE_PDELAB_FUNCTION_BINDTIME_HH 3 #define DUNE_PDELAB_FUNCTION_BINDTIME_HH 5 #include <dune/common/indices.hh> 6 #include <dune/functions/common/signature.hh> 11 template<
typename F,
typename Placeholder>
18 template<
typename Domain>
21 return swap_arguments(d,_t,_p);
31 template<
typename Domain>
32 auto swap_arguments(
const Domain& d,
double t,
const index_constant<1>&)
const 36 template<
typename Domain>
37 auto swap_arguments(
const Domain& d,
double t,
const index_constant<2>&)
const 43 template<
typename F,
typename Placeholder>
53 #endif // DUNE_PDELAB_FUNCTION_BINDTIME_HH SetTimeWrapper< F, Placeholder > bindTime(F &&f, Placeholder p)
Definition: bindtime.hh:45
void setTime(double t)
Definition: bindtime.hh:23
For backward compatibility – Do not use this!
Definition: adaptivity.hh:27
const P & p
Definition: constraints.hh:147
SetTimeWrapper(F &&f, Placeholder p)
Definition: bindtime.hh:15
auto operator()(const Domain &d) const
Definition: bindtime.hh:19
Definition: bindtime.hh:12