Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Floodfill landIceFraction, not landIceMask
During the `cull_mesh` step of creating a global ocean mesh, if ice-shelf cavities are present, we need to flood fill to make sure all land ice is connected (no islands of isolated land ice). This merge changes the flood fill to be on all locations where `landIceFraction > 0`, not all locations where `landIceFraction > 0.5`. It then masks all `landIce*` fields to only be nonzero within the flood-filled region. This prevents islands of nonzero `landIceFraction`, `landIcePressure`, `landIceDraft`, etc.
- Loading branch information