A8 Particle pushers
| ID | Group | Type | Backends | Figure | Program |
|---|---|---|---|---|---|
| A8 | Accuracy | P | CPU (gfortran, nvfortran, ifx; R8P and R4P, the volume values in R8P); GPU | no | selah_test_pushers |
Case and scope
selah_push advances particles by one staggered leapfrog step with one of four pushers (guide). The case checks each against its defining implicit equation and against the properties the literature gives it (Boris 1970; Vay 2008; Higuera & Cary 2017; Qin et al. 2013), with the reference values computed at 40 digits by the research of notes/companions-pushers-pml.md.
Setup
| Item | Value |
|---|---|
| Units | |
| Boris | pure |
| Defining equations | |
| Force-free | |
| Relativistic drift | |
| Volume | the momentum map's Jacobian by centred differences ( |
| Non-relativistic limit |
Program
bash
./exe/selah_test_pushersResults
| Check | Result | Bound |
|---|---|---|
| Boris's angle at | 8 ε | |
| Boris's speed, 1000 steps; | kept; kept; bitwise | |
| defining equations, relative residual | 2.2e-16, 5.4e-17, 2.2e-16, 2.2e-16 (Boris, rel. Boris, Vay, HC) | 64 ε |
| force-free, | rel. Boris 1.24e-7 (reference 1.237e-7); Vay 0; HC 0 | 5 % / 64 ε |
| relativistic drift from | rel. Boris 1.8e-2; Vay 1.9e-16; HC 2.2e-16 | moved / 64 ε |
| Boris 1.5e-11, rel. Boris 6.6e-12, HC 3.9e-12 (the differences' floor); Vay −1.220e-4 (reference −1.22e-4) | ||
| every relativistic pusher = Boris |
Findings
- The Fortran kernels reproduce the research's 40-digit reference values (the force-free error of relativistic Boris, the volume defect of Vay) to the digits printed: two independent implementations agree.
- Higuera–Cary is the only one of the four with all three properties (volume, force-free, drift) in the relativistic regime.