Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamics for multis #947

Open
wants to merge 41 commits into
base: feature-multis
Choose a base branch
from

Conversation

miroslavbroz
Copy link
Contributor

Re-implementation of Keperian dynamics for N bodies, so that it is compatible with Rebound numerical integrator.

@kecnry kecnry self-requested a review October 1, 2024 13:12
@@ -0,0 +1,60 @@
#!/usr/bin/env python3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please consolidate all source files related to transformations into a single python file, say transformations.py, so that we have everything in one place? Also, could you move executable parts to a test suite so that it's run alongside other tests? Finally, could you write up a high level documentation for the new implementation? It would be good to put our heads together and discuss naming -- for example, 'xyz' vs. 'cartesian' and similar.

Using user-defined force 'j2' instead of 'gravitational harmonics',
where the z-axis was assumed to be fixed,
not perpendicular to the respective orbit(s).
For the moment, 'j2' must be added as follows:

https://sirrah.troja.mff.cuni.cz/~mira/tmp/phoebe2/reboundx/
Each component has its own rotation axis,
with respect to which the acceleration must be computed
(and transformed back to the inertial frame).
For the moment, src/gravitational_harmonics.c must be modified:

https://sirrah.troja.mff.cuni.cz/~mira/tmp/phoebe2/reboundx_j2_/
@kecnry kecnry changed the title Multiple systems working in Phoebe Dynamics for multis Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants