"src/hydro/git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git" did not exist on "58e78fbdec1a27a733296cb7845514b0d47ca561"
GEAR sink: add a minimal mass to sink
All threads resolved!
In this MR, I implemented a minimal mass threshold when sink spawn stars. So, they cannot spawn stars if m_sink - target_mass < sink_minimal_mass
. We discussed it with Yves.
The second condition is relevant for low-resolution simulations, where a newborn sink can spawn stars because the gas mass turned into the sink is big. After spawning the stars, we have sink_mass << gas_mass, which gravitational interactions can kick away. Also, gas particles can never be bound to the sink if their mass is >> sink mass.