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>
44 SetTimeWrapper<F,Placeholder>
const P & p
Definition: constraints.hh:148
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28
SetTimeWrapper< F, Placeholder > bindTime(F &&f, Placeholder p)
Definition: bindtime.hh:45
Definition: bindtime.hh:13
auto operator()(const Domain &d) const
Definition: bindtime.hh:19
SetTimeWrapper(F &&f, Placeholder p)
Definition: bindtime.hh:15
void setTime(double t)
Definition: bindtime.hh:23