Demonstrating mathematical integrity under GPU parallelization and reduced precision.
This document describes the benchmarking methodology used to evaluate numerical integrators for the Hénon–Heiles system on CPU and GPU implementations.
The goal is not just performance measurement, but a scientifically meaningful comparison across:
The benchmark is designed to answer three core questions:
The Hénon–Heiles Hamiltonian:
[ H = \frac{1}{2}(p_x^2 + p_y^2) + \frac{1}{2}(x^2 + y^2) + x^2 y - \frac{1}{3} y^3 ]
Each trajectory is defined by:
[ z = (x, y, p_x, p_y) ]
| Method | Order | Symplectic | Expected Behavior |
|---|---|---|---|
| Euler | 1 | ❌ | Fast divergence |
| RK4 | 4 | ❌ | Accurate short-term, energy drift |
| Leapfrog | 2 | ✅ | Long-term stable |
Multiple trajectories initialized with: