SAMRAI icon indicating copy to clipboard operation
SAMRAI copied to clipboard

Bug in BaseGridGeometry::readBlockDataFromInput

Open humhang opened this issue 8 years ago • 0 comments

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.

humhang avatar Jun 16 '17 20:06 humhang