Fixes to allow the code to run with the EAGLE model spawning stars
Fixes so far:
- When reordering the extra gpart, also take care of potential links with BHs
- The SF can also change the number of
gpart
. We must thus also exchange the number ofgpart
created with the other nodes at the level where gravity comms are and not just at the hydro super level.
Todo:
-
Clean-up debugging messages -
Activate the extra comm only if a scheme uses particle spawning? -
Make the number of stars formed by the EAGLE model a runtime parameter?
Edited by Matthieu Schaller