Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

An open-source multi-purpose N-body code

Project Description

FEATURES

REBOUND is an N-body integrator, i.e. a software package that can integrate the motion of particles under the influence of gravity. The particles can represent stars, planets, moons, ring or dust particles. REBOUND is very flexible and can be customized to accurately and efficiently solve many problems in astrophysics. An incomplete feature list of REBOUND:

  • Symplectic integrators (WHFast, WHFastHelio, SEI, LEAPFROG)
  • High accuracy non-symplectic integrator with adaptive timestepping (IAS15)
  • Support for collisional/granular dynamics, various collision detection routines
  • The code is written entirely in C, conforms to the ISO standard C99 and can be used as a thread-safe shared library
  • Easy-to-use Python module, installation in 3 words: pip install rebound
  • Extensive set of example problems in both C and Python
  • Real-time, 3D OpenGL visualization (C version)
  • Parallelized with OpenMP (for shared memory systems)
  • Parallelized with MPI using an essential tree for gravity and collisions (for distributed memory systems)
  • No libraries are needed, use of OpenGL/glfw3 for visualization is optional
  • The code is fully open-source and can be downloaded freely from http://github.com/hannorein/rebound
  • No configuration is needed to run any of the example problems. Just type make && ./rebound in the problem directory to run them
  • Comes with standard ASCII or binary output routines
  • Different modules are easily interchangeable at runtime

One minute installation

You can install REBOUND with pip if you want to only use the python version of REBOUND:

pip install rebound

Then, you can run a simple REBOUND simulation such as

import rebound
sim = rebound.Simulation()
sim.add(m=1.0)
sim.add(m=1.0e-3, a=1.0)
sim.integrate(1000.)
sim.status()

If you want to use the C version of REBOUND simply copy and paste this line into your terminal (it won’t do anything bad, we promise):

git clone http://github.com/hannorein/rebound && cd rebound/examples/shearing_sheet && make && ./rebound

Documentation

The full documentation with many examples, changelogs and tutorials can be found at

http://rebound.readthedocs.org

We’re alway trying to improve REBOUND and extending the documention is high on our to-do list. If you have trouble installing or using REBOUND, please open an issue on github and we’ll try to help as much as we can.

Changelog

For a changelog of the most important changes in recent updates, see https://github.com/hannorein/rebound/blob/master/changelog.rst

Release History

Release History

This version
History Node

3.5.10

History Node

3.5.8

History Node

3.5.7

History Node

3.5.6

History Node

3.5.5

History Node

3.5.4

History Node

3.5.3

History Node

3.5.2

History Node

3.5.0

History Node

3.4.0

History Node

3.3.1

History Node

3.2.4

History Node

3.2.3

History Node

3.2.2

History Node

3.2.1

History Node

3.2.0

History Node

3.1.1

History Node

3.1.0

History Node

3.0.0

History Node

2.20.6

History Node

2.20.5

History Node

2.20.4

History Node

2.20.3

History Node

2.20.2

History Node

2.20.1

History Node

2.20.0

History Node

2.19.2

History Node

2.19.1

History Node

2.19.0

History Node

2.18.9

History Node

2.18.8

History Node

2.18.7

History Node

2.18.6

History Node

2.18.5

History Node

2.18.3

History Node

2.18.2

History Node

2.18.1

History Node

2.18.0

History Node

2.17.0

History Node

2.16.6

History Node

2.16.5

History Node

2.16.4

History Node

2.16.3

History Node

2.16.2

History Node

2.16.1

History Node

2.16.0

History Node

2.15.0

History Node

2.14.7

History Node

2.14.6

History Node

2.14.5

History Node

2.14.3

History Node

2.14.2

History Node

2.14.1

History Node

2.14.0

History Node

2.13.10

History Node

2.13.9

History Node

2.13.8

History Node

2.13.7

History Node

2.13.6

History Node

2.13.4

History Node

2.13.3

History Node

2.13.2

History Node

2.13.1

History Node

2.13.0

History Node

2.12.1

History Node

2.12.0

History Node

2.11.1

History Node

2.11.0

History Node

2.10.1

History Node

2.10.0

History Node

2.9.0

History Node

2.8.0

History Node

2.7.3

History Node

2.7.2

History Node

2.7.1

History Node

2.7.0

History Node

2.6.0

History Node

2.5.0

History Node

2.4.0

History Node

2.3.0

History Node

2.2.1

History Node

2.2.0

History Node

2.1.0

History Node

2.0.5

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.36

History Node

0.1.35

History Node

0.1.34

History Node

0.1.33

History Node

0.1.32

History Node

0.1.31

History Node

0.1.30

History Node

0.1.27

History Node

0.1.26

History Node

0.1.25

History Node

0.1.24

History Node

0.1.23

History Node

0.1.22

History Node

0.1.21

History Node

0.1.20

History Node

0.1.19

History Node

0.1.18

History Node

0.1.17

History Node

0.1.16

History Node

0.1.15

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.11

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rebound-3.5.10.tar.gz (209.9 kB) Copy SHA256 Checksum SHA256 Source Nov 7, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting