Closed jchelly closed 4 months ago
Here's a plot showing the mass function in a small test run with MinNumPartOfSub=20 and MinNumTracerPartOfSub=0,10,100.
If I compare between master and this branch with MinNumTracerPartOfSub=0 there are some tiny differences in the mass function. I'm not sure if that is due to non-reproducible rounding error in the threaded parts of the code, the random sampling in the unbinding or something else.
I'm also a little surprised that there's so little difference between requiring 0 tracer particles and requiring 10.
Could you please add an flamingo/colibre parameter file to the configs directory? Now that new parameters are being added it would be good to have an example to refer to so we don't forget to set any values
Thanks, looks good to me!
This adds a new parameter MinNumTracerPartOfSub which determines the minimum number of particles of the types specified in TracerParticleTypes which must be bound to a subhalo for it to be considered resolved. Subhalos are only resolved if they contain at least MinNumPartOfSub total particles AND at least MinNumTracerPartOfSub "tracer" type particles.