This is a work-in-progress reimplementation of REBOUND (a C n-body integrator). The goal is to keep the same functionality but provide it in a more modern form without sacrificing performance. *EDIT: Work on this has stopped as I am working on a new integrator.
- A C++ compiler that supports C++17+
- OpenMP
- The Meson build system
- Ninja (recommended)
Run
git clone https://github.com/arvillacl16-bit/REBOUND-Cpp-recode
cd REBOUND-Cpp-recode
meson setup builddir -Dopenmp=true
meson compile -C builddir-Dopenmp=true will build the library to use OpenMP, and -Dopenmp=false will build the library to not use OpenMP.
The static library will be located at ./builddir/rebound/librebound.a.
Original REBOUND code by Hanno Rein and contributors, licensed under GPLv3 or later. This C++ reimplementation is distributed under the same license (GPLv3+).