13 template <
typename T,
typename X,
typename F>
class Solver1D
27 {
return step(t, dt, f, x, dx);}
32 virtual bool step(
const T &t,
41 template <
typename T,
typename X,
typename F>
class Solver
51 const std::vector<F> &f,
55 {
return step(t, dt, f, x, dx);}
60 virtual bool step(
const T &t,
62 const std::vector<F> &f,
virtual ~Solver1D()
Definition: ode.hpp:18
bool operator()(const T &t, const T &dt, const std::vector< F > &f, std::vector< X > &x, std::vector< X > &dx) const
Definition: ode.hpp:49
bool operator()(const T &t, const T &dt, F &f, X &x, X &dx) const
Definition: ode.hpp:21
virtual bool step(const T &t, const T &dt, F &f, X &x, X &dx) const =0
virtual ~Solver()
Definition: ode.hpp:46
virtual bool step(const T &t, const T &dt, const std::vector< F > &f, std::vector< X > &x, std::vector< X > &dx) const =0