Skip to content

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?

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.

1 participant