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

Hanno Rein, Daniel Tamayo
4/25/2017
15 citations
astro-ph.IMastro-ph.COastro-ph.EP

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

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.

Show full abstract

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.

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{rein2017janus,
  title  = {JANUS: A bit-wise reversible integrator for N-body dynamics},
  author = {Hanno Rein and Daniel Tamayo},
  year   = {2017},
  eprint = {1704.07715},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.07715}
}

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/1704.07715.svg)](https://codeofpaper.com/paper/1704.07715)

Discussion