Skip to content

Coupling Gadget-2 With ph4 and Multiples Using Bridge #976

Answered by rieder
jeramkaram asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Jeremy,

Thanks for asking - this is something we hope to expand on in the second edition of the AMUSE book.
I'll explain here briefly what exactly happens.
First, you set up two integrators: Multiples for the stars, and Gadget for the gas.
Second, you initiate a Bridge system (the parameters don't matter for this explanation).
Third, you add your systems to Bridge. The arguments here are the following:

  1. the system being added,
  2. a list or tuple of everything kicking the system

In this case, you want the stars in Multiples to be kicked by the gas in Gadget, and vice versa.
What you specify here is /how/ those kicks (from the particles in 2 to the particles in 1) should be calculated.

Sin…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jeramkaram
Comment options

Answer selected by rieder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants