pathsim.solvers.rkf78 module

class pathsim.solvers.rkf78.RKF78(*solver_args, **solver_kwargs)[source]

Bases: ExplicitRungeKutta

13-stage 7-th order embedded Runge-Kutta-Fehlberg method with 8-th order truncation error estimate that can be used to adaptively control the timestep.

This solver is a great choice if extremely high accuracy is required. It is also almost symplectic and therefore quite suitable for conservation systems such as celestial dynamics, etc.