hannorein / rebound

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

MERCURIUS update coming soon #367

Closed hannorein closed 5 years ago

hannorein commented 5 years ago

I'm working on an update to the Hybrid Symplectic Integrator in REBOUND. Currently there are two of these integrators MERCURIUS and HERMES. It now seems more and more as if there is no case where HERMES is superior to MERCURIUS. I will therefore remove HERMES to avoid confusion and help maintainability. There will also be a few minor syntax changes for MERCURIUS. Also, MERCURIUS will work more reliably in simulations where physical collisions might occur. The current development is done on the mercuriusrelease branch.

hannorein commented 5 years ago

I am also trying to define a style and naming convention for functions and variables. I don't plant to implement this across the entire codebase right now, but it can serve as a reverence whenever a particular module gets updated. Some of this takes inspiration from PEP8. The C and python syntax should be as close as possible. I will put the final conventions in the documentation, but post it here first in case anyone has any suggestions.

Functions (c):

Variables (c):

Objects (python):

Specific function names (c):

Header files (c):

Indentation:

hannorein commented 5 years ago

Closed via a1e1b73a