Explicit Runge-Kutta (ExplicitRK) — 63 schemes
For a smooth nonstiff problem, classical Runge–Kutta 4 is a useful fixed-step baseline. Choose Dormand–Prince or Tsitouras 5(4) for adaptive steps, and an SSP method when a spatial forward-Euler stability property must be preserved. More stages can improve accuracy or stability at extra RHS cost.
One-step explicit RK on the generic Butcher tableau, driven by the single
butcher.RungeKuttaB path: a stage , then
. One step costs right-hand-side
evaluations ( under first-stage reuse for the FSAL tableaus below). No
solve, no matrix — this is the family for non-stiff dynamics.
Tableaus are stored as butcherTableau NamedTuples (.a, .b, .c); embedded
pairs store .b as a tuple (b_main, b_embedded) and the step returns the pair
difference as IntegrationResult.error for step-size control (see
solver). Every tableau below is the one in schemes.coefficients.explicit,
transcribed exactly.
Order 1
Forward Euler
Stability interval on the real axis. FSAL-eligible (the one stage is the next step's first stage; reuse costs no order). The baseline.
Explicit Euler (position/velocity form)
The first-order system form of the second-order-ODE update
,
for systems in position/velocity form (euler.integrateExplicitEuler); the
"baseline alias" of Forward Euler for that state shape. One evaluation.
Order 2
The three two-stage order-2 tableaus below share the stability function (real-axis interval ); they differ only in node placement.
Midpoint (ExplicitRK.rungeKutta2)
Heun 2 (heunsMethod)
Ralston 2 (ralston2nd)
EPEC / EPEC Modified
EPEC and EPECmodified (the pySPH evaluate–predict–evaluate–correct
spelling) are the same two tableaus under different names: EPEC ≡ Midpoint,
EPEC Modified ≡ Heun 2.
KYKSSPRK42 and KYK2014DGSSPRK_3S2
The two Kubatko–Yeager–Ketcheson DG-optimized SSP methods (Kubatko, Yeager & Ketcheson, J. Sci. Comput. 60 (2014) 313-344; coefficients as stored by OrdinaryDiffEq v7.8.1). 3–4 stages, so their stability functions are not the shared order-2 one above; ODE's published SSP coefficients are the DG-context values of the paper, and the library's upwind-model measurements (which the tests pin) differ:
| Method | Stages | SSP (measured) | Real axis |
|---|---|---|---|
| KYKSSPRK42 | 4 | 2.2838 (ODE publishes 2.459 = the final-map-only CFL) | |
| KYK2014DGSSPRK_3S2 | 3 | 1.8939 (ODE publishes 0.8417, the paper's DG-context value) |
Full tableaus in schemes.coefficients.explicit; not FSAL.
Alshina 2(1) (ExplicitRK.arushina2)
Order 2 / embedded 1, 2 stages (Alshina, Zaks & Kalitkin, Computational Mathematics and Mathematical Physics 48.3 (2008) 395-405; coefficients as stored by OrdinaryDiffEq v7.8.1): -rows , , , . The embedded branch is exactly Euler, so the estimate is the embedded branch's local error. Measured: SSP coefficient and real-axis interval ; not FSAL ().
Order 3 (three evaluations)
All three-stage order-3 tableaus share the stability function (real axis ); the stage-3 map, which separates them at the stage level, is what the TVD classification measures (see the numerical record).
Classical RK3 (ExplicitRK.rungeKutta3)
Heun 3 (heunsMethod3rd)
Ralston 3 (ralston3rd)
Wray 3 (Wray3rd)
SSP RK3 (SSPRK3)
Shu-Osher third-order SSP: , SSP coefficient (the stage maps are convex combinations exactly up to CFL 1):
TVD RK3 (TVDRK3) is the same Shu-Osher scheme written as the hand-rolled
conservative/TVD update (no tableau object; algebraically identical — pinned to
the actual driver by tests/test_tvd.py). TVD RK2 is the two-stage
Shu-Osher form, likewise hand-rolled.
Ruuth's optimized SSP methods (SSPRK53, SSPRK63, SSPRK73, SSPRK83)
Ruuth's globally optimized order-3 SSP methods (Ruuth, Mathematics of
Computation 75.253 (2006) 183-207; coefficients as stored by OrdinaryDiffEq
v7.8.1). 5–8 stages — more than the three-evaluation tableaus above — with
the largest SSP coefficients in the registry short of SSPRK(10,4); ODE's
published ssp_coefficient agrees with the measured to within 6.3e-4:
| Method | Stages | SSP (measured) | Real axis |
|---|---|---|---|
| SSPRK53 | 5 | 2.6506 | |
| SSPRK63 | 6 | 3.5184 | |
| SSPRK73 | 7 | 4.2879 (beyond the landscape scan cap; the table below reports 4) | |
| SSPRK83 | 8 | 5.1071 (beyond the landscape scan cap; the table below reports 4) |
Full tableaus in schemes.coefficients.explicit; not FSAL. SSPRK73's coefficients inherit a
1e-6 slack: ODE stores alpha73/alpha76 at 6 digits.
SSPRK43 and SSPRK432 (the 3(2) pairs)
The 4-stage order-3 SSP method of Kraaijevanger (Kraaijevanger, BIT 31.3 (1991) 482-528) with an embedded order-2 estimate (Conde, Fekete & Shadid, arXiv:1806.08693; coefficients as stored by OrdinaryDiffEq v7.8.1). One , two choices of embedded weight:
SSPRK43's embedded weight is and
SSPRK432's — both order 2
(, ), so in both the
propagated-minus-embedded difference is the embedded branch's
local error and both drive the adaptive controller
(tests/test_adaptive.py::test_adaptive_loop_smoke_on_new_ssprk_pairs).
Stage 3 is evaluated at — the node ordering is
, not monotone. Measured: exact SSP coefficient
(matching ODE's published value) and real-axis interval
for both; not FSAL. These are the registry's SSP 3(2) pairs —
adaptive step-size control on a strongly-stability-preserving step, for
problems where Dormand-Prince's is unacceptable.
SSPRK932 (9-stage order 3, fixed step)
The 9-stage order-3 SSP method of Gottlieb–Ketcheson–Shu (Gottlieb, Ketcheson & Shu, Strong Stability Preserving Runge–Kutta and Multistep Time Discretizations, World Scientific, 2011; coefficients as stored by OrdinaryDiffEq v7.8.1): a six-stage forward-Euler cascade (), a blend