Skip to main content

A library for including additional forces in REBOUND

Project description

http://img.shields.io/badge/REBOUNDx-v2.11.0-green.svg?style=flat https://badge.fury.io/py/reboundx.svg https://travis-ci.org/dtamayo/reboundx.svg?branch=master https://coveralls.io/repos/dtamayo/reboundx/badge.svg?branch=master&service=github http://img.shields.io/badge/license-GPL-green.svg?style=flat https://readthedocs.org/projects/pip/badge/?version=latest https://img.shields.io/badge/launch-binder-ff69b4.svg?style=flat

Changelog

2.11.0 Added tidal precession 2.10.0 Streamlined code for adding new effects (see below)

Update: REBOUNDx 2.10.0

After getting feedback from users and some experimentation with different types of effects one might wish to add to simulations, we have implemented a more streamlined scheme for adding new effects. In this new version, code that you add in C will be automatically callable from the Python version without any of the coding overhead that was required before. For details, see http://reboundx.readthedocs.io/en/latest/add_effect.html

On the Python side We have also developed a custom dictionary for accessing/setting effect/particle parameters (before we were using a quick and dirty solution of hijacking default getters and setters). This has changed some of the syntax, and previous code using REBOUNDx will need (small) modifications to work with version 2.10.0. The changes should be clear from inspection of the various examples in the documentation (see links in http://reboundx.readthedocs.io/en/latest/effects.html). Some of these changes led to feature additions in REBOUND, so you should also update REBOUND to at least version 2.19.2 (see Sec. 5.3 of http://rebound.readthedocs.org/en/latest/python_quickstart.html). Let me know if you have any feedback / issues.

Welcome to REBOUNDx (eXtras)

REBOUNDx allows you to easily incorporate additional physics into your REBOUND simulations. All the computationally expensive parts of the code are written in C, so that the code will run much faster than if you define your own custom additional_forces functions in Python.

For a list of supported effects, installation instructions, tutorials/examples and documentation, please see http://reboundx.readthedocs.org.

https://github.com/dtamayo/dtamayo.github.io/blob/master/pix/reboundx.png

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

reboundx-2.11.0.tar.gz (39.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page