hannorein / rebound

💫 An open-source multi-purpose N-body code.
https://rebound.readthedocs.io/
GNU General Public License v3.0
824 stars 218 forks source link

Bug in BS when using coupled ODEs #606

Closed hannorein closed 10 months ago

hannorein commented 1 year ago

There is a bug in the BS integrator when coupling NBody to other ODEs. In the first substep the y1 variable of the additional ODE is not set which might be used in the additional_forces function.