pathsim.solvers.ssprk34 module

class pathsim.solvers.ssprk34.SSPRK34(*solver_args, **solver_kwargs)[source]

Bases: ExplicitRungeKutta

Strong Stability Preserving (SSP) 3-rd order 4 stage (3,4) Runge-Kutta method

This integrator has one more stage then SSPRK33 but is also 3-rd order. So in terms or accuracy, they are the same but the 4-th stage gives quite a lot more stability. The stability region includes the point -4 on the real axis and is even more stable then the classical ‘RK4’ method in this aspect. But again it is 33% more expensive then SSPRK33 due to the additional stage.

If super high stability is required, this might be a good choice.