English

JANUS: A bit-wise reversible integrator for N-body dynamics

Instrumentation and Methods for Astrophysics 2017-11-29 v2 Cosmology and Nongalactic Astrophysics Earth and Planetary Astrophysics

Abstract

Hamiltonian systems such as the gravitational N-body problem have time-reversal symmetry. However, all numerical N-body integration schemes, including symplectic ones, respect this property only approximately. In this paper, we present the new N-body integrator JANUS, for which we achieve exact time-reversal symmetry by combining integer and floating point arithmetic. JANUS is explicit, formally symplectic and satisfies Liouville's theorem exactly. Its order is even and can be adjusted between two and ten. We discuss the implementation ofJANUS and present tests of its accuracy and speed by performing and analyzing long-term integrations of the Solar System. We show that JANUS is fast and accurate enough to tackle a broad class of dynamical problems. We also discuss the practical and philosophical implications of running exactly time-reversible simulations.

Cite

@article{arxiv.1704.07715,
  title  = {JANUS: A bit-wise reversible integrator for N-body dynamics},
  author = {Hanno Rein and Daniel Tamayo},
  journal= {arXiv preprint arXiv:1704.07715},
  year   = {2017}
}

Comments

Accepted for publication by MNRAS, 7 pages, 4 figures, source code available at https://github.com/hannorein/rebound , iPython notebooks to reproduce figures available at https://github.com/hannorein/JanusPaper

R2 v1 2026-06-22T19:27:18.181Z