#include <solver.hpp>
State classes need to implement operator+(state) const, operator*(double) const, and derivative(double) const.
Definition at line 49 of file solver.hpp.
Public Member Functions | |
virtual S | next (const S &x, const double &t, const double &dt)=0 |
virtual S next | ( | const S & | x, | |
const double & | t, | |||
const double & | dt | |||
) | [pure virtual] |
Implemented in euler_solver, and runge_kutta_solver.