Schemes
SELAH's L0 layer holds the coefficients: every scheme in the form its source publishes, the other forms derived from it, and every value verified by a test. Nothing in this layer touches a field. The kernels (L1) and the stepper (L2) read these coefficients.
81 schemes, eight storage forms
One scheme can run in several storage forms: the same stages and the same solution to round-off, with fewer registers. lsrk-144 needs fifteen field-sized buffers in Butcher form and two in Williamson 2N.
| Scheme | Stages | Order | SSP C | Butcher | Shu–Osher 2R | Williamson 2N | Ketcheson 2R | Splitting | Leapfrog | Linear SSP 2R | Multistep |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Runge–Kutta | |||||||||||
euler | 1 | 1 | 1 | 2 (the fewest) | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form |
ssp-22 | 2 | 2 | 1 | 3 | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form |
ssp-33 | 3 | 3 | 1 | 4 | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form |
ssp-54 | 5 | 4 | 1.5082 | 6 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
ssp-104 | 10 | 4 | 6 | 11 | no such form | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form |
rk4 | 4 | 4 | not SSP | 5 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
lsrk-33 | 3 | 3 | not SSP | 4 | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form |
lsrk-54 | 5 | 4 | not SSP | 6 | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form |
lsrk-64 | 6 | 4 | not SSP | 7 | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form |
lsrk-74 | 7 | 4 | not SSP | 8 | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form |
lsrk-124 | 12 | 4 | not SSP | 13 | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form |
lsrk-134 | 13 | 4 | not SSP | 14 | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form |
lsrk-144 | 14 | 4 | not SSP | 15 | no such form | 2 (the fewest) | no such form | no such form | no such form | no such form | no such form |
heun-euler-21 | 2 | 2 | not SSP | 3 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
cash-karp-54 | 6 | 5 | not SSP | 7 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
dopri-54 | 7 | 5 | not SSP | 8 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
calvo-65 | 9 | 6 | not SSP | 10 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
feagin-108 | 17 | 10 | not SSP | 18 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
runge-2 | 2 | 2 | not SSP | 3 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
heun-2 | 2 | 2 | not SSP | 3 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
kutta-3 | 3 | 3 | not SSP | 4 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
ralston-4 | 4 | 4 | not SSP | 5 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
shanks-4 | 4 | 4 | not SSP | 5 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
butcher-6 | 7 | 6 | not SSP | 8 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
ssp-53 | 5 | 3 | 2.6506 | 6 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
jiang-shu-4 | 4 | 4 | not SSP | 5 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
ssp-43 | 4 | 3 | 2 | 5 | 3 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form |
shanks-7 | 9 | 7 | not SSP | 10 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
shanks-7b | 10 | 7 | not SSP | 11 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
shanks-8 | 12 | 8 | not SSP | 13 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
cooper-verner-8 | 11 | 8 | not SSP | 12 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
tmy-7s | 9 | 7 | not SSP | 10 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
stepanov-10 | 15 | 10 | not SSP | 16 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
zhang-10 | 16 | 10 | not SSP | 17 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
bs-32 | 4 | 3 | not SSP | 5 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
fehlberg-45 | 6 | 4 | not SSP | 7 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
tsitouras-54 | 7 | 5 | not SSP | 8 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
stepanov-54 | 7 | 5 | not SSP | 8 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
pp-54a | 7 | 5 | not SSP | 8 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
pp-54b | 6 | 5 | not SSP | 7 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
dopri-65 | 8 | 6 | not SSP | 9 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
tsit-pap-64 | 7 | 6 | not SSP | 8 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-65a | 8 | 6 | not SSP | 9 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-65r | 9 | 6 | not SSP | 10 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
tsit-pap-75 | 9 | 7 | not SSP | 10 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-76e | 10 | 7 | not SSP | 11 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-76r | 10 | 7 | not SSP | 11 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
sharp-smart-76 | 11 | 7 | not SSP | 12 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
fehlberg-78 | 13 | 7 | not SSP | 14 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-78a | 13 | 7 | not SSP | 14 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
tsit-pap-86 | 12 | 8 | not SSP | 13 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
dopri-87 | 13 | 8 | not SSP | 14 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-87e | 13 | 8 | not SSP | 14 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-87r | 13 | 8 | not SSP | 14 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
enright-ver-87 | 13 | 8 | not SSP | 14 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
fehlberg-89 | 17 | 8 | not SSP | 18 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-89 | 16 | 8 | not SSP | 17 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
tsitouras-98 | 16 | 9 | not SSP | 17 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-98e | 16 | 9 | not SSP | 17 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
verner-98r | 16 | 9 | not SSP | 17 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
sharp-98 | 16 | 9 | not SSP | 17 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
dopri-853 | 12 | 8 | not SSP | 13 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
bs-54 | 8 | 5 | not SSP | 9 (the fewest) | no such form | no such form | no such form | no such form | no such form | no such form | no such form |
| Splitting | |||||||||||
strang | 3flows | 2 | not SSP | no such form | no such form | no such form | no such form | 1 (the fewest) | no such form | no such form | no such form |
yoshida-4 | 7flows | 4 | not SSP | no such form | no such form | no such form | no such form | 1 (the fewest) | no such form | no such form | no such form |
blanes-moan-s6 | 13flows | 4 | not SSP | no such form | no such form | no such form | no such form | 1 (the fewest) | no such form | no such form | no such form |
blanes-moan-s10 | 21flows | 6 | not SSP | no such form | no such form | no such form | no such form | 1 (the fewest) | no such form | no such form | no such form |
lie | 2flows | 1 | not SSP | composes the field step with a flow of yours: additive_splitting only, no storage form | |||||||
| Leapfrog | |||||||||||
leapfrog | 1two-step | 2 | not SSP | no such form | no such form | no such form | no such form | no such form | 2 (the fewest) | no such form | no such form |
leapfrog-raw | 1two-step | 2amplitude 1 | not SSP | no such form | no such form | no such form | no such form | no such form | 2 (the fewest) | no such form | no such form |
| Multistep | |||||||||||
lmm-ssp-32 | 13-step | 2 | 0.5 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 3 (the fewest) |
lmm-ssp-43 | 14-step | 3 | 0.3333 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 9 (the fewest) |
lmm-ssp-53 | 15-step | 3 | 0.5 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 11 (the fewest) |
lmm-ssp-vss-22 | 12-step | 2 | not SSP | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 2 (the fewest) |
lmm-ssp-vss-32 | 13-step | 2 | 0.5 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 3 (the fewest) |
lmm-ssp-vss-33 | 13-step | 3 | not SSP | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 7 (the fewest) |
lmm-ssp-vss-43 | 14-step | 3 | 0.3333 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 9 (the fewest) |
lmm-ssp-vss-53 | 15-step | 3 | 0.5 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 11 (the fewest) |
msrk-ssp-223 | 12-step | 3 | 0.7321 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 5 (the fewest) |
msrk-ssp-323 | 13-step | 3 | 1.1129 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 7 (the fewest) |
msrk-ssp-458 | 14-step | 8 | 0.2391 | no such form | no such form | no such form | no such form | no such form | no such form | no such form | 24 (the fewest) |
registers_needed)the fewest for that scheme· no such formRunge–Kutta schemes
| Name | Stages | Order | SSP coefficient | Primary form | Other forms | Source |
|---|---|---|---|---|---|---|
euler | 1 | 1 | 1 | Butcher | Shu–Osher, two-register | forward Euler |
ssp-22 | 2 | 2 | 1 | Butcher | Shu–Osher, two-register | Shu & Osher (1988) |
ssp-33 | 3 | 3 | 1 | Butcher | Shu–Osher, two-register | Shu & Osher (1988) |
ssp-54 | 5 | 4 | 1.508180049 | Shu–Osher | Butcher | Spiteri & Ruuth (2002); 15 digits of Isherwood, Grant & Gottlieb (2018) |
ssp-104 | 10 | 4 | 6 | Shu–Osher | Butcher | Ketcheson (2008) |
rk4 | 4 | 4 | — | Butcher | — | Kutta (1901) |
lsrk-33 | 3 | 3 | — | Williamson 2N | Butcher | Williamson (1980) |
lsrk-54 | 5 | 4 | — | Williamson 2N | Butcher | Carpenter & Kennedy (1994), NASA TM-109112 |
lsrk-64 | 6 | 4 | — | Williamson 2N | Butcher | Allampalli, Hixon, Nallasamy & Sawyer (2009), HALE-RK 6 |
lsrk-74 | 7 | 4 | — | Williamson 2N | Butcher | Allampalli, Hixon, Nallasamy & Sawyer (2009), HALE-RK 7 |
lsrk-124 | 12 | 4 | — | Williamson 2N | Butcher | Niegemann, Diehl & Busch (2012) |
lsrk-134 | 13 | 4 | — | Williamson 2N | Butcher | Niegemann, Diehl & Busch (2012) |
lsrk-144 | 14 | 4 | — | Williamson 2N | Butcher | Niegemann, Diehl & Busch (2012) |
heun-euler-21 | 2 | 2(1) | — | Butcher | — | Heun's method, forward Euler embedded |
cash-karp-54 | 6 | 5(4) | — | Butcher | — | Cash & Karp (1990) |
dopri-54 | 7 | 5(4) | — | Butcher | — | Dormand & Prince (1980) |
calvo-65 | 9 | 6(5) | — | Butcher | — | Calvo, Montijano & Rández (1990) |
feagin-108 | 17 | 10(8) | — | Butcher | — | Feagin (2007) |
runge-2 | 2 | 2 | — | Butcher | — | Runge (1895) |
heun-2 | 2 | 2 | — | Butcher | — | Heun (1900) |
kutta-3 | 3 | 3 | — | Butcher | — | Kutta (1901) |
ralston-4 | 4 | 4 | — | Butcher | — | Ralston (1962) |
shanks-4 | 4 | 4 | — | Butcher | — | Shanks (1966) |
butcher-6 | 7 | 6 | — | Butcher | — | Butcher (1964) |
ssp-53 | 5 | 3 | 2.650629191 | Shu–Osher | Butcher | Ruuth (2006) |
jiang-shu-4 | 4 | 4 | — | Shu–Osher | Butcher | Jiang & Shu (1996) |
ssp-43 | 4 | 3(2) | 2 | two-register | Butcher, Shu–Osher | Kraaijevanger (1991) |
shanks-7 | 9 | 7 | — | Butcher | — | Shanks (1966) |
shanks-7b | 10 | 7 | — | Butcher | — | Shanks (1966) |
shanks-8 | 12 | 8 | — | Butcher | — | Shanks (1966) |
cooper-verner-8 | 11 | 8 | — | Butcher | — | Cooper & Verner (1972) |
tmy-7s | 9 | 7 | — | Butcher | — | Tanaka, Muramatsu & Yamashita (1992) |
stepanov-10 | 15 | 10 | — | Butcher | — | Stepanov (2025) |
zhang-10 | 16 | 10 | — | Butcher | — | Zhang (2019) |
bs-32 | 4 | 3(2) | — | Butcher | — | Bogacki & Shampine (1989) |
fehlberg-45 | 6 | 4(5) | — | Butcher | — | Fehlberg (1969) |
tsitouras-54 | 7 | 5(4) | — | Butcher | — | Tsitouras (2011) |
stepanov-54 | 7 | 5(4) | — | Butcher | — | Stepanov (2022) |
pp-54a | 7 | 5(4) | — | Butcher | — | Papakostas & Papageorgiou (1996) |
pp-54b | 6 | 5(4) | — | Butcher | — | Papakostas & Papageorgiou (1996) |
dopri-65 | 8 | 6(5) | — | Butcher | — | Prince & Dormand (1981) |
tsit-pap-64 | 7 | 6(4) | — | Butcher | — | Tsitouras & Papakostas (1999) |
verner-65a | 8 | 6(5) | — | Butcher | — | Verner (1978) |
verner-65r | 9 | 6(5) | — | Butcher | — | Verner (2010) |
tsit-pap-75 | 9 | 7(5) | — | Butcher | — | Tsitouras & Papakostas (1999) |
verner-76e | 10 | 7(6) | — | Butcher | — | Verner (2010) |
verner-76r | 10 | 7(6) | — | Butcher | — | Verner (2010) |
sharp-smart-76 | 11 | 7(6) | — | Butcher | — | Sharp & Smart (1993) |
fehlberg-78 | 13 | 7(8) | — | Butcher | — | Fehlberg (1968) |
verner-78a | 13 | 7(8) | — | Butcher | — | Verner (1978) |
tsit-pap-86 | 12 | 8(6) | — | Butcher | — | Tsitouras & Papakostas (1999) |
dopri-87 | 13 | 8(7) | — | Butcher | — | Prince & Dormand (1981) |
verner-87e | 13 | 8(7) | — | Butcher | — | Verner (2010) |
verner-87r | 13 | 8(7) | — | Butcher | — | Verner (2010) |
enright-ver-87 | 13 | 8(7) | — | Butcher | — | Enright (1993) |
fehlberg-89 | 17 | 8(9) | — | Butcher | — | Fehlberg (1968) |
verner-89 | 16 | 8(9) | — | Butcher | — | Verner (1978) |
tsitouras-98 | 16 | 9(8) | — | Butcher | — | Tsitouras (2001) |
verner-98e | 16 | 9(8) | — | Butcher | — | Verner (2010) |
verner-98r | 16 | 9(8) | — | Butcher | — | Verner (2010) |
sharp-98 | 16 | 9(8) | — | Butcher | — | Sharp (2000) |
dopri-853 | 12 | 8(5,3) | — | Butcher | — | Hairer, Nørsett & Wanner (1993) |
bs-54 | 8 | 5(4,4) | — | Butcher | — | Bogacki & Shampine (1996) |
The SSP coefficient is computed from the Shu–Osher form (ssp_coefficient), never typed in. It is the minimum of
The names are the constants SCHEME_EULER, SCHEME_SSP_22, SCHEME_SSP_33, SCHEME_SSP_54, SCHEME_SSP_104, SCHEME_RK4, SCHEME_LSRK_33, SCHEME_LSRK_54, SCHEME_LSRK_64, SCHEME_LSRK_74, SCHEME_LSRK_124, SCHEME_LSRK_134, SCHEME_LSRK_144, and the embedded pairs SCHEME_HEUN_EULER_21, SCHEME_CASH_KARP_54, SCHEME_DOPRI_54, SCHEME_CALVO_65 and SCHEME_FEAGIN_108, and the tableaux of issue #11 (below): the classical fixed-step SCHEME_RUNGE_2, SCHEME_HEUN_2, SCHEME_KUTTA_3, SCHEME_RALSTON_4, SCHEME_SHANKS_4 and SCHEME_BUTCHER_6, SCHEME_SSP_53 and SCHEME_JIANG_SHU_4, the embedded SSP pair SCHEME_SSP_43, the high-order fixed-step SCHEME_SHANKS_7, SCHEME_SHANKS_7B, SCHEME_SHANKS_8, SCHEME_COOPER_VERNER_8, SCHEME_TMY_7S, SCHEME_STEPANOV_10 and SCHEME_ZHANG_10, the embedded pairs SCHEME_BS_32, SCHEME_FEHLBERG_45, SCHEME_TSITOURAS_54, SCHEME_STEPANOV_54, SCHEME_PP_54A, SCHEME_PP_54B, SCHEME_DOPRI_65, SCHEME_TSIT_PAP_64, SCHEME_VERNER_65A, SCHEME_VERNER_65R, SCHEME_TSIT_PAP_75, SCHEME_VERNER_76E, SCHEME_VERNER_76R, SCHEME_SHARP_SMART_76, SCHEME_FEHLBERG_78, SCHEME_VERNER_78A, SCHEME_TSIT_PAP_86, SCHEME_DOPRI_87, SCHEME_VERNER_87E, SCHEME_VERNER_87R, SCHEME_ENRIGHT_VER_87, SCHEME_FEHLBERG_89, SCHEME_VERNER_89, SCHEME_TSITOURAS_98, SCHEME_VERNER_98E, SCHEME_VERNER_98R, SCHEME_SHARP_98, and the pairs with two estimates SCHEME_DOPRI_853 and SCHEME_BS_54; RK_SCHEMES lists them all. The order of a pair is that of its advancing weights, the embedded one in parentheses: dopri-54 advances at order 5 (FOODIE names it order 4). The entries of RK_SCHEMES are fixed-length strings padded with blanks: trim them before passing them on. An unknown name gives a tableau of 0 stages.
Every list of names, of every family and in the tests, has the length SCHEME_NAME_LEN (16; FORM_NAME_LEN for the lists of storage forms). An array constructor with a shorter type-spec truncates a longer name without a diagnostic, and a lookup of the truncated name then fails: [character(7) :: 'lsrk-124'] holds lsrk-12, so registers_needed would return −1 and the golden test would skip the scheme. Each family module stops the build when one of its names is not shorter than SCHEME_NAME_LEN, and selah_test_storage checks that every listed name is found.
The coefficient forms
For an autonomous system
- Butcher:
, , . The form the order conditions and the reflux weights are stated in. - Shu–Osher:
, , . With each stage is a convex combination of forward-Euler steps, and the SSP coefficient is . - Two-register Shu–Osher:
: only and the current stage are kept. These are ADAM's runge-kutta-1/2/3(ark,brk,crk). - Williamson 2N:
, .
runge-kutta-2 and runge-kutta-3 of ADAM are ssp-22 and ssp-33 in two-register form: the same methods, with less storage and no access to the per-stage residuals.
Each form is a type, returned by name for the schemes that have it (0 stages for the others) and converted to the Butcher tableau by a pure function; order is optional and sets the tableau's declared order:
| Form | Type and coefficients | By name | To Butcher |
|---|---|---|---|
| Butcher | butcher_tableau: a, b, c, stages, order, ssp_coefficient | butcher(name) | — |
| Shu–Osher | shu_osher_form: alpha, beta of shape | shu_osher(name): the SSP schemes | butcher_from_shu_osher(so [, order]) |
| Two-register Shu–Osher | shu_osher_2r_form: a, b, c | shu_osher_2r(name): euler, ssp-22, ssp-33 | butcher_from_shu_osher_2r(r [, order]); shu_osher_from_2r(r) gives the Shu–Osher form |
| Williamson 2N | williamson_2n_form: a (b ( | williamson_2n(name): lsrk-33, lsrk-54 | butcher_from_williamson_2n(w [, order]) |
The queries on a form, all pure:
| Query | Returns |
|---|---|
is_explicit(bt) | whether the tableau is strictly lower triangular |
ssp_coefficient(so) | |
euler_step_fractions(so) | per stage stage_euler_fraction, Limiters) |
stability_polynomial(bt) | the coefficients |
imag_axis_bound(bt), real_axis_bound(bt) | the largest |
Storage
registers_needed(scheme, form) counts the field-sized buffers a step needs besides the solution, the residual buffer included:
| Form | Buffers | Schemes |
|---|---|---|
FORM_BUTCHER | s + 1 (stage state + s residuals) | every RK scheme |
FORM_SHU_OSHER_2R | 2 | euler, ssp-22, ssp-33 |
FORM_WILLIAMSON_2N | 2 | lsrk-33 to lsrk-144 |
FORM_KETCHESON_2R | 2 | ssp-104 |
FORM_SPLITTING | 1 | every splitting scheme |
FORM_LEAPFROG | 2 (the history, kept across steps, and the residual) | leapfrog, leapfrog-raw |
FORM_LINEAR_SSP_2R | 2 (the running combination and the residual) | lssp-<s>, lssp-<s>-1 |
FORM_MULTISTEP | ab-<k> ( |
ssp-104 is the reason the low-storage forms matter. In Butcher form it needs 11 buffers, but 2 in Ketcheson's. Its effective SSP coefficient per stage is 0.6, against 0.30 for ssp-54.
The linear-SSP family
FOODIE's linear strong-stability-preserving schemes (Gottlieb, Shu & Tadmor 2001), for every stage count LSSP_MAX_STAGES (20):
lssp-<s>chains s Euler steps ofand combines the chain's states with FOODIE's weights : order s, SSP coefficient 1; lssp-<s>-1chains s Euler steps of: order , SSP coefficient 2.
Their order holds on linear autonomous problems only (the conditions of the nonlinear trees fail beyond order 2): butcher_tableau%order is that linear order. lssp_name(s, order_s) writes a name; butcher and registers_needed read it. They run in the Butcher form or in FORM_LINEAR_SSP_2R, two registers whatever s: the chain in q, the running combination R_P (selah_test_lssp checks
The tableaux of issue #11
Issue #11 re-implements explicit Runge–Kutta tableaux from their original papers (none above 17 stages: every stage is a field register). Each is typed into notes/methods/<name>.json as its source prints it (exact rationals and surds, or the paper's decimals with their digit count) and checked by notes/methods-check.py against every rooted-tree condition up to its order in 100-digit arithmetic: within src/lib/selah_schemes_fixed.F90 (and the pairs' module): rationals whose terms are exact in single precision as p/q, every other coefficient as 40 significant digits rounded once by the compiler. A tableau that fails its conditions does not enter: the printed coefficients stay in notes/methods/rejected/ with the residuals that rule them out.
The classical fixed-step schemes:
| Name | Source | Notes |
|---|---|---|
runge-2 | Runge (1895) | the explicit midpoint rule |
heun-2 | Heun (1900) | the tableau of ssp-22, the classical name |
kutta-3 | Kutta (1901) | c = 0, 1/2, 1 |
ralston-4 | Ralston (1962) | minimum error bound; exact surds in √5 from his formula (5.1) at his optimum (he prints 8 places) |
shanks-4 | Shanks (1966) | formula (4-4) |
butcher-6 | Butcher (1964) | seven stages, order 6 (no six-stage order-6 scheme exists) |
The high-order fixed-step schemes. Above order 6 the observed order is beyond what double-precision coefficients show on a few steps; their order is the conditions' (checked in quadruple precision by selah_test_schemes too):
| Name | Source | Notes |
|---|---|---|
shanks-7 | Shanks (1966) | formula (7-9), 9 stages |
shanks-7b | Shanks (1966) | formula (8-10), 10 stages: published as order 8 "approximately"; every condition to order 7 holds exactly, 51 of the 115 of order 8 fail (the largest by |
shanks-8 | Shanks (1966) | formula (8-12), 12 stages |
cooper-verner-8 | Cooper & Verner (1972) | 11 stages, surds in |
tmy-7s | Tanaka, Muramatsu & Yamashita (1992) | their "Area 97", nearly the largest absolute-stability region of the nine-stage seventh-order family, 20 digits |
stepanov-10 | Stepanov (2025) | 15 stages, the nodes 6 to 14 of a Lobatto rule, 90 digits |
zhang-10 | Zhang (2019) | 16 stages, found by numerical search, 67 digits; it misses order 11 by |
Their siblings that SELAH leaves out: Tanaka et al.'s "Nolls 97" (the smallest error constant) has entries up to 460 that cancel in each row, and misses SELAH's 64-ε stage contracts in double precision, as Shanks's (5-5); Ōno's (2003) and Hairer's (1978) order-10 schemes were not reachable (Ōno prints only the free parameters of his).
Two schemes are published in the Shu–Osher form, typed as printed in shu_osher and converted at run time, as ssp-54:
| Name | Source | Notes |
|---|---|---|
ssp-53 | Ruuth (2006) | the globally optimal SSP(5,3), 15 decimals, SSP coefficient 2.65062919143939 (computed: within |
jiang-shu-4 | Jiang & Shu (1996) | the tableau of rk4, written with |
The embedded pairs of orders 3(2) to 6(5), in the Butcher form (fsal: first same as last,
| Name | Source | Notes |
|---|---|---|
bs-32 | Bogacki & Shampine (1989) | 4 stages, fsal; digits read from a later reprint of the 1989 table |
fehlberg-45 | Fehlberg (1969) | 6 stages, NASA TR R-315 Table III; advances with its fourth-order weights as published (#11 D4): order 4, embedded_order 5. Its estimate is the error of the fourth-order step, of order 5: give a controller min(order, embedded_order) |
tsitouras-54 | Tsitouras (2011) | 7 stages, fsal, 16 digits (the author's preprint; its column of |
stepanov-54 | Stepanov (2022) | 7 stages, fsal, exact rationals |
pp-54a | Papakostas & Papageorgiou (1996) | NEW5(4)F, 7 stages, fsal: Table 2 prints |
pp-54b | Papakostas & Papageorgiou (1996) | NEW5(4), 6 stages, from the paper's algorithm and its Table 1 parameters (no tableau printed) |
dopri-65 | Prince & Dormand (1981) | RK6(5)8M, 8 stages (digits from a code that carries them, the paper being out of reach) |
tsit-pap-64 | Tsitouras & Papakostas (1999) | NEW6(4), 7 stages: the author's copy has four one-digit misprints ( |
verner-65a | Verner (1978) | 8 stages, the 1978 6(5) pair (the coefficients of the DVERK code built on it) |
verner-65r | Verner (2010) | 9 stages, fsal, the "robust" pair of the author's coefficient file |
Verner's "efficient" 6(5) pair (2010) is not in: its entries reach 208 and cancel in each row (
The embedded pairs of orders 7 to 9 (Butcher form). Their rows hold entries of both signs in the tens to hundreds (the largest sum of tsitouras-98, 2310 for verner-89): a stage state carries the rounding of that sum, and the tests that compare two ways of summing a row allow 64 ε times it:
| Name | Source | Notes |
|---|---|---|
tsit-pap-75 | Tsitouras & Papakostas (1999) | 9 stages, 7(5), 20-digit rational approximations (the author's file) |
verner-76e, verner-76r | Verner (2010) | 10 stages, the "efficient" and "robust" 7(6) pairs |
sharp-smart-76 | Sharp & Smart (1993) | 11 stages, one more evaluation than the minimum (digits from a code that carries them) |
fehlberg-78 | Fehlberg (1968) | 13 stages, NASA TR R-287, advancing at order 7 as published (#11 D4). Its selah_test_embedded shows it) |
verner-78a | Verner (1978) | 13 stages, a 7(8) pair advancing at order 7 (the 1978 attribution read from a code that cites no paper: provisional) |
tsit-pap-86 | Tsitouras & Papakostas (1999) | 12 stages, 8(6), 20 digits |
dopri-87 | Prince & Dormand (1981) | RK8(7)13M, 28 digits (the paper's rationals are approximations; the digits of a code written with the authors) |
verner-87e, verner-87r | Verner (2010) | 13 stages, the efficient and robust 8(7) pairs |
enright-ver-87 | Enright (1993) | Verner's 13-stage 8(7) pair used there |
fehlberg-89 | Fehlberg (1968) | 17 stages, 32 digits, advancing at order 8 (#11 D4): Table XII prints |
verner-89 | Verner (1978) | 16 stages, an 8(9) pair advancing at order 8, surds in |
tsitouras-98 | Tsitouras (2001) | 16 stages, 9(8), 55 digits (the author's coefficient file) |
verner-98e, verner-98r | Verner (2010) | 16 stages, the efficient and robust 9(8) pairs, surds in |
sharp-98 | Sharp (2000) | 16 stages, 9(8) for ephemerides (the paper prints only its free parameters; digits from a code) |
Not in: Kovalnogov et al.'s 8(7) (2022): entries up to
Two pairs carry a second set of embedded weights, b_hat2 (embedded_order2): step_error(..., second=.true.) gives the second estimate, and the caller combines the two (An adaptive step):
| Name | Source | Notes |
|---|---|---|
dopri-853 | Hairer, Nørsett & Wanner (1993) | the Dormand–Prince 8(5,3) pair of their DOP853 code, 12 stages, 28 digits: dop853_error combines them as the code does |
bs-54 | Bogacki & Shampine (1996) | 7 stages and the first-same-as-last eighth, both estimates of order 4: |
The embedded SSP pair runs in the two-register form, the only one so far whose error estimate is not the Butcher form's:
| Name | Source | Notes |
|---|---|---|
ssp-43 | Kraaijevanger (1991); Conde, Fekete & Shadid (2018) | SSP(4,3), |
Shanks's five-stage formula (5-5) is not in: it has order 5 "only for certain values of h"; at order 4 its rows cancel terms of
Every tableau
Printed from the library itself (docs/examples/src/tableaux.F90, regenerated with the documentation):
$ tableaux
euler: 1 stages, order 1 (c | A, then b)
0.000000 | 0.000000
1.000000
ssp-22: 2 stages, order 2 (c | A, then b)
0.000000 | 0.000000
1.000000 | 1.000000
0.500000 0.500000
ssp-33: 3 stages, order 3 (c | A, then b)
0.000000 | 0.000000
1.000000 | 1.000000
0.500000 | 0.250000 0.250000
0.166667 0.166667 0.666667
ssp-54: 5 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.391752 | 0.391752
0.586080 | 0.217669 0.368411
0.474542 | 0.082692 0.139959 0.251892
0.935011 | 0.067966 0.115035 0.207035 0.544975
0.146812 0.248483 0.104259 0.274439 0.226007
ssp-104: 10 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.166667 | 0.166667
0.333333 | 0.166667 0.166667
0.500000 | 0.166667 0.166667 0.166667
0.666667 | 0.166667 0.166667 0.166667 0.166667
0.333333 | 0.066667 0.066667 0.066667 0.066667 0.066667
0.500000 | 0.066667 0.066667 0.066667 0.066667 0.066667 0.166667
0.666667 | 0.066667 0.066667 0.066667 0.066667 0.066667 0.166667 0.166667
0.833333 | 0.066667 0.066667 0.066667 0.066667 0.066667 0.166667 0.166667 0.166667
1.000000 | 0.066667 0.066667 0.066667 0.066667 0.066667 0.166667 0.166667 0.166667 0.166667
0.100000 0.100000 0.100000 0.100000 0.100000 0.100000 0.100000 0.100000 0.100000 0.100000
rk4: 4 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.500000 | 0.500000
0.500000 | 0.000000 0.500000
1.000000 | 0.000000 0.000000 1.000000
0.166667 0.333333 0.333333 0.166667
lsrk-33: 3 stages, order 3 (c | A, then b)
0.000000 | 0.000000
0.333333 | 0.333333
0.750000 | -0.187500 0.937500
0.166667 0.300000 0.533333
lsrk-54: 5 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.149659 | 0.149659
0.370401 | -0.008809 0.379210
0.622256 | 0.401178 -0.601877 0.822955
0.958282 | -0.190430 0.813823 -0.364561 0.699450
0.005594 0.344743 0.028912 0.467694 0.153057
lsrk-64: 6 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.122000 | 0.122000
0.269116 | -0.208147 0.477263
0.447717 | 0.248174 -0.182398 0.381941
0.749980 | -0.123560 0.354984 0.070799 0.447757
0.898555 | 0.306931 -0.267337 0.431121 -0.070773 0.498614
0.060056 0.089547 0.224486 0.226590 0.212673 0.186649
lsrk-74: 7 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.117322 | 0.117322
0.294523 | -0.208747 0.503270
0.305659 | 0.200728 -0.128733 0.233663
0.582864 | -0.027779 0.223957 0.103267 0.283420
0.858664 | 0.190310 -0.112653 0.227718 0.012922 0.540367
0.868664 | -0.095546 0.328551 0.064597 0.367471 -0.167908 0.371499
0.056940 0.093196 0.151612 0.178341 0.209912 0.173328 0.136670
lsrk-124: 12 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.065001 | 0.065001
0.079656 | 0.063510 0.016146
0.162042 | 0.113708 -0.527529 0.575863
0.224888 | 0.051480 0.146441 -0.138009 0.164976
0.295229 | 0.371425 -3.318748 3.532331 -0.683240 0.393462
0.331833 | 0.336187 -2.937107 3.128096 -0.589822 0.350128 0.044351
0.409472 | 0.461152 -4.290550 4.561667 -0.921120 0.503807 -0.112935 0.207450
0.635695 | -0.287618 3.819065 -4.028065 1.063969 -0.417016 0.829496 -1.035560 0.691425
0.680655 | 0.810284 -8.071852 8.566836 -1.846716 0.933163 -0.552365 0.787034 -0.322393 0.376665
0.714377 | -0.215265 3.035442 -3.198049 0.872152 -0.328038 0.738430 -0.915449 0.624613 0.024823 0.075719
0.903259 | 0.207600 -1.544431 1.652968 -0.248919 0.191994 0.206196 -0.213464 0.234134 0.169898 0.044498 0.202786
-0.060969 1.364323 -1.427994 0.463092 -0.138287 0.544227 -0.659307 0.482134 0.077758 0.064327 0.073993 0.216703
lsrk-134: 13 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.027199 | 0.027199
0.095259 | -0.081989 0.177249
0.126645 | -0.071614 0.160406 0.037853
0.182588 | -0.254323 0.457004 -0.628735 0.608643
0.373751 | -0.175063 0.328338 -0.339565 0.344610 0.215431
0.530128 | -0.195893 0.362152 -0.415560 0.413999 0.158815 0.206615
0.570418 | -0.195720 0.361871 -0.414930 0.413424 0.159284 0.204902 0.041586
0.588578 | -0.195737 0.361898 -0.414990 0.413478 0.159240 0.205065 0.037635 0.021989
0.616077 | -0.194868 0.360487 -0.411819 0.410583 0.161602 0.196443 0.246917 -1.142578 0.989308
0.622325 | -0.194870 0.360491 -0.411827 0.410590 0.161596 0.196466 0.246372 -1.139543 0.986730 0.006320
0.689759 | -0.194758 0.360310 -0.411420 0.410219 0.161899 0.195360 0.273212 -1.288894 1.113605 -0.304737 0.374964
0.912683 | -0.197048 0.364027 -0.419774 0.417846 0.155676 0.218071 -0.278076 1.778784 -1.492410 6.084384 -7.326821 1.608024
-0.196957 0.363880 -0.419444 0.417545 0.155922 0.217174 -0.256305 1.657635 -1.389493 5.832065 -7.022662 1.544520 0.096121
lsrk-144: 14 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.036776 | 0.036776
0.124969 | -0.188661 0.313630
0.244618 | -0.102937 0.194370 0.153185
0.247615 | -0.102946 0.194383 0.153169 0.003010
0.296931 | -0.102098 0.193202 0.154685 -0.281488 0.332629
0.397815 | -0.104560 0.196628 0.150285 0.544272 -0.632835 0.244025
0.527085 | -0.098639 0.188390 0.160866 -1.441613 1.689028 -0.342835 0.371888
0.698127 | -0.119223 0.217027 0.124083 5.461736 -6.382250 1.697214 -0.920872 0.620413
0.819089 | -0.115439 0.211763 0.130845 4.192707 -4.898523 1.322195 -0.683226 0.506363 0.152404
0.852706 | -0.116768 0.213611 0.128471 4.638292 -5.419494 1.453873 -0.766669 0.546409 0.098892 0.076089
0.860471 | -0.116768 0.213611 0.128470 4.638355 -5.419568 1.453892 -0.766681 0.546414 0.098884 0.076100 0.007760
0.862706 | -0.116768 0.213611 0.128470 4.638353 -5.419566 1.453891 -0.766681 0.546414 0.098884 0.076100 0.007531 0.002465
0.873421 | -0.116768 0.213611 0.128470 4.638410 -5.419632 1.453908 -0.766691 0.546419 0.098877 0.076110 0.014451 -0.071779 0.078035
-0.116683 0.213494 0.128621 4.610096 -5.386528 1.445541 -0.761389 0.543875 0.102278 0.071275 -3.459649 37.200954-39.097862 5.505978
heun-euler-21: 2 stages, order 2 (c | A, then b, then b_hat of order 1)
0.000000 | 0.000000
1.000000 | 1.000000
0.500000 0.500000
1.000000 0.000000
cash-karp-54: 6 stages, order 5 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.200000 | 0.200000
0.300000 | 0.075000 0.225000
0.600000 | 0.300000 -0.900000 1.200000
1.000000 | -0.203704 2.500000 -2.592593 1.296296
0.875000 | 0.029496 0.341797 0.041594 0.400345 0.061768
0.097884 0.000000 0.402576 0.210438 0.000000 0.289102
0.102177 0.000000 0.383908 0.244593 0.019322 0.250000
dopri-54: 7 stages, order 5 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.200000 | 0.200000
0.300000 | 0.075000 0.225000
0.800000 | 0.977778 -3.733333 3.555556
0.888889 | 2.952599-11.595793 9.822893 -0.290809
1.000000 | 2.846275-10.757576 8.906423 0.278409 -0.273531
1.000000 | 0.091146 0.000000 0.449236 0.651042 -0.322376 0.130952
0.091146 0.000000 0.449236 0.651042 -0.322376 0.130952 0.000000
0.089913 0.000000 0.453489 0.614062 -0.271512 0.089048 0.025000
calvo-65: 9 stages, order 6 (c | A, then b, then b_hat of order 5)
0.000000 | 0.000000
0.133333 | 0.133333
0.200000 | 0.050000 0.150000
0.300000 | 0.075000 0.000000 0.225000
0.560000 | 0.440571 -1.142601 0.694624 0.567407
0.760000 | -1.903634 4.317187 1.067996 -3.937090 1.215541
0.987064 | 4.830848 -7.633071 -7.400776 13.164919 -2.682305 0.707448
1.000000 | 6.047925 -9.414104 -9.717250 16.745654 -3.511471 0.867022 -0.017775
1.000000 | 0.060749 0.000000 0.284909 0.043970 0.305482 0.164406 0.516033 -0.375548
0.060749 0.000000 0.284909 0.043970 0.305482 0.164406 0.516033 -0.375548 0.000000
0.029817 0.000000 0.512303 -0.231943 0.413646 0.159381 0.188948 -0.122153 0.050000
feagin-108: 17 stages, order 10 (c | A, then b, then b_hat of order 8)
0.000000 | 0.000000
0.100000 | 0.100000
0.539358 | -0.915177 1.454534
0.809037 | 0.202259 0.000000 0.606778
0.309037 | 0.184025 0.000000 0.197967 -0.072955
0.981074 | 0.087901 0.000000 0.000000 0.410460 0.482714
0.833333 | 0.085970 0.000000 0.000000 0.330886 0.489663 -0.073186
0.354017 | 0.120930 0.000000 0.000000 0.000000 0.260125 0.032540 -0.059578
0.882528 | 0.110854 0.000000 0.000000 0.000000 0.000000 -0.060576 0.321764 0.510486
0.642616 | 0.112054 0.000000 0.000000 0.000000 0.000000 -0.144943 -0.333270 0.499269 0.509505
0.357384 | 0.113977 0.000000 0.000000 0.000000 0.000000 -0.076881 0.239527 0.397775 0.010756 -0.327769
0.117472 | 0.079831 0.000000 0.000000 0.000000 0.000000 -0.052033 -0.057695 0.194782 0.145385 -0.078294 -0.114503
0.833333 | 0.985116 0.000000 0.000000 0.330886 0.489663 -1.378965 -0.861164 5.784288 3.288078 -2.386339 -3.254793 -2.163435
0.309037 | 0.895080 0.000000 0.197967 -0.072955 0.000000 -0.851236 0.398320 3.639373 1.548229 -2.122217 -1.583504 -1.715616 -0.024404
0.539358 | -0.915177 1.454534 0.000000 0.000000 -0.777334 0.000000 -0.091090 0.000000 0.000000 0.000000 0.000000 0.000000 0.091090 0.777334
0.100000 | 0.100000 0.000000 -0.157179 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.157179
1.000000 | 0.181781 0.675000 0.342758 0.000000 0.259111 -0.358279 -1.045949 0.930328 1.779510 0.100000 -0.282548 -0.159327 -0.145516 -0.259111 -0.342758 -0.675000
0.033333 0.025000 0.033333 0.000000 0.050000 0.000000 0.040000 0.000000 0.189237 0.277429 0.277429 0.189237 -0.040000 -0.050000 -0.033333 -0.025000 0.033333
0.033333 0.027778 0.033333 0.000000 0.050000 0.000000 0.040000 0.000000 0.189237 0.277429 0.277429 0.189237 -0.040000 -0.050000 -0.033333 -0.027778 0.033333
runge-2: 2 stages, order 2 (c | A, then b)
0.000000 | 0.000000
0.500000 | 0.500000
0.000000 1.000000
heun-2: 2 stages, order 2 (c | A, then b)
0.000000 | 0.000000
1.000000 | 1.000000
0.500000 0.500000
kutta-3: 3 stages, order 3 (c | A, then b)
0.000000 | 0.000000
0.500000 | 0.500000
1.000000 | -1.000000 2.000000
0.166667 0.666667 0.166667
ralston-4: 4 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.400000 | 0.400000
0.455737 | 0.296978 0.158760
1.000000 | 0.218100 -3.050965 3.832865
0.174760 -0.551481 1.205536 0.171185
shanks-4: 4 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.010000 | 0.010000
0.600000 |-17.461224 18.061224
1.000000 | 59.691275-60.530656 1.839381
-2.555556 2.853393 0.576742 0.125421
butcher-6: 7 stages, order 6 (c | A, then b)
0.000000 | 0.000000
0.333333 | 0.333333
0.666667 | 0.000000 0.666667
0.333333 | 0.083333 0.333333 -0.083333
0.500000 | -0.062500 1.125000 -0.187500 -0.375000
0.500000 | 0.000000 1.125000 -0.375000 -0.750000 0.500000
1.000000 | 0.204545 -0.818182 1.431818 1.636364 0.000000 -1.454545
0.091667 0.000000 0.675000 0.675000 -0.266667 -0.266667 0.091667
ssp-53: 5 stages, order 3 (c | A, then b)
0.000000 | 0.000000
0.377269 | 0.377269
0.754538 | 0.377269 0.377269
0.728986 | 0.242995 0.242995 0.242995
0.699226 | 0.153589 0.153589 0.153589 0.238459
0.206734 0.206734 0.117097 0.181803 0.287632
jiang-shu-4: 4 stages, order 4 (c | A, then b)
0.000000 | 0.000000
0.500000 | 0.500000
0.500000 | 0.000000 0.500000
1.000000 | 0.000000 0.000000 1.000000
0.166667 0.333333 0.333333 0.166667
ssp-43: 4 stages, order 3 (c | A, then b, then b_hat of order 2)
0.000000 | 0.000000
0.500000 | 0.500000
1.000000 | 0.500000 0.500000
0.500000 | 0.166667 0.166667 0.166667
0.166667 0.166667 0.166667 0.500000
0.250000 0.250000 0.250000 0.250000
shanks-7: 9 stages, order 7 (c | A, then b)
0.000000 | 0.000000
0.222222 | 0.222222
0.333333 | 0.083333 0.250000
0.500000 | 0.125000 0.000000 0.375000
0.166667 | 0.106481 0.000000 0.097222 -0.037037
0.888889 | -5.673525 0.000000-18.633745 7.220850 17.975309
0.111111 | 0.693330 0.000000 1.991770 -0.710562 -1.874644 0.011218
0.833333 | -0.563426 0.000000 -2.013889 1.261073 1.851282 0.059517 0.238776
1.000000 | 0.093569 0.000000 -0.485549 -0.080925 2.761227 -0.396498 -1.852252 0.960427
0.051488 0.000000 0.000000 0.358795 0.296703 -0.027589 -0.027589 0.296703 0.051488
shanks-7b: 10 stages, order 7 (c | A, then b)
0.000000 | 0.000000
0.148148 | 0.148148
0.222222 | 0.055556 0.166667
0.333333 | 0.083333 0.000000 0.250000
0.500000 | 0.125000 0.000000 0.000000 0.375000
0.666667 | 0.240741 0.000000 -0.500000 0.777778 0.148148
0.166667 | 0.090046 0.000000 -0.012500 0.223611 -0.190741 0.056250
1.000000 |-11.550000 0.000000 4.050000-58.200000 32.800000 -6.100000 40.000000
0.833333 | -0.440972 0.000000 0.062500 -2.354167 1.583333 -0.031250 2.000000 0.013889
1.000000 | 1.806098 0.000000 -0.098780 8.663415 -4.117073 0.087805 -6.146341 -0.073171 0.878049
0.048810 0.000000 0.000000 0.032143 0.323810 0.032143 0.257143 0.000000 0.257143 0.048810
shanks-8: 12 stages, order 8 (c | A, then b)
0.000000 | 0.000000
0.111111 | 0.111111
0.166667 | 0.041667 0.125000
0.250000 | 0.062500 0.000000 0.187500
0.100000 | 0.058000 0.000000 0.066000 -0.024000
0.166667 | 0.033951 0.000000 0.000000 0.004115 0.128601
0.500000 | -0.583333 0.000000 0.000000 2.111111 3.472222 -4.500000
0.666667 | -0.123457 0.000000 0.000000 -0.131687 0.514403 0.000000 0.407407
0.333333 | 3.626543 0.000000 0.000000-10.666667-19.290123 26.000000 0.746914 -0.083333
0.833333 | 0.904321 0.000000 0.000000 -2.629630 -4.243827 5.666667 -0.364198 0.500000 1.000000
0.833333 | 0.804321 0.000000 0.000000 -2.629630 -4.243827 6.166667 0.635802 0.000000 0.000000 0.100000
1.000000 | -1.941057 0.000000 0.000000 6.937669 11.009485-14.926829 0.085366 -0.164634 -0.439024 -0.292683 0.731707
0.048810 0.000000 0.000000 0.000000 0.000000 0.257143 0.323810 0.032143 0.032143 0.042857 0.214286 0.048810
cooper-verner-8: 11 stages, order 8 (c | A, then b)
0.000000 | 0.000000
0.500000 | 0.500000
0.500000 | 0.250000 0.250000
0.827327 | 0.142857 -0.211712 0.896181
0.827327 | 0.185507 0.000000 0.576671 0.065149
0.500000 | 0.199637 0.000000 0.377294 -0.463455 0.386525
0.172673 | 0.128986 0.000000 -0.033026 -0.349705 0.328517 0.097900
0.172673 | 0.071429 0.000000 0.000000 0.000000 0.002002 -0.011869 0.111111
0.500000 | 0.031250 0.000000 0.000000 0.000000 -0.009087 0.152778 -0.632546 0.957605
0.827327 | 0.071429 0.000000 0.000000 0.000000 0.111111 -0.637931 2.031083 -1.810863 1.062498
1.000000 | 0.000000 0.000000 0.000000 0.000000 -0.551221 2.451380 -7.164952 7.553840 -2.229158 0.940109
0.050000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.272222 0.355556 0.272222 0.050000
tmy-7s: 9 stages, order 7 (c | A, then b)
0.000000 | 0.000000
0.093333 | 0.093333
0.140000 | 0.035000 0.105000
0.210000 | 0.052500 0.000000 0.157500
0.320000 | 0.081995 0.000000 -0.017415 0.255420
-0.162746 | -0.205337 0.000000 -0.443940 0.729954 -0.243424
0.670000 | 1.715029 0.000000 -0.431806 -2.337725 2.188482 -0.463980
0.800000 | -1.578601 0.000000 0.499414 2.505746 -1.531475 0.471148 0.433769
1.000000 | 2.873277 0.000000 -0.650823 -4.787825 4.329636 -0.755932 -0.728585 0.720253
0.136308 0.000000 0.000000 -0.013662 0.423221 -0.013030 0.165563 0.236054 0.065547
stepanov-10: 15 stages, order 10 (c | A, then b)
0.000000 | 0.000000
0.133333 | 0.133333
0.266667 | 0.000000 0.266667
0.400000 | 0.100000 0.000000 0.300000
0.571429 | 0.134111 0.000000 0.087464 0.349854
0.778741 | 0.328659 0.000000 -0.843123 1.230383 0.062822
0.642616 | 0.130187 0.000000 0.000000 0.580739 -0.132061 0.063751
0.882528 | 0.116969 0.000000 0.000000 0.804791 -1.032442 0.141238 0.851972
0.117472 | 0.072301 0.000000 0.000000 0.278449 -0.720356 0.071478 0.480546 -0.064947
0.117472 | -0.033605 0.000000 0.000000 -0.857669 2.054105 -0.209909 -1.333972 0.180806 0.317716
0.357384 | 0.037810 0.000000 0.000000 0.045592 0.374858 -0.018982 -0.336039 0.042208 0.051900 0.160037
0.357384 | 0.025378 0.000000 0.000000 0.362306 -2.130022 0.167272 1.582751 -0.204720 0.319265 -0.199485 0.434639
0.642616 | 0.021030 0.000000 0.000000 -0.208531 0.326863 -0.040292 -0.062169 0.019402 0.033619 0.184058 0.126719 0.241917
0.882528 | 0.059015 0.000000 0.000000 0.346754 -0.543520 0.066998 -0.209106 0.034197 0.656809 -0.530023 0.682371 -0.524317 0.843350
1.000000 | -0.040441 0.000000 0.000000 -0.936174 1.467411 -0.180884 1.167589 -0.280114 -1.871668 2.241588 -1.572572 2.151700 -1.813340 0.666905
0.033333 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.135170 0.054068 0.215778 0.061651 0.277429 0.189237 0.033333
zhang-10: 16 stages, order 10 (c | A, then b)
0.000000 | 0.000000
0.068881 | 0.068881
0.415585 | -0.838105 1.253690
0.068881 | -0.004909 0.082322 -0.008531
0.715869 | 1.048932 -0.753828 0.805228 -0.384463
0.885062 | -0.239924 -0.063643 0.199675 0.610354 0.378599
0.110692 | 0.017788 -0.011050 -0.004393 0.105975 0.004051 -0.001679
0.301134 | 0.235660 0.088934 0.041388 -0.852903 -0.023081 0.009686 0.801450
0.656345 | 0.090487 0.032044 0.124338 -0.307315 0.164478 -0.041007 0.406620 0.186700
0.415585 | -0.128158 -0.094943 -0.144503 0.921349 -0.132653 0.016615 -0.644618 0.471485 0.151012
0.415585 | -0.353943 -0.129993 0.072967 1.234093 0.243255 -0.048864 -0.514424 0.070885 -0.205553 0.047161
0.683803 | -1.288836 -0.280209 2.955025 2.687295 4.940623 -1.106697 -1.014992 2.537510 -3.050854 -4.482484 -1.212578
0.884965 | -0.264403 -0.066811 0.229832 0.640741 0.429429 -0.009671 0.016137 -0.035963 -0.049027 0.013885 -0.023295 0.004111
0.415585 | 1.289959 0.135033 -1.575337 -1.136141 -2.606300 -0.142255 -1.300503 2.707972 2.435543 -0.264582 0.284317 -0.015673 0.603553
0.415585 | -0.821701 1.255912 -0.016153 -0.022970 -0.027960 -0.750943 -0.008310 0.027855 0.040214 1.617136 -1.396284 -0.014244 0.757091 -0.224057
1.000000 | 0.277264 0.094538 0.841728 -0.906653 -0.093349 4.088878 0.795400 -0.048592 0.148199 -1.770211 1.838211 0.049093 -3.803788 0.331572 -0.842290
0.031819 0.000000 0.046814 0.000000 0.000000 1.375535 0.175066 0.149248 0.271810 -0.170779 0.300355 -0.010143 -1.191778 0.036391 -0.046833 0.032495
bs-32: 4 stages, order 3 (c | A, then b, then b_hat of order 2)
0.000000 | 0.000000
0.500000 | 0.500000
0.750000 | 0.000000 0.750000
1.000000 | 0.222222 0.333333 0.444444
0.222222 0.333333 0.444444 0.000000
0.291667 0.250000 0.333333 0.125000
fehlberg-45: 6 stages, order 4 (c | A, then b, then b_hat of order 5)
0.000000 | 0.000000
0.250000 | 0.250000
0.375000 | 0.093750 0.281250
0.923077 | 0.879381 -3.277196 3.320892
1.000000 | 2.032407 -8.000000 7.173489 -0.205897
0.500000 | -0.296296 2.000000 -1.381676 0.452973 -0.275000
0.115741 0.000000 0.548928 0.535331 -0.200000 0.000000
0.118519 0.000000 0.518986 0.506131 -0.180000 0.036364
tsitouras-54: 7 stages, order 5 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.161000 | 0.161000
0.327000 | -0.008481 0.335481
0.900000 | 2.897153 -6.359448 4.362295
0.980026 | 5.325865-11.748884 7.495539 -0.092495
1.000000 | 5.861455-12.920969 8.159368 -0.071585 -0.028269
1.000000 | 0.096461 0.010000 0.479890 1.379009 -3.290070 2.324711
0.096461 0.010000 0.479890 1.379009 -3.290070 2.324711 0.000000
0.094681 0.009184 0.487771 1.234298 -2.707712 1.866628 0.015152
stepanov-54: 7 stages, order 5 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.200000 | 0.200000
0.323077 | 0.062130 0.260947
0.900000 | 1.630102 -5.207143 4.477041
0.975000 | 2.881112 -9.263951 7.442850 -0.085012
1.000000 | 3.252202-10.435540 8.276621 -0.054321 -0.038962
1.000000 | 0.097748 0.000000 0.486296 1.456790 -2.904470 1.863636
0.097748 0.000000 0.486296 1.456790 -2.904470 1.863636 0.000000
0.094085 0.000000 0.498921 1.190123 -2.033129 1.223497 0.026503
pp-54a: 7 stages, order 5 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.225000 | 0.225000
0.328125 | 0.088867 0.239258
0.944444 | 1.302523 -5.464070 5.105991
0.989011 | 1.756561 -7.388369 6.654895 -0.034076
1.000000 | 1.867391 -7.849217 7.021056 -0.024438 -0.014792
1.000000 | 0.098851 0.000000 0.496192 3.937598-13.739617 10.206977
0.098851 0.000000 0.496192 3.937598-13.739617 10.206977 0.000000
0.090363 0.000000 0.525162 2.132513 -5.612786 3.814749 0.050000
pp-54b: 6 stages, order 5 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.248120 | 0.248120
0.283951 | 0.121473 0.162478
0.531072 | 0.087554 -0.420914 0.864432
0.819149 | 0.216679 -0.140705 0.098191 0.644984
0.882353 | 0.030618 0.249653 0.281369 0.053034 0.267680
0.096124 0.000000 0.353061 0.225425 0.111986 0.213405
0.078548 0.000000 0.438300 0.081189 0.351962 0.050000
dopri-65: 8 stages, order 6 (c | A, then b, then b_hat of order 5)
0.000000 | 0.000000
0.100000 | 0.100000
0.222222 | -0.024691 0.246914
0.428571 | 0.448251 -0.787172 0.767493
0.600000 | 0.589636 -0.981818 0.712573 0.279608
0.800000 | -0.713589 1.309091 0.120128 -0.652013 0.736383
1.000000 | 2.340488 -3.181818 -0.763124 4.482612 -2.845861 0.967702
1.000000 | 1.749139 -2.390422 -0.396253 3.272858 -2.063516 0.828193 0.000000
0.070602 0.000000 0.305849 0.115104 0.187228 0.254253 -0.033036 0.100000
0.076019 0.000000 0.274041 0.192059 0.107571 0.290311 0.060000 0.000000
tsit-pap-64: 7 stages, order 6 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.148148 | 0.148148
0.222222 | 0.055556 0.166667
0.428571 | 0.192420 -0.531341 0.767493
0.687500 | 0.271383 -0.281799 0.101919 0.595997
0.769231 | -0.121407 0.477614 0.121923 0.008208 0.282893
1.000000 | 0.323109 -0.610391 0.458469 0.575057 -0.573792 0.827548
0.072778 0.000000 0.287521 0.189748 0.105817 0.269095 0.075040
0.103227 0.000000 0.156115 0.386349 -0.120731 0.400000 0.075040
verner-65a: 8 stages, order 6 (c | A, then b, then b_hat of order 5)
0.000000 | 0.000000
0.166667 | 0.166667
0.266667 | 0.053333 0.213333
0.666667 | 0.833333 -2.666667 2.500000
0.833333 | -2.578125 9.166667 -6.640625 0.885417
1.000000 | 2.400000 -8.000000 6.560458 -0.305556 0.345098
0.066667 | -0.550867 1.653333 -0.945588 -0.324000 0.233788 0.000000
1.000000 | 2.035465 -6.976744 5.648180 -0.137382 0.286302 0.000000 0.144179
0.075000 0.000000 0.389929 0.319444 0.135038 0.000000 0.010783 0.069805
0.081250 0.000000 0.396892 0.312500 0.141176 0.068182 0.000000 0.000000
verner-65r: 9 stages, order 6 (c | A, then b, then b_hat of order 5)
0.000000 | 0.000000
0.180000 | 0.180000
0.166667 | 0.089506 0.077160
0.250000 | 0.062500 0.000000 0.187500
0.530000 | 0.316516 0.000000 -1.044948 1.258432
0.600000 | 0.272326 0.000000 -0.825134 1.048092 0.104716
0.800000 | -0.166994 0.000000 0.631709 0.174610 -1.066536 1.227211
1.000000 | 0.364238 0.000000 -0.204049 -0.348837 3.261932 -2.755102 0.681818
1.000000 | 0.076389 0.000000 0.000000 0.369408 0.000000 0.248016 0.236742 0.069444
0.076389 0.000000 0.000000 0.369408 0.000000 0.248016 0.236742 0.069444 0.000000
0.058700 0.000000 0.000000 0.480726 -0.853412 1.204649 0.000000 -0.059242 0.168580
tsit-pap-75: 9 stages, order 7 (c | A, then b, then b_hat of order 5)
0.000000 | 0.000000
0.055556 | 0.055556
0.111111 | 0.000000 0.111111
0.166667 | 0.041667 0.000000 0.125000
0.445000 | 0.545993 0.000000 -2.085203 1.984211
0.490853 | 0.093220 0.000000 -0.257358 0.511643 0.143348
0.778947 | -1.417646 0.000000 5.417552 -3.695737 -1.839316 2.314095
0.888889 | 4.027367 0.000000-13.893751 9.821994 6.948635 -6.578807 0.563452
1.000000 | -3.639821 0.000000 12.199087 -7.580623 -8.386999 8.466693 -0.328796 0.270459
0.048325 0.000000 0.000000 0.262216 0.061254 0.281460 0.200660 0.103546 0.042539
0.030782 0.000000 0.000000 0.328709 -0.463982 0.809940 0.113007 0.139005 0.042539
verner-76e: 10 stages, order 7 (c | A, then b, then b_hat of order 6)
0.000000 | 0.000000
0.005000 | 0.005000
0.108889 | -1.076790 1.185679
0.163333 | 0.040833 0.000000 0.122500
0.455500 | 0.638914 0.000000 -2.455673 2.272259
0.609509 | -2.661577 0.000000 10.804514 -8.353915 0.820488
0.884000 | 6.067741 0.000000-24.711274 20.427518 -1.906158 1.006172
0.925000 | 12.054670 0.000000-49.754785 41.142889 -4.461760 2.042335 -0.098348
1.000000 | 10.138147 0.000000-42.641136 35.763840 -4.348023 2.009862 0.348749 -0.271439
1.000000 |-45.030072 0.000000187.327244********** 18.564653 -7.141810 1.308809 0.000000 0.000000
0.047156 0.000000 0.000000 0.257506 0.262167 0.152161 0.493997 -0.294303 0.081317 0.000000
0.044609 0.000000 0.000000 0.267164 0.220102 0.218843 0.228987 0.000000 0.000000 0.020295
verner-76r: 10 stages, order 7 (c | A, then b, then b_hat of order 6)
0.000000 | 0.000000
0.005000 | 0.005000
0.108889 | -1.076790 1.185679
0.163333 | 0.040833 0.000000 0.122500
0.455000 | 0.636071 0.000000 -2.444464 2.263393
0.605962 | -2.535121 0.000000 10.299375 -7.951303 0.793011
0.835000 | 1.001877 0.000000 -4.166571 3.834343 -0.502333 0.667685
0.915000 | 27.255018 0.000000-42.004617-10.535713 80.495537-67.343882 13.048658
1.000000 | -3.039738 0.000000 10.138161 -6.429306 -1.586437 1.892178 0.019699 0.005442
1.000000 | -1.444952 0.000000 8.031891 -7.583174 3.581617 -2.436972 0.851590 0.000000 0.000000
0.047426 0.000000 0.000000 0.256224 0.269514 0.126866 0.248872 0.003074 0.048024 0.000000
0.047485 0.000000 0.000000 0.255994 0.270585 0.125056 0.252045 0.000000 0.000000 0.048835
sharp-smart-76: 11 stages, order 7 (c | A, then b, then b_hat of order 6)
0.000000 | 0.000000
0.020000 | 0.020000
0.216000 | -0.950400 1.166400
0.410000 | 0.020880 0.000000 0.389120
0.570000 | 0.118750 0.000000 0.116302 0.334948
0.860000 | -0.155000 0.000000 1.264200 -1.492354 1.243154
0.189734 | 0.053240 0.000000 0.263191 -0.229924 0.115021 -0.011794
0.720000 | 0.101833 0.000000 3.676504 -1.385506 1.105855 -0.104425 -2.674261
0.833333 | -0.070447 0.000000 2.578490 -1.735065 1.420769 -0.029994 -1.273897 -0.056523
1.000000 | 0.112189 0.000000 -9.447818 4.729287 -2.153586 -1.500318 7.322285 -1.017188 2.955149
1.000000 | 0.012678 0.000000-10.069961 4.625342 -2.161028 -1.678122 8.107206 -0.990340 3.154226 0.000000
0.054970 0.000000 0.000000 0.000000 0.527018 -0.576400 0.299474 -0.435114 1.069721 0.060331 0.000000
0.055195 0.000000 0.000000 0.000000 0.538771 -0.720024 0.298535 -0.484435 1.246114 0.000000 0.065844
fehlberg-78: 13 stages, order 7 (c | A, then b, then b_hat of order 8)
0.000000 | 0.000000
0.074074 | 0.074074
0.111111 | 0.027778 0.083333
0.166667 | 0.041667 0.000000 0.125000
0.416667 | 0.416667 0.000000 -1.562500 1.562500
0.500000 | 0.050000 0.000000 0.000000 0.250000 0.200000
0.833333 | -0.231481 0.000000 0.000000 1.157407 -2.407407 2.314815
0.166667 | 0.103333 0.000000 0.000000 0.000000 0.271111 -0.222222 0.014444
0.666667 | 2.000000 0.000000 0.000000 -8.833333 15.644444-11.888889 0.744444 3.000000
0.333333 | -0.842593 0.000000 0.000000 0.212963 -7.229630 5.759259 -0.316667 2.833333 -0.083333
1.000000 | 0.581220 0.000000 0.000000 -2.079268 4.386341 -3.670732 0.520244 0.548780 0.274390 0.439024
0.000000 | 0.014634 0.000000 0.000000 0.000000 0.000000 -0.146341 -0.014634 -0.073171 0.073171 0.146341 0.000000
1.000000 | -0.433415 0.000000 0.000000 -2.079268 4.386341 -3.524390 0.534878 0.621951 0.201220 0.292683 0.000000 1.000000
0.048810 0.000000 0.000000 0.000000 0.000000 0.323810 0.257143 0.257143 0.032143 0.032143 0.048810 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.323810 0.257143 0.257143 0.032143 0.032143 0.000000 0.048810 0.048810
verner-78a: 13 stages, order 7 (c | A, then b, then b_hat of order 8)
0.000000 | 0.000000
0.250000 | 0.250000
0.083333 | 0.069444 0.013889
0.125000 | 0.031250 0.000000 0.093750
0.400000 | 0.848000 0.000000 -3.264000 2.816000
0.500000 | 0.020833 0.000000 0.000000 0.242424 0.236742
0.857143 | -0.526031 0.000000 0.000000 1.512097 -2.427966 2.299042
0.142857 | 0.094388 0.000000 0.000000 0.000000 0.172725 -0.133333 0.009077
0.666667 | 0.673173 0.000000 0.000000 -1.846130 2.628968 -1.637938 0.138800 0.709794
0.285714 | -0.132356 0.000000 0.000000 -0.039289 -1.004372 0.846474 -0.026143 0.727273 -0.085873
1.000000 | 1.675395 0.000000 0.000000 -3.833876 5.687861 -5.978807 0.371959 -0.246172 1.208097 2.115543
0.333333 | -0.132574 0.000000 0.000000 0.144115 -1.130497 0.692220 -0.061460 0.435556 0.062500 0.323474 0.000000
1.000000 | 1.290668 0.000000 0.000000 -3.195978 5.137256 -5.164117 0.411357 0.551789 0.868493 -1.037298 0.000000 2.137830
0.045139 0.000000 0.000000 0.000000 0.000000 0.256000 0.216757 0.194020 0.120810 0.125052 0.042222 0.000000 0.000000
0.043056 0.000000 0.000000 0.000000 0.000000 0.213333 0.212210 0.212210 0.138068 0.000000 0.000000 0.138068 0.043056
tsit-pap-86: 12 stages, order 8 (c | A, then b, then b_hat of order 6)
0.000000 | 0.000000
0.063380 | 0.063380
0.102788 | 0.019439 0.083349
0.154182 | 0.038545 0.000000 0.115636
0.387597 | 0.394366 0.000000 -1.481872 1.475103
0.465753 | 0.045994 0.000000 0.000000 0.232351 0.187408
0.155405 | 0.060052 0.000000 0.000000 0.112204 -0.033572 0.016722
1.007092 | -1.573329 0.000000 0.000000 -1.316709-11.723515 9.107825 6.512821
0.876141 | -0.481076 0.000000 0.000000 -6.650610 -4.530206 3.894415 8.634218 0.009402
0.912088 | -0.775412 0.000000 0.000000 -7.996605 -6.726559 5.532184 10.897573 0.020092 -0.039186
0.959732 | -1.189636 0.000000 0.000000 -7.128368 -9.537228 7.574470 11.267486 0.051010 0.080194 -0.158196
1.000000 | -0.392000 0.000000 0.000000 3.916659 -2.801746 2.441205 -2.418366 -0.339433 0.194965 -0.194372 0.593089
0.044412 0.000000 0.000000 0.000000 0.000000 0.353951 0.248522 -0.332691 1.921249 -2.731778 1.401200 0.095136
0.048144 0.000000 0.000000 0.000000 0.000000 0.383423 0.236941 0.430017 -0.125082 1.431421 -1.500000 0.095136
dopri-87: 13 stages, order 8 (c | A, then b, then b_hat of order 7)
0.000000 | 0.000000
0.055556 | 0.055556
0.083333 | 0.020833 0.062500
0.125000 | 0.031250 0.000000 0.093750
0.312500 | 0.312500 0.000000 -1.171875 1.171875
0.375000 | 0.037500 0.000000 0.000000 0.187500 0.150000
0.147500 | 0.047910 0.000000 0.000000 0.112249 -0.025506 0.012847
0.465000 | 0.016918 0.000000 0.000000 0.387848 0.035977 0.196970 -0.172714
0.564865 | 0.069096 0.000000 0.000000 -0.634248 -0.161198 0.138650 0.940929 0.211636
0.650000 | 0.183557 0.000000 0.000000 -2.468768 -0.291287 -0.026473 2.847839 0.281387 0.123745
0.924656 | -1.215425 0.000000 0.000000 16.672609 0.915742 -6.056606-16.003574 14.849303-13.371576 5.134183
1.000000 | 0.258861 0.000000 0.000000 -4.774486 -0.435093 -3.049483 5.577920 6.155832 -5.062105 2.193926 0.134628
1.000000 | 0.822428 0.000000 0.000000-11.658673 -0.757622 0.713974 12.075775 -2.127659 1.990166 -0.234286 0.175899 0.000000
0.041747 0.000000 0.000000 0.000000 0.000000 -0.055452 0.239313 0.703511 -0.759760 0.660563 0.158187 -0.238110 0.250000
0.029553 0.000000 0.000000 0.000000 0.000000 -0.828606 0.311241 2.467345 -2.546942 1.443549 0.079416 0.044444 0.000000
verner-87e: 13 stages, order 8 (c | A, then b, then b_hat of order 7)
0.000000 | 0.000000
0.050000 | 0.050000
0.106563 | -0.006993 0.113556
0.159844 | 0.039961 0.000000 0.119883
0.390000 | 0.361398 0.000000 -1.341524 1.370127
0.465000 | 0.049047 0.000000 0.000000 0.235097 0.180856
0.155000 | 0.061693 0.000000 0.000000 0.112366 -0.038850 0.019792
0.943000 | -1.767630 0.000000 0.000000-62.500000 -6.061889 5.650823 65.621696
0.901802 | -1.180945 0.000000 0.000000-41.504734 -4.434438 4.260408 43.753640 0.007871
0.909000 | -1.281406 0.000000 0.000000-45.047140 -4.731362 4.514967 47.449096 0.010592 -0.005747
0.940000 | -1.724470 0.000000 0.000000-60.923490 -5.951518 5.556524 63.983012 0.014642 0.064604 -0.079303
1.000000 | -3.301623 0.000000 0.000000**********-10.141422 9.139311123.375943 4.623244 -3.383278 4.527592 -5.828495
1.000000 | -3.039515 0.000000 0.000000********** -9.290642 8.430505114.201001 -0.963727 -5.034884 5.958131 0.000000 0.000000
0.044280 0.000000 0.000000 0.000000 0.000000 0.354105 0.247969-15.694202 25.084065-31.738368 22.938283 -0.236132 0.000000
0.044313 0.000000 0.000000 0.000000 0.000000 0.354610 0.247848 4.448135 19.846886-23.581623 0.000000 0.000000 -0.360168
verner-87r: 13 stages, order 8 (c | A, then b, then b_hat of order 7)
0.000000 | 0.000000
0.250000 | 0.250000
0.112888 | 0.087401 0.025488
0.169333 | 0.042333 0.000000 0.127000
0.424000 | 0.426095 0.000000 -1.598795 1.596700
0.509000 | 0.050719 0.000000 0.000000 0.254334 0.203947
0.867000 | -0.290004 0.000000 0.000000 1.344187 -2.864778 2.677594
0.150000 | 0.098535 0.000000 0.000000 0.000000 0.221927 -0.181406 0.010944
0.709068 | 0.387111 0.000000 0.000000 -1.442445 2.905398 -1.853771 0.140036 0.572739
0.320000 | -0.161244 0.000000 0.000000 -0.173396 -1.301289 1.137950 -0.031748 0.933513 -0.083786
0.450000 | -0.019199 0.000000 0.000000 0.273309 -0.675350 0.341518 -0.067950 0.096592 0.132531 0.368550
1.000000 | 0.609188 0.000000 0.000000 -2.272569 4.757898 -5.516107 0.290060 0.569142 0.792680 0.154737 1.614971
1.000000 | 0.887358 0.000000 0.000000 -2.975460 5.600717 -5.915607 0.220297 0.101551 1.151435 1.929710 0.000000 0.000000
0.044730 0.000000 0.000000 0.000000 0.000000 0.156910 0.184610 0.225164 0.147946 0.076056 0.122773 0.041812 0.000000
0.045847 0.000000 0.000000 0.000000 0.000000 0.262319 0.191694 0.217092 0.127382 0.115105 0.000000 0.000000 0.040561
enright-ver-87: 13 stages, order 8 (c | A, then b, then b_hat of order 7)
0.000000 | 0.000000
0.055600 | 0.055600
0.102578 | 0.007954 0.094624
0.153867 | 0.038467 0.000000 0.115400
0.384600 | 0.384392 0.000000 -1.441375 1.441584
0.461500 | 0.046168 0.000000 0.000000 0.230767 0.184565
0.153800 | 0.059834 0.000000 0.000000 0.111071 -0.034214 0.017109
0.857100 | -0.537950 0.000000 0.000000 -6.937648 -4.662454 3.995152 9.000000
0.950522 | -1.632427 0.000000 0.000000-10.827156-12.412770 9.727369 16.199351 -0.103844
0.722200 | 0.437970 0.000000 0.000000 3.939532 2.860770 -1.774311 -4.895391 0.213025 -0.059395
0.937500 | -1.474197 0.000000 0.000000-10.994005-11.347104 8.956987 15.893779 -0.098753 0.004889 -0.004097
1.000000 | -2.630059 0.000000 0.000000 -9.174218-19.181393 14.642559 17.529319 -0.371918 -0.700996 0.051016 0.835690
1.000000 | 0.215760 0.000000 0.000000 8.345147 2.185662 -1.687236 -8.711898 0.024441 0.084638 0.543485 0.000000 0.000000
0.043918 0.000000 0.000000 0.000000 0.000000 0.351025 0.246143 0.900324 4.549419 0.004803 -4.741054 -0.354577 0.000000
0.043321 0.000000 0.000000 0.000000 0.000000 0.338300 0.248480 0.223788 -0.040202 0.123292 0.000000 0.000000 0.063020
fehlberg-89: 17 stages, order 8 (c | A, then b, then b_hat of order 9)
0.000000 | 0.000000
0.443689 | 0.443689
0.665534 | 0.166384 0.499151
0.998301 | 0.249575 0.000000 0.748726
0.315500 | 0.206619 0.000000 0.177079 -0.068198
0.505441 | 0.109278 0.000000 0.000000 0.004022 0.392141
0.171429 | 0.098899 0.000000 0.000000 0.003514 0.124761 -0.055746
0.828571 | -0.368069 0.000000 0.000000 0.000000 -2.227390 1.374291 2.049739
0.665440 | 0.045468 0.000000 0.000000 0.000000 0.000000 0.325421 0.284767 0.009784
0.248783 | 0.060842 0.000000 0.000000 0.000000 0.000000 -0.021185 0.195966 -0.004274 0.017434
0.109000 | 0.054060 0.000000 0.000000 0.000000 0.000000 0.000000 0.110298 -0.001257 0.003679 -0.057781
0.891000 | 0.127325 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.114488 0.287730 0.509454 -0.147997
0.399500 | -0.003653 0.000000 0.000000 0.000000 0.000000 0.081630 -0.386077 0.030862 -0.058077 0.335987 0.410669 -0.011840
0.600500 | -1.237536 0.000000 0.000000 0.000000 0.000000-24.430769 0.547796 -4.441386 10.013105-14.995773 5.894695 1.738038 27.512331
1.000000 | -0.352609 0.000000 0.000000 0.000000 0.000000 -0.183961 -0.655702 -0.390861 0.267946 -1.038302 1.667233 0.495519 1.139400 0.051337
0.000000 | 0.001046 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.006716 0.008183 -0.004264 0.000280 -0.008784 0.010255 0.000000
1.000000 | -1.353655 0.000000 0.000000 0.000000 0.000000 -0.183961 -0.655702 -0.390861 0.274663 -1.046485 1.671497 0.495239 1.148184 0.041082 0.000000 1.000000
0.032256 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.259837 0.092848 0.164523 0.176660 0.239201 0.003948 0.030726 0.000000 0.000000
0.001530 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.259837 0.092848 0.164523 0.176660 0.239201 0.003948 0.000000 0.030726 0.030726
verner-89: 16 stages, order 8 (c | A, then b, then b_hat of order 9)
0.000000 | 0.000000
0.083333 | 0.083333
0.111111 | 0.037037 0.074074
0.166667 | 0.041667 0.000000 0.125000
0.459932 | 0.624672 0.000000 -2.398057 2.233317
0.563299 | 0.043670 0.000000 0.000000 0.273953 0.245676
0.236701 | 0.061622 0.000000 0.000000 0.181532 -0.013478 0.007025
0.666667 | 0.074074 0.000000 0.000000 0.000000 0.000000 0.250935 0.341657
0.500000 | 0.074219 0.000000 0.000000 0.000000 0.000000 0.120433 0.340504 -0.035156
0.333333 | 0.076389 0.000000 0.000000 0.000000 0.000000 0.305035 0.310705 -0.062500 -0.296296
0.250000 | 0.071129 0.000000 0.000000 0.000000 0.000000 0.000000 0.378528 -0.011746 0.072721 -0.260632
1.333333 | -8.141640 0.000000 0.000000 0.000000 0.000000**********413.485511113.719202626.941485********************
0.833333 | 0.087804 0.000000 0.000000 0.000000 0.000000 0.693374 -1.903098 0.228863 -0.690428 -0.076912 2.491928 0.001803
1.000000 | -0.105710 0.000000 0.000000 0.000000 0.000000 5.574678 7.485507 -6.229167 2.271605 -4.888889 -4.862298 -0.023504 1.777778
0.166667 | 0.054604 0.000000 0.000000 0.000000 0.000000 -0.272719 0.075196 -0.125460 0.701049 -0.867951 0.564374 -0.000521 0.038095 0.000000
1.000000 | -0.396402 0.000000 0.000000 0.000000 0.000000 -5.456847 6.815249 1.381027 3.730795 7.805290-18.706284 -0.002872 0.422318 0.000000 5.407725
0.061310 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.192857 0.723810 -0.717857 0.750183 0.000412 0.342857 0.032143 0.000000 0.000000
0.043810 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.122143 0.163810 0.332143 -0.300073 -0.000165 0.222857 0.000000 0.360000 0.055476
tsitouras-98: 16 stages, order 9 (c | A, then b, then b_hat of order 8)
0.000000 | 0.000000
0.021739 | 0.021739
0.096296 | -0.116981 0.213276
0.144444 | 0.036111 0.000000 0.108333
0.522059 | 1.573297 0.000000 -5.984009 4.932771
0.228424 | 0.050520 0.000000 0.000000 0.176867 0.001037
0.543604 | 0.105431 0.000000 0.000000 -0.160424 0.116440 0.482157
0.643357 | 0.071484 0.000000 0.000000 0.000000 0.000000 0.329711 0.242161
0.482517 | 0.071624 0.000000 0.000000 0.000000 0.000000 0.328599 0.116222 -0.033927
0.068182 | 0.048615 0.000000 0.000000 0.000000 0.000000 0.039985 0.107157 -0.021777 -0.105798
0.250608 | -0.025401 0.000000 0.000000 0.000000 0.000000 0.033333 -0.164049 0.034105 0.158368 0.214251
0.667367 | 0.005848 0.000000 0.000000 0.000000 0.000000 -0.539542 0.201284 0.043472 -0.004030 0.165415 0.794919
0.855072 | -0.399650 0.000000 0.000000 0.000000 0.000000 -3.790966 -0.403493 -2.824639 1.042269 1.125110 3.327462 2.778980
0.897959 | 0.395453 0.000000 0.000000 0.000000 0.000000 5.825347 -0.365275 1.188603 0.579705 -0.868249 -5.202277 -0.798955 0.143606
1.000000 | 8.491731 0.000000 0.000000 0.000000 0.000000 86.322137 1.025606 85.774280-13.986993-20.715374-72.165972-76.712111 4.223194 -1.256499
1.000000 | -0.428921 0.000000 0.000000 0.000000 0.000000 -9.168657 1.083176 -1.235015 -1.214383 1.372262 9.157232 1.306163 -0.252856 0.380999 0.000000
0.014909 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.204080 0.229014 0.128006 0.223806 0.395532 0.054166 0.126914 -0.000525 0.032258
0.098694 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 20.902219 -1.833664 -0.082733 0.671315-20.989239 6.138875 -4.296421 0.358696 0.032258
verner-98e: 16 stages, order 9 (c | A, then b, then b_hat of order 8)
0.000000 | 0.000000
0.034620 | 0.034620
0.097024 | -0.038934 0.135958
0.145537 | 0.036384 0.000000 0.109152
0.561000 | 2.025764 0.000000 -7.638024 6.173260
0.229008 | 0.051123 0.000000 0.000000 0.177082 0.000803
0.544992 | 0.131601 0.000000 0.000000 -0.295728 0.087814 0.621305
0.645000 | 0.071667 0.000000 0.000000 0.000000 0.000000 0.330553 0.242780
0.483750 | 0.071807 0.000000 0.000000 0.000000 0.000000 0.329438 0.116519 -0.034014
0.067570 | 0.048368 0.000000 0.000000 0.000000 0.000000 0.039290 0.105474 -0.021439 -0.104123
0.250000 | -0.026646 0.000000 0.000000 0.000000 0.000000 0.033333 -0.163107 0.033961 0.157232 0.215227
0.659065 | 0.036890 0.000000 0.000000 0.000000 0.000000 -0.146518 0.224258 0.022944 -0.003585 0.086692 0.438384
0.820600 | -0.486601 0.000000 0.000000 0.000000 0.000000 -6.304603 -0.281246 -2.679019 0.518816 1.365353 5.885091 2.802809
0.901200 | 0.418537 0.000000 0.000000 0.000000 0.000000 6.724548 -0.425444 3.343279 0.617082 -0.929966 -6.099949 -3.002206 0.255320
1.000000 | -0.779374 0.000000 0.000000 0.000000 0.000000-13.937343 1.252049-14.691500 -0.494705 2.242975 13.367894 14.396650 -0.797581 0.440935
1.000000 | 2.058051 0.000000 0.000000 0.000000 0.000000 22.357938 0.909498 35.891101 -3.442515 -4.865481-18.909804-34.263544 1.264757 0.000000 0.000000
0.014612 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.391521 0.231093 0.127477 0.224643 0.568435 0.058259 0.136432 0.030570 0.000000
0.019970 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 2.191499 0.088571 0.114056 0.253316 -2.056564 0.340810 0.000000 0.000000 0.048342
verner-98r: 16 stages, order 9 (c | A, then b, then b_hat of order 8)
0.000000 | 0.000000
0.040000 | 0.040000
0.096487 | -0.019885 0.116373
0.144731 | 0.036183 0.000000 0.108548
0.576000 | 2.272114 0.000000 -8.526886 6.830772
0.227233 | 0.050944 0.000000 0.000000 0.175587 0.000702
0.540767 | 0.142478 0.000000 0.000000 -0.354180 0.075953 0.676516
0.640000 | 0.071111 0.000000 0.000000 0.000000 0.000000 0.327991 0.240898
0.480000 | 0.071250 0.000000 0.000000 0.000000 0.000000 0.326884 0.115616 -0.033750
0.067540 | 0.048227 0.000000 0.000000 0.000000 0.000000 0.039486 0.105885 -0.021520 -0.104537
0.250000 | -0.026091 0.000000 0.000000 0.000000 0.000000 0.033333 -0.165250 0.034347 0.159576 0.214086
0.677092 | -0.036284 0.000000 0.000000 0.000000 0.000000 -1.096168 0.182604 0.070823 -0.023136 0.271120 1.308134
0.811500 | -0.507464 0.000000 0.000000 0.000000 0.000000 -6.631342 -0.252748 -0.495261 0.293253 1.440109 6.237934 0.727019
0.906000 | 0.613012 0.000000 0.000000 0.000000 0.000000 9.088804 -0.407379 1.790733 0.714927 -1.438581 -8.263329 -1.537571 0.345383
1.000000 | -1.211698 0.000000 0.000000 0.000000 0.000000-19.055819 1.263061 -6.913917 -0.676462 3.367860 18.006752 6.838829 -1.031516 0.412911
1.000000 | 2.157389 0.000000 0.000000 0.000000 0.000000 23.807122 0.886278 13.139130 -2.604416 -5.193860-20.412341-12.300856 1.521553 0.000000 0.000000
0.014589 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.002024 0.217805 0.127490 0.224462 0.178725 0.075943 0.129485 0.029477 0.000000
0.020347 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1.069618 0.076808 0.113078 0.255259 -0.982590 0.398155 0.000000 0.000000 0.049326
sharp-98: 16 stages, order 9 (c | A, then b, then b_hat of order 8)
0.000000 | 0.000000
0.020000 | 0.020000
0.096622 | -0.136773 0.233395
0.144933 | 0.036233 0.000000 0.108700
0.311111 | 0.193101 0.000000 -0.647710 0.765720
0.351499 | 0.047744 0.000000 0.000000 0.196932 0.106823
0.147701 | 0.053565 0.000000 0.000000 0.120626 -0.067751 0.041261
0.416000 | 0.046222 0.000000 0.000000 0.000000 0.000000 0.156584 0.213194
0.312000 | 0.046312 0.000000 0.000000 0.000000 0.000000 0.075150 0.212475 -0.021937
0.105000 | 0.047137 0.000000 0.000000 0.000000 0.000000 0.209089 0.100170 -0.041747 -0.209650
0.587002 | 0.096251 0.000000 0.000000 0.000000 0.000000 -3.288982 0.158121 1.384722 2.386892 -0.150000
0.683818 | -0.414072 0.000000 0.000000 0.000000 0.000000 2.793623 -3.942015 -1.805083 -0.082411 3.767244 0.366533
0.879004 | 0.257119 0.000000 0.000000 0.000000 0.000000 3.223675 3.956448 1.902696 -5.239106 -2.689948 -1.632651 1.100770
0.916000 | 4.085834 0.000000 0.000000 0.000000 0.000000-22.271041 21.494820-12.574668 25.402565-24.865731 18.247907 -9.429179 0.825492
1.000000 | -2.060221 0.000000 0.000000 0.000000 0.000000 -2.305556-18.379648 0.980064 6.445892 16.919275 -2.098842 1.320279 0.129769 0.048990
1.000000 | -0.121583 0.000000 0.000000 0.000000 0.000000-13.009192-10.172115 -9.137604 22.027119 6.061225 9.497565 -4.796710 0.651295 0.000000 0.000000
0.029628 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.078084 0.207620 0.169689 0.151706 0.144246 0.166762 0.019253 0.033013 0.000000
0.029860 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.065776 0.213957 0.168722 0.171768 0.125493 0.189264 0.000000 0.000000 0.035161
dopri-853: 12 stages, order 8 (c | A, then b, then b_hat of order 5)
0.000000 | 0.000000
0.052600 | 0.052600
0.078900 | 0.019725 0.059175
0.118350 | 0.029588 0.000000 0.088763
0.281650 | 0.241365 0.000000 -0.884549 0.924834
0.333333 | 0.037037 0.000000 0.000000 0.170829 0.125468
0.250000 | 0.037109 0.000000 0.000000 0.170252 0.060217 -0.017578
0.307692 | 0.037092 0.000000 0.000000 0.170384 0.107262 -0.015319 0.008274
0.651282 | 0.624111 0.000000 0.000000 -3.360893 -0.868219 27.592100 20.154068-43.489884
0.600000 | 0.477663 0.000000 0.000000 -2.488115 -0.590291 21.230051 15.279234-33.288211 -0.020331
0.857143 | -0.937142 0.000000 0.000000 5.186372 1.091437 -8.149787-18.520066 22.739487 2.493606 -3.046764
1.000000 | 2.273310 0.000000 0.000000-10.534495 -2.000872-17.958932 27.948885 -2.858998 -8.872857 12.360567 0.643393
0.054294 0.000000 0.000000 0.000000 0.000000 4.450313 1.891518 -5.801204 0.311164 -0.152161 0.201365 0.044711
0.041174 0.000000 0.000000 0.000000 0.000000 5.675469 2.387277 -7.465581 0.661493 -0.486340 0.119442 0.067066
bs-54: 8 stages, order 5 (c | A, then b, then b_hat of order 4)
0.000000 | 0.000000
0.166667 | 0.166667
0.222222 | 0.074074 0.148148
0.428571 | 0.133382 -0.472303 0.767493
0.666667 | 0.228956 -0.363636 0.293706 0.507641
0.750000 | 0.026500 0.230114 0.107727 0.160219 0.225439
1.000000 | 0.181598 -0.387080 0.412883 0.640991 -1.012144 1.163752
1.000000 | 0.072793 0.000000 0.286624 0.195136 0.008638 0.359566 0.077243
0.072793 0.000000 0.286624 0.195136 0.008638 0.359566 0.077243 0.000000
0.075136 0.000000 0.276248 0.211627 -0.010346 0.370092 0.077243 0.000000
strang: 3 flows, order 2 (partition, fraction of the step)
1 0.500000
2 1.000000
1 0.500000
yoshida-4: 7 flows, order 4 (partition, fraction of the step)
1 0.675604
2 1.351207
1 -0.175604
2 -1.702414
1 -0.175604
2 1.351207
1 0.675604
blanes-moan-s6: 13 flows, order 4 (partition, fraction of the step)
1 0.079204
2 0.209515
1 0.353173
2 -0.143852
1 -0.042065
2 0.434337
1 0.219377
2 0.434337
1 -0.042065
2 -0.143852
1 0.353173
2 0.209515
1 0.079204
blanes-moan-s10: 21 flows, order 6 (partition, fraction of the step)
1 0.050263
2 0.148816
1 0.413514
2 -0.132386
1 0.045080
2 0.067308
1 -0.188055
2 0.432666
1 0.541961
2 -0.016405
1 -0.725526
2 -0.016405
1 0.541961
2 0.432666
1 -0.188055
2 0.067308
1 0.045080
2 -0.132386
1 0.413514
2 0.148816
1 0.050263butcher_tableau%b_dense holds a continuous extension, dense_order (dopri-54: order 4); dense_weights(bt, theta) evaluates it (Dense output).
butcher_tableau%b_hat holds the embedded weights of a pair and butcher_tableau%embedded_order their order: the five embedded pairs ported from FOODIE (#10) and those of issue #11 have them; every other scheme leaves b_hat unallocated and embedded_order 0. A pair advances with b, its higher-order weights, but for Fehlberg's, which advance with their lower-order ones as published (embedded_order above order); b - b_hat gives the error estimate.
Splitting schemes
For
| Name | Constant | Flows | Order | Source |
|---|---|---|---|---|
strang | SCHEME_STRANG | 3 | 2 | Strang (1968) |
yoshida-4 | SCHEME_YOSHIDA_4 | 7 | 4 | Yoshida (1990), the triple jump |
blanes-moan-s6 | SCHEME_BLANES_MOAN_S6 | 13 | 4 | Blanes & Moan (2002), S6 |
blanes-moan-s10 | SCHEME_BLANES_MOAN_S10 | 21 | 6 | Blanes & Moan (2002), S10 |
lie | SCHEME_LIE | 2 | 1 | Trotter (1959); additive splitting only (Composition) |
SPLITTING_SCHEMES lists the first four, the schemes of FORM_SPLITTING; lie is not a palindrome and only additive_splitting takes it (ADDITIVE_SCHEMES lists the five). splitting(name [, first]) returns a splitting_composition: flows, order, and per flow its partition (1 or 2) and coefficient (its fraction of the step); 0 flows for an unknown name. palindrome(first, half, order) builds a symmetric composition from its half sequence, the middle flow last.
ADAM's blanes-moan4 and blanes-moan6 are blanes-moan-s6 and blanes-moan-s10, with the same digits. ADAM's loop over them ran only half of the composition and was not consistent (A4).
The flows apply left to right, flow 1 first, and splitting(name, first=2) starts with partition 2. Through the stepper a flow is one forward-Euler step of its partition,
Leapfrog
The leapfrog is a two-step method on three time levels,
| Name | Constant | Amplitude drift order | Phase order | Imaginary-axis bound | Real-axis bound | ||
|---|---|---|---|---|---|---|---|
leapfrog | SCHEME_LEAPFROG | 0 | — | exact | 2 | 1 | 0 |
leapfrog-raw | SCHEME_LEAPFROG_RAW | 0.2 | 0.53 | 1, with a small constant | 2 | 0.4371 | 0.1988 |
LEAPFROG_SCHEMES lists the two. leapfrog(name) returns the filter, a leapfrog_filter with components nu and alpha (leapfrog_roots(f, z, a_phys, a_comp) gives the roots of its characteristic polynomial at leapfrog_imag_axis_bound(f) and leapfrog_real_axis_bound(f) the stability bounds of the table above, for any
nu= and alpha= of initialize override the scheme's values: notes/integrators-adam-move.md §2.
What q holds with a filter. After a filtered step, q is the singly filtered q.
Tutorial 15 runs both schemes through the stepper: the start-up, the computational mode with and without the filter, a checkpoint, a change of step and the stability bound.
- The form is
FORM_LEAPFROG, one stage at. Its history register (the filtered ) survives finish_stepand is part of the solution's state: see the stepper for the start-up, a change ofdt, checkpoints and regrids. - When to use it. For an oscillatory, non-separable system that wants second order for one residual evaluation per step. A separable one (Maxwell's
and , positions and momenta) is better served by strangwith those partitions: the staggered leapfrog (Yee), self-starting, with no computational mode and no filter. - Decay. The unfiltered leapfrog is unstable for any decay (real-axis bound 0); the filter makes decays up to
stable. - ADAM's leapfrog (
[leapfrog] is_filtered, nu, alpha, removed in szaghi/adam#134) filtered the wrong points:instead of the second difference, which a linear sequence exposes. It is not ported.
Linear multistep schemes
A
explicit when lmm_coefficients (module selah_lmm): k, a(1:k) and b(0:k); lmm(name) returns them (k = 0 for an unknown name). lmm_history(c, ms, mr) gives the levels a step reads besides multistep_registers(name) the registers of the stepper's multistep form, which runs them, multistep_order(name) the order of a scheme of that form, and multistep_starter(name) its built-in start-up.
| Name | Steps | Order | Real-axis bound | Imaginary-axis bound | Source |
|---|---|---|---|---|---|
ab-1 … ab-16 | below | below | Adams–Bashforth; exact rationals | ||
leapfrog (as a multistep scheme) | 2 | 2 | 0 | 1 |
The Adams–Bashforth weights are solved in rational arithmetic from the exactness conditions and typed with 40 digits; ab_name(k) writes a name and ab_steps(name) parses one (0 for any other name; AB_MAX_STEPS = 16, FOODIE's largest). Their bounds, from the root condition:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| real | 2 | 1 | 0.5455 (6/11) | 0.3 | 0.1633 | 0.0877 | 0.0465 | 0.0244 |
| imaginary | 0 | 0 | 0.7236 | 0.4300 | 0 | 0 | 0.0581 | 0.0295 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | |
|---|---|---|---|---|---|---|---|---|
| real | 0.0127 | 0.0066 | 0.0034 | 0.0017 | 8.9e-4 | 4.5e-4 | 2.3e-4 | 1.2e-4 |
| imaginary | 0 | 0 | 0.0038 | 0.0019 | 0 | 0 | 2.5e-4 | 1.3e-4 |
Only the orders 3, 4, 7, 8, 11, 12, 15 and 16 contain a segment of the imaginary axis; past ab-<k> runs in the stepper's multistep form: one residual per step, the selah_test_nonautonomous); ab-1 to ab-11 start themselves, past that the caller writes the history.
- The order,
lmm_order(c): the largestfor which the scheme is exact on polynomials of degree with an exact history, each condition checked relative to the magnitude of its terms (the origin of time at the middle of the levels). - The stability bounds,
lmm_real_axis_bound(c)andlmm_imag_axis_bound(c): onwith , the scheme is stable when every root of has ( lmm_roots(c, z, roots)). Nearthe principal root leaves the unit circle by , far below round-off for a high order. It is computed apart, from the Taylor series of with its order-condition terms dropped, so that AB6's reads as the instability it is. In R8P in every build, as the Runge–Kutta bounds.
The SSP linear multistep schemes
A lmm_ssp_vss(k, p, omega)):
| Name | Constant | Steps | Order | SSP coefficient | Registers (FORM_MULTISTEP) |
|---|---|---|---|---|---|
lmm-ssp-32 | SCHEME_LMM_SSP_32 | 3 | 2 | 1/2 | 3 |
lmm-ssp-43 | SCHEME_LMM_SSP_43 | 4 | 3 | 1/3 | 9 |
lmm-ssp-53 | SCHEME_LMM_SSP_53 | 5 | 3 | 1/2 | 11 |
lmm-ssp-vss-22 | SCHEME_LMM_SSP_VSS_22 | 2 | 2 | needs | 2 |
lmm-ssp-vss-32 | SCHEME_LMM_SSP_VSS_32 | 3 | 2 | per step | 3 |
lmm-ssp-vss-33 | SCHEME_LMM_SSP_VSS_33 | 3 | 3 | needs | 7 |
lmm-ssp-vss-43 | SCHEME_LMM_SSP_VSS_43 | 4 | 3 | per step | 9 |
lmm-ssp-vss-53 | SCHEME_LMM_SSP_VSS_53 | 5 | 3 | per step | 11 |
LMM_SSP_SCHEMES lists the eight; lmm_ssp_family(name, k, p, vss) parses a name.
- One implementation. At a constant step
exactly, and the variable-step formula gives the fixed-step scheme's coefficients to one rounding each (3/4, 1/4, 3/2; 16/27, 11/27, 16/9, 4/9; 25/32, 7/32, 25/16, 5/16): lmm-ssp-32islmm-ssp-vss-32at a constant step, bitwise. The fixed-step names stop on a change ofdt(D7 of #10); the-vss-ones recompute their coefficients at every step. - The SSP coefficient,
lmm_ssp_coefficient(c):when every weight is non-negative, else 0. At a varying step it follows : the stepper's ssp_coefficient()is the current step's, andstage_euler_fraction(1)is, the Euler step enters. The 2-step scheme at a constant step is the leapfrog ( : ), the 3-step third-order one has at : neither is SSP there, and both need a decreasing step to be. - FOODIE's defect F1 is not ported. FOODIE advanced the variable-step schemes with the previous step's increment and ratios off by one index: observed orders 0.3 to 1.6 on a step cycling ×1, ×1.5, ×2/3, where SELAH's give 2.02, 2.98 and 2.99 (
selah_test_lmm_ssp).
The multistep-multistage SSP schemes
A few stages on a few steps (Bresten, Gottlieb, Grant, Higgs, Ketcheson & Németh 2017): stage 1 is msrk(name) returns an msrk_coefficients: steps, stages, order, the weights d, ah, a, q, bh, b (levels steps - 1), the abscissae c, and the SSP coefficient and axis bounds computed in 60 digits by notes/foodie-port-check.py; msrk_history(m, ms, mr) the levels a step reads.
| Name | Constant | Steps | Stages | Order | SSP coefficient | Real-axis bound | Imaginary-axis bound | Registers |
|---|---|---|---|---|---|---|---|---|
msrk-ssp-223 | SCHEME_MSRK_SSP_223 | 2 | 2 | 3 | 2.1962 | 1.1800 | 5 | |
msrk-ssp-323 | SCHEME_MSRK_SSP_323 | 3 | 2 | 3 | 1.1129 | 2.4906 | 0.9934 | 7 |
msrk-ssp-458 | SCHEME_MSRK_SSP_458 | 4 | 5 | 8 | 0.2391 | 1.6056 | 1.4538 | 24 |
MSRK_SSP_SCHEMES lists the three.
- The order is proven by the conditions, not by a convergence run: with exact past values each level is a B-series, and so are the stages and the update; the scheme has order
when the update's coefficient is for every rooted tree of at most nodes (205 conditions for msrk-ssp-458).selah_test_msrkevaluates them in quadruple precision from the working coefficients, each scaled by the sum of its terms (the past levels enter with powers up to): at most 1e-14 to the order, more than 1e-8 beyond it. - The coefficients (D5 of #10):
msrk-ssp-223and-323refined onto their conditions in 60 digits, by at most 3.7e-16, FOODIE's entries below 1e-18 taken as the zeros they are (its optimiser's residues, which would make the schemes non-SSP);msrk-ssp-458as FOODIE types it, since the nearest exact set is 9.5e-15 away, beyond the published digits, and its conditions hold to 2.5e-16 of their terms. - Each residual once (FOODIE's defect F4): the past residuals are the first stage's of earlier steps, kept in the history's ring; FOODIE evaluated 14 residuals per step of
msrk-ssp-458, SELAH 5. A stage's abscissa may be negative (msrk-ssp-458's stage 2: −0.515): it is built from past levels. - The start-up:
ssp-22for the third-order schemes;feagin-108formsrk-ssp-458, whose 17 stage registers dominate its count (no SSP Runge–Kutta scheme exceeds order 4).
The implicit multistep schemes
The Adams–Moulton schemes and the backward differentiation formulas (BDF) are implicit (am-<k> takes am-0, backward Euler; am-1, the trapezoid rule). am_name(k) writes a name, am_steps(name) parses one (−1 for any other name; AM_MAX_STEPS = 15, FOODIE's largest). Their weights are exact rationals typed with 40 digits; lmm(name) returns them, multistep_iterations(name) is the default multistep_predictor(name) the explicit step that makes the first iterate (none here: k = 0, the iterations start from
type(lmm_coefficients) :: c, cp
integer(I4P) :: k, m
character(SCHEME_NAME_LEN) :: name
print '(A)', 'scheme order iterations registers converged: real imaginary iterated: real imaginary'
do k=0, AM_MAX_STEPS
if (k > 3 .and. mod(k, 5) /= 0) cycle ! a sample: 0, 1, 2, 3, 5, 10, 15
name = am_name(k)
if (am_steps(name) /= k) error stop 'implicit: am_steps does not parse am_name'
c = lmm(trim(name)) ! b(0) /= 0: implicit
cp = multistep_predictor(trim(name)) ! k = 0: none, the iterations start from U^n
m = multistep_iterations(trim(name)) ! the default: the fewest that keep the order
print '(A6,I7,I12,I11,F18.4,F12.4,F17.4,F12.4)', name, lmm_order(c), m, &
registers_needed(trim(name), FORM_MULTISTEP), lmm_real_axis_bound(c), lmm_imag_axis_bound(c), &
fixed_point_real_axis_bound(c, cp, m), fixed_point_imag_axis_bound(c, cp, m)
enddo
do k=1, ABM_MAX_STEPS
if (k > 2 .and. iand(k, k - 1) /= 0) cycle ! a sample: 1, 2, 4, 8, 16
name = abm_name(k)
if (abm_steps(name) /= k) error stop 'implicit: abm_steps does not parse abm_name'
c = lmm(trim(name)) ! the corrector, am-<k-1>, over k levels
cp = multistep_predictor(trim(name)) ! ab-<k>: the first iterate
m = multistep_iterations(trim(name)) ! 1: the predictor has the order
print '(A6,I7,I12,I11,F18.4,F12.4,F17.4,F12.4)', name, lmm_order(c), m, &
registers_needed(trim(name), FORM_MULTISTEP), lmm_real_axis_bound(c), lmm_imag_axis_bound(c), &
fixed_point_real_axis_bound(c, cp, m), fixed_point_imag_axis_bound(c, cp, m)
enddo
do k=1, BDF_MAX_STEPS
name = bdf_name(k)
if (bdf_steps(name) /= k) error stop 'implicit: bdf_steps does not parse bdf_name'
c = lmm(trim(name)) ! a(1:k), b(0) = beta, b(1:k) = 0
cp = multistep_predictor(trim(name)) ! none: from U^n
m = multistep_iterations(trim(name)) ! k
print '(A6,I7,I12,I11,F18.4,F12.4,F17.4,F12.4)', name, lmm_order(c), m, &
registers_needed(trim(name), FORM_MULTISTEP), lmm_real_axis_bound(c), lmm_imag_axis_bound(c), &
fixed_point_real_axis_bound(c, cp, m), fixed_point_imag_axis_bound(c, cp, m)
enddo$ cookbook_implicit table
scheme order iterations registers converged: real imaginary iterated: real imaginary
am-0 1 1 4 100.0000 100.0000 2.0000 0.0000
am-1 2 2 4 100.0000 100.0000 2.0000 0.0000
am-2 3 3 5 6.0000 0.0000 1.9944 1.8200
am-3 4 4 6 3.0000 0.0000 2.6667 0.0000
am-5 6 6 11 1.1842 1.3764 1.1903 1.3668
am-10 11 11 27 0.1147 0.0000 0.1147 0.0000
am-15 16 16 18 0.0070 0.0000 0.0070 0.0000
abm-1 1 1 4 100.0000 100.0000 1.0000 1.0000
abm-2 2 1 5 100.0000 100.0000 2.0000 1.2872
abm-4 4 1 7 3.0000 0.0000 1.2848 0.0000
abm-8 8 1 25 0.4930 0.0000 0.3816 0.0000
abm-16 16 1 19 0.0070 0.0000 0.0080 0.0000
bdf-1 1 1 4 100.0000 100.0000 2.0000 0.0000
bdf-2 2 2 5 100.0000 100.0000 1.5000 0.0000
bdf-3 3 3 6 100.0000 0.0000 2.2028 1.3380
bdf-4 4 4 7 100.0000 0.0000 2.0833 0.0000
bdf-5 5 5 9 100.0000 0.7108 1.9426 0.6357
bdf-6 6 6 12 100.0000 0.8431 2.4500 0.8439Verified (
selah_test_lmm,selah_test_nonautonomous): everyam-<k>is exact onfor from an exact history, and not for ; am-0toam-5reach their orderwith the built-in start-up and the default iterations (5.96 for am-5, on); the converged real-axis bounds of am-2toam-6are Lambert's (6, 3, 1.8367, 1.1842, 0.7686), their weights the rationals to 4e-40, FOODIE's exactly (notes/foodie-port-check.py).Each residual once (FOODIE's defect F4): a step evaluates
residuals, one per iteration, the first on being , which the history keeps; FOODIE's adams_moulton_<k>evaluated thehistory residuals again at every step, in all. Adams–Bashforth–Moulton.
abm-<k>(k = 1..16,ABM_MAX_STEPS;abm_name,abm_steps) predicts withab-<k>and corrects witham-<k-1>:multistep_predictor(name)is theab-<k>step, the first iterate, andlmm(name)the corrector over the predictor'slevels ( ), of order . One correction by default ( multistep_iterations= 1, the classic PEC: the predictor has the order), sostages()= 2:, then the residual of the prediction. Verified: exact on for , not , two residuals per step (FOODIE's adams_bashforth_moulton_<k>evaluated the history again in its predictor and in its corrector, F4);abm-1toabm-6reach orderon with two corrections (5.94 for abm-6; with one, 5.84 at the finest grid before round-off, still closing in by half at each halving); with 60 iterations everyabm-<k>gives the step ofam-<k-1>within 1e-13 (the same corrector, converged).BDF.
bdf-<k>(k = 1..6,BDF_MAX_STEPS: past 6 the formula is not zero-stable;bdf_name,bdf_steps) takes the solution levels:, the weights exact rationals ( lmm(name):b(0), the other bzero), order, iterations by default. Its history is solution levels and no residual, so stage 1's residual (on ) serves only as the first iteration's; residuals per step (FOODIE's BDF had no F4 defect). Converged, bdf-1andbdf-2are A-stable, and everybdf-<k>is stable on the whole negative real axis (100, the scan's end); on the imaginary axisbdf-3andbdf-4leave the unit circle from the origin (and : bound 0), bdf-5andbdf-6hold to 0.7108 and 0.8431 (80 digits innotes/foodie-port-check.py, SELAH's within 1e-4). BDF is the family for stiff problems, but only through a solve of your own: atthe fixed point grows by per iteration, and a caller's Newton step through stage_gammagives the closed-form step within 1.5e-14 (selah_test_fixed_point; A step of your own). Verified: exact onfor from an exact history, not ; bdf-1tobdf-6reach orderon (5.89 for bdf-6at 128 steps, past which its rounding, amplified by, takes over). Two sets of bounds.
lmm_real_axis_bound(lmm(name))andlmm_imag_axis_boundare the converged scheme's: what a caller with its own Newton solve gets (am-0andam-1are A-stable: 100, the scan's end). The stepper's are those of the step itsiterations make, fixed_point_real_axis_bound(c, cp, m)andfixed_point_imag_axis_bound: on, , the iterates give with and the first iterate, a characteristic polynomial of degree in , whose roots go through the same root condition. The iterations contract only for : am-1iterated twice is Heun's method (2, 0), three times the cubic(2, 2). Stable to round-off. A root counts as stable when
to 64 ε (the principal root: to the rounding of its own equation). The iterated steps of a scheme that is exactly on the unit circle (the trapezoid on the imaginary axis) leave it by a power of far beyond the order: am-1iterated 50 times grows byper step on the imaginary axis, which reads as stable up to . Two real roots that meet and leave the real axis as a complex pair (
am-3at) are found by restarting the iterations from complex starting values: started from the previous real roots they stay real (Aberth's iterations on a real polynomial) and never converge. Until #10's step 4.1 this would have read 1.0795 for am-3's real-axis bound instead of 3 (Lambert's value); no explicit scheme of the catalogue met it.The leapfrog through the same routine has the bounds of
leapfrog_imag_axis_boundandleapfrog_real_axis_boundwithout the filter: the filter makes the leapfrog a map of two levels that is not a linear multistep scheme, soselah_leapfrogkeeps its own analysis.
The Nordsieck form
nordsieck_stepper (selah_nordsieck) runs the Adams methods of orders 1 to 12 (NORDSIECK_ADAMS, NORDSIECK_ADAMS_MAX_ORDER) and the BDF of orders 1 to 5 (NORDSIECK_BDF, NORDSIECK_BDF_MAX_ORDER) at a step that changes between steps. It keeps the Nordsieck array of the solution, q, the columns
- predicts by the Pascal matrix,
, in place, in one kernel that also makes the first stage's state and ; - corrects,
, , and , : is an implicit stage like the multistep form's, solved by the fixed-point stages or by a solver of yours in stage 2 ( stage_gamma,explicit_part: Stiff terms).
The coefficients are fixed per order (Byrne & Hindmarsh 1975): set_step(bx, h) changes the step by rescaling the columns, set_order(bx, q) adds or drops a column. notes/nordsieck-check.py checks, in exact rationals, that every method reproduces polynomials of degree am-<q-1> (Adams) or bdf-<q> (BDF); selah_test_nordsieck checks the same in the build, and the BDF's implicit stage takes the solvers of Stiff terms.
integer(I4P), parameter :: NCELL = 2
type(nordsieck_stepper) :: ns
type(box) :: bx
real(R_P), allocatable, target :: q(:,:,:,:,:), hf(:,:,:,:,:)
real(R_P), pointer :: y(:,:,:,:,:), r(:,:,:,:,:), e(:,:,:,:,:), z(:,:,:,:,:)
real(R_P) :: t, h, err
integer(I4P) :: nq, j, k, istep, fam
real(R_P) :: dh
character(5) :: family
bx = box_interior(LAYOUT_V_FIRST, 1_I4P, NCELL, 1_I4P, 1_I4P, 0_I4P, 1_I4P)
allocate(q(1,NCELL,1,1,1), hf(1,NCELL,1,1,1))
print '(A)', ' family order l_0 step change error at t = 2'
do fam=1, 3
family = merge(NORDSIECK_ADAMS, NORDSIECK_BDF//' ', fam /= 2)
dh = merge(0.02_R_P, 0.005_R_P, fam == 3) ! the alternation, +- dh around 0.1
do nq=1, merge(NORDSIECK_ADAMS_MAX_ORDER, NORDSIECK_BDF_MAX_ORDER, fam /= 2)
call ns%initialize(trim(family), lb=bx%lb, ub=bx%hi, qmax=nq)
h = 0.1_R_P ; t = 0._R_P
q = 1._R_P ; hf = -h ! y(0) and h y'(0)
call ns%start(bx, h, hf, order=nq)
do j=2, nq ! z_j = h^j y^(j)(0) / j!
z => ns%column(j)
z = (-h)**j / product([(real(k, R_P), k=1, j)])
enddo
do istep=1, 20
call ns%set_step(bx, 0.1_R_P + merge(-dh, dh, mod(istep, 2) == 1)) ! the columns rescaled
h = ns%h
call ns%begin_step(bx, q) ! the Pascal prediction
do k=1, ns%stages()
call ns%begin_stage(k, bx)
y => ns%stage_state()
if (ns%stage_gamma(k) > 0._R_P) then ! the implicit stage, y = E + gamma R(y): linear here
e => ns%explicit_part()
y = e / (1._R_P + h * ns%stage_gamma(k))
endif
r => ns%rhs_register()
r = -y
call ns%end_stage(k)
enddo
call ns%finish_step(bx, q) ! the correction
t = t + h
enddo
err = abs(q(1,1,1,1,1) - exp(-t))
if (err < 1.e-12_R_P) then ! round-off: printed so, the same on every machine
print '(A6,I6,F16.12,A13,A)', trim(family), nq, ns%stage_gamma(2_I4P), &
merge(' 10 % ', ' 50 % ', fam /= 3), ' below 1e-12'
else
print '(A6,I6,F16.12,A13,ES14.2)', trim(family), nq, ns%stage_gamma(2_I4P), &
merge(' 10 % ', ' 50 % ', fam /= 3), err
endif
call ns%destroy
enddo
enddo$ cookbook_nordsieck orders
family order l_0 step change error at t = 2
adams 1 1.000000000000 10 % 1.33E-02
adams 2 0.500000000000 10 % 2.27E-04
adams 3 0.416666666667 10 % 1.17E-05
adams 4 0.375000000000 10 % 7.56E-07
adams 5 0.348611111111 10 % 5.42E-08
adams 6 0.329861111111 10 % 4.08E-09
adams 7 0.315591931217 10 % 3.11E-10
adams 8 0.304224537037 10 % 2.34E-11
adams 9 0.294868000441 10 % 1.69E-12
adams 10 0.286975446429 10 % below 1e-12
adams 11 0.280189596444 10 % below 1e-12
adams 12 0.274265540032 10 % below 1e-12
bdf 1 1.000000000000 10 % 1.33E-02
bdf 2 0.666666666667 10 % 9.42E-04
bdf 3 0.545454545455 10 % 7.20E-05
bdf 4 0.480000000000 10 % 5.83E-06
bdf 5 0.437956204380 10 % 4.91E-07
adams 1 1.000000000000 50 % 1.38E-02
adams 2 0.500000000000 50 % 2.53E-04
adams 3 0.416666666667 50 % 1.37E-05
adams 4 0.375000000000 50 % 8.19E-07
adams 5 0.348611111111 50 % 4.56E-08
adams 6 0.329861111111 50 % 7.86E-09
adams 7 0.315591931217 50 % 1.13E-07
adams 8 0.304224537037 50 % 7.24E-07
adams 9 0.294868000441 50 % 1.92E-06
adams 10 0.286975446429 50 % 2.50E-06
adams 11 0.280189596444 50 % 1.83E-06
adams 12 0.274265540032 50 % 7.67E-07BDF's stability limit. BDF of orders 3 to 5 are not stable on the whole left half-plane: a weakly damped oscillation at a step its accuracy allows can fall where they amplify it (orders 3 and 4 have no interval on the imaginary axis at all), and the error estimate, relative to a growing solution, does not stop it. With stability_detection (default on), select watches the solution's derivative, the last stage's error_sums): when it grows at every one of detections counts it). A mode that decays, or oscillates under BDF's damping, never grows so; a solution that grows physically also fires it, and costs a lower order only. It is a simplification of the principle of Hindmarsh's detection, reading the amplification from the Nordsieck history, not his algorithm. selah_test_nordsieck: on
Change the step rarely. Fixed coefficients interpolate the array to the new step; changed at every step by 50 %, the Adams orders 7 to 12 lose 3 to 10 digits above (changed by 10 %, they keep them). A step and order selection that changes the step only after several steps, by a margin, avoids it.
The Nyström form
Runge–Kutta–Nyström schemes for second-order systems nystrom_stepper: rkn-4 (Nyström 1925, 3 stages, order 4), rkn-64 (Dormand, El-Mikkawy & Prince's RKN6(4)6FM, 1987, 6 stages, an embedded pair of order 4), rkn-1210 (their RKN12(10)17M, 1987, 17 stages, embedded order 10). notes/nystrom-check.py checks every order condition tree by tree in 60 digits (notes/methods/rkn/: the coefficients, their secondary sources: the 1987 papers were not reachable, and rkn-1210's rationals agree with the 30 digits Dormand and Prince supplied to TOMS Algorithm 670). Second-order systems shows them against the first-order form.
Störmer and Cowell. The k-step schemes for stormer_stepper: stormer-<k>, stormer-1, Verlet's, has order 2 by symmetry), and cowell-<k>, cowell-2 is Numerov's, order 4 by symmetry), STORMER_MAX_STEPS). stormer_weights(name, w, order) gives the weights, exact rationals from notes/stormer-check.py (exactness on stormer-2 and cowell-3 repeat stormer-1 and cowell-2 with a zero weight, the symmetric schemes having one order more). The history, history(level), then resume); a step evaluates q (stage 1) into its ring of forces; Cowell's implicit stage, stage_gamma, explicit_part), as for the implicit multistep schemes.
Commutator-free Magnus schemes
For a linear non-autonomous system magnus_stepper (Stepper: exponential stages). The coefficients come from the papers and are checked in 80 digits, every word of the Dyson series up to the order on the Gauss-node form (notes/magnus-check.py, notes/methods/magnus/, the theory in notes/magnus.md):
| Scheme | Order | Exponentials | Gauss nodes | Every exponential forward | Cost | Source |
|---|---|---|---|---|---|---|
cf4-2 | 4 | 2 | 2 | yes | 1.0 | Blanes & Moan (2006), Thalhammer (2006) |
cf4-3opt | 4 | 3 | 3 | yes | 1.35 | Alvermann & Fehske (2011), CF4:3Opt |
cf4-4 | 4 | 4 | 3 | yes | 1.155 | Blanes, Casas & Thalhammer (2017) |
cf6-5 | 6 | 5 | 3 | no | 1.938 | Alvermann & Fehske (2011), CF6:5 |
cf6-5b | 6 | 5 | 3 | no | 1.741 | Blanes & Moan (2006), |
cf6-5opt | 6 | 5 | 4 | no | 1.875 | Alvermann & Fehske (2011), CF6:5Opt |
cf8-11 | 8 | 11 | 4 | no | 5.164 | Alvermann & Fehske (2011), CF8:11 |
Choose a scheme
Set what the problem needs; the schemes are filtered by the bounds SELAH computes from their coefficients (the imaginary- and real-axis bounds of A5, the SSP coefficients of P2) and by the cheapest storage form of each:
Which scheme fits your problem
Set what your problem needs. The stability bounds are SELAH's own, computed from the tableaux; the register counts are the cheapest storage form of each scheme.
21 of 80 schemes fit: leapfrog, lmm-ssp-vss-22, msrk-ssp-223, ssp-33, lsrk-33, kutta-3, ssp-43, rk4, ralston-4, shanks-4, jiang-shu-4, bs-32, lsrk-54, ssp-54, ssp-53, lsrk-64, lsrk-74, ssp-104, lsrk-124, lsrk-134, lsrk-144.
21 schemes fit
Runge–Kutta, strong-stability preserving 5
ssp-33SSP C = 1order 3ωΔt ≤ 1.732λΔt ≤ 2.513evals 3/stepregisters 2 · Shu–Osher 2Rssp-43SSP C = 2order 3ωΔt ≤ 2.156λΔt ≤ 5.149evals 4/stepregisters 3 · Shu–Osher 2Rssp-54SSP C = 1.5082order 4ωΔt ≤ 3.278λΔt ≤ 5.331evals 5/stepregisters 6 · Butcherssp-53SSP C = 2.6506order 3ωΔt ≤ 2.695λΔt ≤ 6.214evals 5/stepregisters 6 · Butcherssp-104SSP C = 6order 4ωΔt ≤ 4.921λΔt ≤ 13.917evals 10/stepregisters 2 · Ketcheson 2R
lsrk-33order 3ωΔt ≤ 1.732λΔt ≤ 2.513evals 3/stepregisters 2 · Williamson 2Nlsrk-54order 4ωΔt ≤ 3.341λΔt ≤ 4.657evals 5/stepregisters 2 · Williamson 2Nlsrk-64order 4ωΔt ≤ 4.895λΔt ≤ 3.229evals 6/stepregisters 2 · Williamson 2Nlsrk-74order 4ωΔt ≤ 5.677λΔt ≤ 3.957evals 7/stepregisters 2 · Williamson 2Nlsrk-124order 4ωΔt ≤ 10.954λΔt ≤ 4.047evals 12/stepregisters 2 · Williamson 2Nlsrk-134order 4ωΔt ≤ 6.549λΔt ≤ 10.926evals 13/stepregisters 2 · Williamson 2Nlsrk-144order 4ωΔt ≤ 6.079λΔt ≤ 18.521evals 14/stepregisters 2 · Williamson 2N
kutta-3order 3ωΔt ≤ 1.732λΔt ≤ 2.513evals 3/stepregisters 4 · Butcherrk4order 4ωΔt ≤ 2.828λΔt ≤ 2.785evals 4/stepregisters 5 · Butcherralston-4order 4ωΔt ≤ 2.828λΔt ≤ 2.785evals 4/stepregisters 5 · Butchershanks-4order 4ωΔt ≤ 2.828λΔt ≤ 2.785evals 4/stepregisters 5 · Butcherjiang-shu-4order 4ωΔt ≤ 2.828λΔt ≤ 2.785evals 4/stepregisters 5 · Butcher
bs-32order 3ωΔt ≤ 1.732λΔt ≤ 2.513evals 4/stepregisters 5 · Butcher
Leapfrog 1
leapfrogorder 2ωΔt ≤ 1.000λΔt ≤ 0.000evals 1/stepregisters 2 · Leapfrogtwo-step: one evaluation per step after a start-up step; a constant dt
lmm-ssp-vss-22order 2ωΔt ≤ 1.000λΔt ≤ 0.000evals 1/stepregisters 2 · Multistep
msrk-ssp-223SSP C = 0.7321order 3ωΔt ≤ 1.180λΔt ≤ 2.196evals 1/stepregisters 5 · Multistep
The others, and why not
Runge–Kutta, strong-stability preserving 2
eulerSSP C = 1order 1 < 2
ssp-22SSP C = 1imaginary-axis bound 0.000 < 1.0
Runge–Kutta, classical 3
runge-2imaginary-axis bound 0.000 < 1.0
heun-2imaginary-axis bound 0.000 < 1.0
butcher-6needs 8 registers
Runge–Kutta, high order 7
shanks-7needs 10 registers
shanks-7bneeds 11 registers
shanks-8needs 13 registers
cooper-verner-8needs 12 registers
tmy-7sneeds 10 registers
stepanov-10needs 16 registers
zhang-10needs 17 registers
Runge–Kutta, embedded pairs 33
heun-euler-21imaginary-axis bound 0.000 < 1.0
cash-karp-54needs 7 registers
dopri-54needs 8 registers
calvo-65needs 10 registers
feagin-108needs 18 registers
fehlberg-45needs 7 registers
tsitouras-54needs 8 registers
stepanov-54needs 8 registers
pp-54aneeds 8 registers
pp-54bneeds 7 registers
dopri-65needs 9 registers
tsit-pap-64needs 8 registers
verner-65aneeds 9 registers
verner-65rneeds 10 registers
tsit-pap-75needs 10 registers
verner-76eneeds 11 registers
verner-76rneeds 11 registers
sharp-smart-76needs 12 registers
fehlberg-78needs 14 registers
verner-78aneeds 14 registers
tsit-pap-86needs 13 registers
dopri-87needs 14 registers
verner-87eneeds 14 registers
verner-87rneeds 14 registers
enright-ver-87needs 14 registers
fehlberg-89needs 18 registers
verner-89needs 17 registers
tsitouras-98needs 17 registers
verner-98eneeds 17 registers
verner-98rneeds 17 registers
sharp-98needs 17 registers
dopri-853needs 13 registers
bs-54needs 9 registers
Splittings 4
strangneeds an operator that splits in two exact sub-flows
yoshida-4needs an operator that splits in two exact sub-flows
blanes-moan-s6needs an operator that splits in two exact sub-flows
blanes-moan-s10needs an operator that splits in two exact sub-flows
Leapfrog 1
leapfrog-rawimaginary-axis bound 0.437 < 1.0
SSP linear multistep 7
lmm-ssp-32SSP C = 0.5imaginary-axis bound 0.000 < 1.0
lmm-ssp-43SSP C = 0.3333needs 9 registers
lmm-ssp-53SSP C = 0.5needs 11 registers
lmm-ssp-vss-32SSP C = 0.5imaginary-axis bound 0.000 < 1.0
lmm-ssp-vss-33needs 7 registers
lmm-ssp-vss-43SSP C = 0.3333needs 9 registers
lmm-ssp-vss-53SSP C = 0.5needs 11 registers
SSP multistep-multistage 2
msrk-ssp-323SSP C = 1.1129needs 7 registers
msrk-ssp-458SSP C = 0.2391needs 24 registers
Not filtered here: they answer another question
- Implicit multistep:
am-<k>, abm-<k>, bdf-<k>; the Nordsieck form at a changing step and order; stiff terms: an implicit stage, its solver yours - Explicit multistep:
ab-<k>; one residual per step from a history - Linear-SSP family:
lssp-<s>, lssp-<s>-1; SSP of any stage count, the order on linear problems only - Second-order systems:
rkn-4, rkn-64, rkn-1210; stormer-<k>, cowell-<k>; y'' = f(t, y): another equation - Commutator-free Magnus:
cf4-2, cf4-3opt, cf4-4, cf6-5, cf6-5b, cf6-5opt, cf8-11; y' = A(t) y by exponentials: another equation
Every family and its members: Schemes.
Verification
| What | Case |
|---|---|
| the order conditions, in quadruple precision | A1 |
| the observed orders, scalar problems, through the stepper, splittings | A2, A3, A4 |
| the stability regions | A5 |
| the SSP coefficients and strong stability | P2, P1 |
lie and the splittings composed with your own flow: their orders | A6 |
| the splittings as kick–drift on particles: orders and bounded energy on Kepler orbits | A7 |
| the leapfrog's orders, amplification factors and stability bounds, every filter | A9 |
| the filter's damping of the computational mode, the mean it conserves | P6 |
| the linear multistep schemes: order by polynomial exactness, the axis bounds (the leapfrog's among them) | selah_test_lmm |
| the SSP linear multistep schemes: fixed = variable step, orders with a varying step, SSP coefficients | selah_test_lmm_ssp, P1 |
| the multistep-multistage SSP schemes: the order conditions, the observed order, one residual per stage | selah_test_msrk |
| ADAM's coefficients, bitwise | C1 |