Subgrid size change and FOF bugfix

#46 Merged
Repository
clean-copy
Branch
week-of-code
Repository
enzo-dev
Branch
week-of-code
Author
  1. John Wise
Reviewers
Description

There are two changes in this PR.

  1. I've adjusted the MINIMUM_SIZE and MINIMUM_EDGE to 2000 and 4, so grids aren't too small when determining the maximum subgrid size. Also this avoid many small grids when a level is suddenly flagged for refinement, like during initialization or must-refine regions.

  2. Thanks to Manodeep Sinha to finding a couple of bugs in the FOF halo finder. This affected the r200 calculation in halos that straddled periodic boundaries.

Comments (0)