Skip to content

Zoom 4: Implementing the regridding in the presence of a zoom region

William Roper requested to merge zoom_regrid into zoom_merge

This MR introduces the machinery the "regird" with a zoom region. This includes:

  • The regridding logic with zoom-specific modifications.
  • The cell construction.
  • The setup and population of cell pointer arrays in space_rebuild.
  • Debugging checks to ensure what has been constructed makes sense.

Note that to enable multiple regrids zoom_region_init has been split here into zoom_props_init and zoom_region_init. The former parses the properties while the latter computes the region geometry and can be called at later times to modify the region geometry should it become necessary. The tests have also been updated to account for this change.

Merge request reports