Symplectic Integrator on GPUs

Demonstrating mathematical integrity under GPU parallelization and reduced precision.

View the Project on GitHub OleBo/SymplecticIntegrator

GPU-Accelerated Integrators — Benchmark Experiment Documentation

Overview

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:


1. Objective

The benchmark is designed to answer three core questions:

1.1 Numerical Accuracy vs Physical Fidelity


1.2 Long-Term Stability


1.3 Performance and Scalability


2. Systems Under Study

2.1 Dynamical System

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 ]


2.2 State Representation

Each trajectory is defined by:

[ z = (x, y, p_x, p_y) ]


2.3 Integrators Compared

Method Order Symplectic Expected Behavior
Euler 1 Fast divergence
RK4 4 Accurate short-term, energy drift
Leapfrog 2 Long-term stable

3. Experimental Design

3.1 Initial Conditions