P6 Leapfrog filter
| ID | Group | Type | Backends | Figure | Program |
|---|---|---|---|---|---|
| P6 | Properties | P | CPU (gfortran, nvfortran, ifx; R8P, R4P); GPU for selah_test_leapfrog (A30 and RTX 4070, C5); selah_vv_leapfrog host only | no | selah_vv_leapfrog, selah_test_leapfrog |
Case and scope
What the Robert–Asselin–Williams filter must guarantee besides accuracy (A9): it damps the computational mode by the analytic factor, it conserves the three-level mean when
Setup
| Property | How it is checked | Program |
|---|---|---|
| computational-mode damping | one step from the computational eigenvector multiplies history and state by the computational root of Williams's eq. (11), to | selah_vv_leapfrog |
| three-level mean, | selah_vv_leapfrog | |
| a linear sequence is not filtered | 1, 2, 3 through one filtered step: unchanged; ADAM's filter, | selah_test_leapfrog |
| the kernel's unfiltered variant bitwise | selah_test_leapfrog |
Program
bash
./exe/selah_vv_leapfrog ; ./exe/selah_test_leapfrogResults
The computational factors match the roots to
Findings
- The filter damps the computational mode at once, at any
: per step near 0. The plain leapfrog never damps it; its only control is the start-up's small excitation ( on an oscillation) or a periodic restart_history(). - The mean-conserving filter is the most accurate one but unconditionally unstable on the imaginary axis (bound 0):
leapfrog-rawtakes, Williams's compromise, stable up to .