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

Implementation of Barycentric Coordinates #804

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

luke-wriglesworth
Copy link
Contributor

@luke-wriglesworth luke-wriglesworth commented Nov 8, 2024

For the transformations I used something similar to Jacobi coordinates, where the first coordinate points to the center of mass and the other coordinates are calculated relative to it.

luke-wriglesworth and others added 13 commits December 1, 2024 15:56
…rything at the end. Transformation error looks similar to other coordinate systems now.
… perfectly, but for differing masses it will need to be changed to something more general. For systems with more than two bodies I set it to use the first mass as eta. This works much better than using the total system mass in all scenarios I tested it with.
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.

1 participant