rebound  by hannorein

N-body integrator for astrophysical simulations

Created 15 years ago
1,082 stars

Top 34.7% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Summary

REBOUND is a highly flexible and efficient open-source N-body integrator designed for astrophysical simulations. It enables researchers and engineers to accurately model the gravitational dynamics of systems like stars, planets, and moons, offering significant computational advantages and ease of use through its Python interface and browser-based examples.

How It Works

The core of REBOUND is written in C99, providing a thread-safe shared library. It features a diverse suite of numerical integrators, including symplectic (WHFast, SEI, LEAPFROG, EOS), hybrid symplectic (MERCURIUS, TRACE), and high-order adaptive time-stepping methods (IAS15). This variety allows for accurate and efficient solutions across different dynamical regimes, from long-term planetary system evolution to close encounters and arbitrary coupled ODEs for phenomena like tides and spin.

Quick Start & Requirements

Highlighted Details

  • Offers specialized integrators like WHFast (SIMD AVX512 parallelized), MERCURIUS (hybrid for close encounters), and IAS15 (high-accuracy adaptive).
  • Supports collisional/granular dynamics and integration of user-defined ODEs for tides, spin, etc.
  • Includes real-time, 3D visualization for both C and Python interfaces.
  • Browser-based C examples allow immediate testing without local installation.

Maintenance & Community

The project is primarily maintained by Hanno Rein. Community support is available via GitHub issues. A strict policy prohibits AI/LLM-generated contributions to ensure human effort in code review.

Licensing & Compatibility

REBOUND is distributed under the GNU General Public License v3 or later (GPL-3.0-or-later). This copyleft license requires any derivative works to also be released under the GPL, potentially restricting integration into closed-source commercial products.

Limitations & Caveats

MPI parallelization is limited to specific use cases. The strict AI/LLM contribution policy may deter automated submissions. The GPL license imposes copyleft requirements on modifications and derivative works.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
5
Issues (30d)
3
Star History
14 stars in the last 30 days

Explore Similar Projects

Starred by Alex Chen Alex Chen(Cofounder of Nexa AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
16 more.

genesis-world by Genesis-Embodied-AI

0.1%
29k
Physics platform for robotics & embodied AI learning
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.