pathsim.solvers.ssprk22 module
- class pathsim.solvers.ssprk22.SSPRK22(*solver_args, **solver_kwargs)[source]
Bases:
ExplicitRungeKuttaTwo-stage, 2nd order, Strong Stability Preserving (SSP) explicit Runge-Kutta method.
Also known as the explicit midpoint method or Heun’s method. SSP methods are designed to preserve stability properties (like total variation diminishing - TVD) when solving hyperbolic PDEs, but are also effective general-purpose low-order explicit methods.
- Characteristics:
Order: 2
Stages: 2
Explicit (SSP)
Fixed timestep only
Good balance of simplicity, cost, and stability (for an explicit method).