Skip to content

P2 SSP coefficients ​

IDGroupTypeBackendsFigureProgram
P2PropertiesPCPU (gfortran, nvfortran, ifx; R8P and R4P); the limiter also on the devicenoselah_test_schemes, selah_test_tableau_forms, selah_vv_stability, selah_test_stage_euler

Case and scope ​

SELAH never types an SSP coefficient: butcher(scheme)%ssp_coefficient is computed from the scheme's Shu–Osher form, C=minβik>0αik/βik, or 0 if any coefficient is negative. The case checks the computed values against the published optimal ones. It also checks the function on hand-made forms, and the disc property A5 derives from C.

Setup ​

SchemePublished CSourceEffective C/s
euler, ssp-22, ssp-331Shu & Osher (1988); Gottlieb & Shu (1998)1, 0.5, 0.333
ssp-541.508Spiteri & Ruuth (2002)0.302
ssp-1046Ketcheson (2008)0.6
rk4, lsrk-33, lsrk-54not SSP (0)

Bounds: |C−1|≤64ε for euler, ssp-22, ssp-33; |C−6|≤64ε⋅6 for ssp-104; |C−1.508|<5⋅10−4 for ssp-54 (Spiteri & Ruuth publish C to four digits; SELAH computes 1.5082 from their 15-digit coefficients); exactly 0 for rk4 and the 2N schemes.

Program ​

bash
./exe/selah_test_schemes ; ./exe/selah_test_tableau_forms

Results ​

The values are those of the stability table (column C), and every one matches.

Per-stage forward-Euler steps ​

stage_euler_fraction(k) =fk=maxi>kβik/αik, the forward-Euler step (a fraction of Δt) that the residual of stage k enters in the Shu–Osher form: the step a positivity limiter must make admissible at stage k (guide). selah_test_stage_euler checks:

CheckBound
fk = 1 (euler, ssp-22, ssp-33), 1/6 (ssp-104), the row ratios of Spiteri & Ruuth's coefficients (ssp-54: 0.3918, 0.6631, 0.6631, 0.6631, 0.5844)100 ε
the same values in every storage form of the scheme (two-register, Ketcheson)100 ε
maxkfk=1/C100 ε
0 for rk4, lsrk-33, lsrk-54; a planted form with a negative coefficient, or βik>0 with αik=0exact
a stage entering two steps (planted: ratios 1 and 1/2) takes the largerexact
the decay ui′=−λiui, λiΔt = 0.5, 2, 5, 20, the residual of stage k scaled by min(1,1/(λτk)): every stage state ≥0 with τk=fkΔt; some <−0.1 with fkΔt/2; ≥0 with Δt100 ε

Five mutants of the fractions (α/β for β/α; fk=1, ADAM's choice; the last row dropped; the last ratio instead of the largest; C=1) each fail the program.

Findings ​

  • C is a property of a representation. The minimum is taken over the Shu–Osher coefficients SELAH stores, and another Shu–Osher form of the same Butcher tableau can give a larger value. For the catalogue the stored forms are the optimal ones, so C is the scheme's SSP coefficient. For a tableau you build yourself, 0 means "not computed" as well as "not SSP".
  • SSP(10,4) has the best effective coefficient in the catalogue: per residual evaluation it advances twice as far as SSP(5,4) at its strong-stability limit (Cookbook).

GPL-3.0-or-later, BSD-2-Clause, BSD-3-Clause or MIT, at your choice