REBOUND swMATH ID: 27308 Software Authors: Hanno Rein, Shang-Fei Liu Description: REBOUND: An open-source multi-purpose N-body code for collisional dynamics. REBOUND is a new multi-purpose N-body code which is freely available under an open-source license. It was designed for collisional dynamics such as planetary rings but can also solve the classical N-body problem. It is highly modular and can be customized easily to work on a wide variety of different problems in astrophysics and beyond. REBOUND comes with three symplectic integrators: leap-frog, the symplectic epicycle integrator (SEI) and a Wisdom-Holman mapping (WH). It supports open, periodic and shearing-sheet boundary conditions. REBOUND can use a Barnes-Hut tree to calculate both self-gravity and collisions. These modules are fully parallelized with MPI as well as OpenMP. The former makes use of a static domain decomposition and a distributed essential tree. Two new collision detection modules based on a plane-sweep algorithm are also implemented. The performance of the plane-sweep algorithm is superior to a tree code for simulations in which one dimension is much longer than the other two and in simulations which are quasi-two dimensional with less than one million particles. In this work, we discuss the different algorithms implemented in REBOUND, the philosophy behind the code’s structure as well as implementation specific details of the different modules. We present results of accuracy and scaling tests which show that the code can run efficiently on both desktop machines and large computing clusters. Homepage: https://rebound.readthedocs.io/en/latest/ Source Code: https://github.com/hannorein/rebound Keywords: Astrophysics; arXiv_astro-ph.EP; arXiv_astro-ph.IM; arXiv_math.DS; arXiv_physics.comp-ph; open-source; N-body code; collisional dynamics Related Software: REBOUNDx; Python; exoplanet; NbodyGradient; RadVel; batman; EXOFAST; TTVFast; SymPy; SciPy; NumPy; Exo-Striker; TRIP; celmech; ROCKE-3D; climlab; GPlaSim; CAM3; ExoCAM; SBDART Cited in: 2 Publications Standard Articles 1 Publication describing the Software Year REBOUND: An open-source multi-purpose N-body code for collisional dynamics Hanno Rein, Shang-Fei Liu 2011 all top 5 Cited by 6 Authors 1 Desjacques, Vincent 1 Ginat, Yonadav Barry 1 Grishin, Evgeni 1 Igoshev, Andrei P. 1 Petit, Antoine C. 1 Rozner, Mor Cited in 2 Serials 1 Celestial Mechanics and Dynamical Astronomy 1 Journal of Cosmology and Astroparticle Physics Cited in 5 Fields 2 Mechanics of particles and systems (70-XX) 1 Partial differential equations (35-XX) 1 Probability theory and stochastic processes (60-XX) 1 Quantum theory (81-XX) 1 Relativity and gravitational theory (83-XX) Citations by Year