SAMRAI
SAMRAI copied to clipboard
Bug in BaseGridGeometry::readBlockDataFromInput
the BoxId of sing_box is not set before it is pushed to BaseGridGeometry::d_singularity (hier/BaseGridGeometry.C:2152 and 2223). It will not have negative effect until you want to restart. Box of of d_singularity[blockid] has incorrect BoxId and it is dumped to Restart file. When you are going to read the restart file, an assert failed.
We can observe the bug in an configuration with singularity, e.g., test/MblkLinAdv. Try to run it with restart and the bug occur.