A library for including additional forces in REBOUND
Project description
Changelog
2.13.0 Fixed collision for long integrations and added support for arrays 2.12.0 Added central force effect 2.11.0 Added tidal precession 2.10.0 Streamlined code for adding new effects (see below)
Update: REBOUNDx 2.13.0
We have added support for array parameters, and have settled on what we think should be a general enough API going forward. We also fixed a memory collision issue for long integrations, so you should update to the new version when possible.
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.
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.