}
void test(TimeStepping::RungeKutta<Vector<double> > &solver,
- std::function<Vector<double> (double const, Vector<double> const &)> f,
- std::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
- std::function<double (double const)> my)
+ std_cxx1x::function<Vector<double> (double const, Vector<double> const &)> f,
+ std_cxx1x::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+ std_cxx1x::function<double (double const)> my)
{
unsigned int n_time_steps = 1;
unsigned int size = 1;
}
void test2(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double> > &solver,
- std::function<Vector<double> (double const, Vector<double> const &)> f,
- std::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
- std::function<double (double const)> my)
+ std_cxx1x::function<Vector<double> (double const, Vector<double> const &)> f,
+ std_cxx1x::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+ std_cxx1x::function<double (double const)> my)
{
double initial_time = 0.0, final_time = 1.0;
double time_step = 1.0;