Some important changes to the FOF algorithm.
We create two kinds of particles: linkable
and attachable
:
The two categories are specified at runtime in the parameter file.
The use case is to run FOF on the DM only and then attach the gas/stars/BHs to the nearest DM particle they find. With some minor caveats, this is what other FOF codes do.
The strategy is as follows:
Additional improvements:
Todo:
engine_maketasks()
in the first engine_rebuild()
? --> No. Need the comms.