Skip to content
New issue

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

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

Already on GitHub? # to your account

Get information about binaries in PeTar #1052

Draft
wants to merge 6 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.

@rieder
Copy link
Member Author

rieder commented Jul 12, 2024

@cournoyercloutierc have you been able to try this?

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

Successfully merging this pull request may close these issues.

1 participant