IAS15: A fast, adaptive, high-order integrator for gravitational dynamics, accurate to machine precision over a billion orbits

Hanno Rein, David S. Spiegel
9/16/2014
552 citations
astro-ph.EPastro-ph.IMastro-ph.SR

Official code: hannorein/rebound (1,161 stars, C, GPL-3.0, last commit 2026-11-03).

Abstract

We present IAS15, a 15th-order integrator to simulate gravitational dynamics. The integrator is based on a Gauß-Radau quadrature and can handle conservative as well as non-conservative forces.

Show full abstract

We develop a step-size control that can automatically choose an optimal timestep. The algorithm can handle close encounters and high-eccentricity orbits. The systematic errors are kept well below machine precision and long-term orbit integrations over $10^9$ orbits show that IAS15 is optimal in the sense that it follows Brouwer's law, i.e. the energy error behaves like a random walk. Our tests show that IAS15 is superior to a mixed-variable symplectic integrator (MVS) and other popular integrators, including high-order ones, in both speed and accuracy. In fact, IAS15 preserves the symplecticity of Hamiltonian systems better than the commonly-used nominally symplectic integrators to which we compared it. We provide an open-source implementation of IAS15. The package comes with several easy-to-extend examples involving resonant planetary systems, Kozai-Lidov cycles, close encounters, radiation pressure, quadrupole moment, and generic damping functions that can, among other things, be used to simulate planet-disc interactions. Other non-conservative forces can be added easily.

View on arXivView PDF

Code Implementations(1)

hannorein/reboundOfficial100%
GPL-3.0

💫 An open-source multi-purpose N-body code.

1,161273C, PythonJul 2, 20114 weeks agoGPL-3.0
astrophysicskeplerian-elementsn-bodyorbitsplanetary-science+1 more

Similar Papers

Cite this paper

@article{rein2014ias,
  title  = {IAS15: A fast, adaptive, high-order integrator for gravitational dynamics, accurate to machine precision over a billion orbits},
  author = {Hanno Rein and David S. Spiegel},
  year   = {2014},
  eprint = {1409.4779},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1409.4779}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1409.4779.svg)](https://codeofpaper.com/paper/1409.4779)

Discussion