LLNL / SAMRAI

Structured Adaptive Mesh Refinement Application Infrastructure - a scalable C++ framework for block-structured AMR application development
https://computing.llnl.gov/projects/samrai
Other
224 stars 80 forks source link

Make fine connector widths large enough to handle large tag buffers #208

Closed nselliott closed 2 years ago

nselliott commented 2 years ago

This fixes a bug where the default intra-level self connector width gets set to a large value due to a relatively large tag buffer size being specified in the input, but the tag buffer had no effect on the inter-level fine connector width. This caused the possibility of a large difference between the self connector width and the fine connector width, which can cause bridge operations during generation of new levels to fail

The fix is to make sure that the fine connector width is equal to the self connector width divided by the refinement ration (rounded up if there is a remainder).