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

Get information about binaries in PeTar #1052

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

rieder
Copy link
Member

@rieder rieder commented May 3, 2024

This adds a way of getting information about binary companions of particles in PeTar.
cc: @lwang-astro @cournoyercloutierc

@rieder
Copy link
Member Author

rieder commented May 3, 2024

Not ready for merging before the following is fixed:

  • don't write files to disk in addition to reporting via AMUSE
  • ensure we consistently report the correct companion (e.g. even after deleting/adding particles)
  • add test functions for this functionality

*binary_companion = p->getBinaryPairID() - 1;
return 0;
}

Copy link
Member Author

Choose a reason for hiding this comment

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

This also needs to work with multiple workers, similar to other getters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant