pathsim.solvers.rkf21 module
- class pathsim.solvers.rkf21.RKF21(*solver_args, **solver_kwargs)[source]
Bases:
ExplicitRungeKutta3-stage 2-nd order embedded Runge-Kutta-Fehlberg method with 2-nd order truncation error estimate that can be used to adaptively control the timestep.
This is an absolute classic, the three stages make it relatively cheap, but its only second order and the error estimate is not that accurate. However, if you need some kind of adaptive integrator, and the timestep is not limited by the local truncation error, this solver might be a good choice.