P1 Strong stability (TVD)
| ID | Group | Type | Backends | Figure | Program |
|---|---|---|---|---|---|
| P1 | Properties | P | CPU (gfortran, nvfortran, ifx; R8P and R4P) | yes, and a cast | selah_vv_ssp_tvd |
Case and scope
Strong stability is the reason SSP schemes exist. If a spatial operator keeps a convex functional bounded under a forward-Euler step up to
What the case catches:
- a scheme or coefficient that is not SSP as claimed: the total variation grows below
; - a wrong SSP coefficient: the bound is checked at the value
butcher(scheme)reports.
Setup
| Item | Value |
|---|---|
| Operator | first-order upwind for |
| Data | a square wave ( |
| Integrator | every scheme through the stepper, Butcher form with stages on q, 60 steps per CFL |
| Sweep | |
| Bound | for every SSP scheme and every |
| Reported | the first swept |
Program
./exe/selah_vv_ssp_tvd
SELAH_VV_DIR=exe/vv-data ./exe/selah_vv_ssp_tvd # ssp-tvd-sweep.dat, ssp-tvd-summary.dat, ssp-tvd-frames-*.datResults

The largest one-step growth of the total variation over 60 steps, against the CFL. Left: the SSP schemes, with the CFL in units of their coefficient; the dashed line is
| Scheme | SSP coefficient | TV first grows at | that |
|---|---|---|---|
euler | 1.0000 | 1.050 | 1.050 |
ssp-22 | 1.0000 | 1.050 | 1.050 |
ssp-33 | 1.0000 | 1.050 | 1.050 |
ssp-54 | 1.5082 | 1.885 | 1.250 |
ssp-104 | 6.0000 | 6.300 | 1.050 |
rk4 | — (not SSP) | 1.050 | — |
lsrk-33 | — (not SSP) | 1.050 | — |
lsrk-54 | — (not SSP) | 1.700 | — |
Sweep step 0.05 C (0.05 for the schemes that are not SSP): a threshold is the first swept
Findings
- Every SSP scheme is TVD up to its coefficient, as the theorem promises.
- On this linear operator euler, ssp-22, ssp-33 and ssp-104 lose the property at the first swept CFL above
, 1.05 C (the sweep's resolution): their bound is sharp here. ssp-54 holds up to 1.25 C. is the bound valid for every operator that is TVD under forward Euler; a particular operator can tolerate more. Do not size a step on a measured threshold. - rk4 and lsrk-33 lose the TVD property just above
, lsrk-54 at 1.7: without an SSP coefficient there is no guarantee at any for a nonlinear operator.