adevs
|
#include <adevs_hybrid.h>
Public Member Functions | |
ode_solver (ode_system< X > *sys) | |
virtual double | integrate (double *q, double h_lim)=0 |
virtual void | advance (double *q, double h)=0 |
virtual | ~ode_solver () |
Destructor. | |
Protected Attributes | |
ode_system< X > * | sys |
This is the interface for numerical integrators that are to be used with the Hybrid class.
|
inline |
Create and ode_solver that will integrate the der_func method of the supplied ode_system.
|
pure virtual |
Advance the system through exactly h units of time.
Implemented in adevs::rk_45< X >, and adevs::corrected_euler< X >.
Referenced by adevs::event_locator_impl< X >::find_events().
|
pure virtual |
Take an integration step from state q of at most size h_lim and return the step size that was actually used. Copy the result of the integration step to q.
Implemented in adevs::rk_45< X >, and adevs::corrected_euler< X >.