Resolve "When the grid is adapted, the subdomain grids keep an outdated number of level index sets"
requested to merge 5-when-the-grid-is-adapted-the-subdomain-grids-keep-an-outdated-number-of-level-index-sets into master
This MR makes sure that the index sets are constructed after being updated, and also check that the level index set pointers are valid before dereferencing them.
Closes #5 (closed)
Edited by Santiago Ospina De Los Ríos