swMATH ID: 
27308

Software Authors: 
Hanno Rein, ShangFei Liu

Description: 
REBOUND: An opensource multipurpose Nbody code for collisional dynamics. REBOUND is a new multipurpose Nbody code which is freely available under an opensource license. It was designed for collisional dynamics such as planetary rings but can also solve the classical Nbody 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: leapfrog, the symplectic epicycle integrator (SEI) and a WisdomHolman mapping (WH). It supports open, periodic and shearingsheet boundary conditions. REBOUND can use a BarnesHut tree to calculate both selfgravity 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 planesweep algorithm are also implemented. The performance of the planesweep 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 quasitwo 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_astroph.EP;
arXiv_astroph.IM;
arXiv_math.DS;
arXiv_physics.compph;
opensource;
Nbody code;
collisional dynamics

Related Software: 
REBOUNDx;
Python;
exoplanet;
NbodyGradient;
RadVel;
batman;
EXOFAST;
TTVFast;
SymPy;
SciPy;
NumPy;
ExoStriker;
TRIP;
celmech;
ROCKE3D;
climlab;
GPlaSim;
CAM3;
ExoCAM;
SBDART

Cited in: 
2 Publications
