Skip to content

Commit

Permalink
fix a tiling issue with the shock detection
Browse files Browse the repository at this point in the history
we need to grow the q FAB, not use a growntilebox()
this only affects CPUs, and only seemed to be an issue in 3D
  • Loading branch information
zingale committed Jan 16, 2025
1 parent 1d40334 commit 1b6ed03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/sources/Castro_sources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ Castro::pre_advance_operators (Real time, Real dt) // NOLINT(readability-conver

for (MFIter mfi(Sborder, TilingIfNotGPU()); mfi.isValid(); ++mfi) {
const Box& bx = mfi.tilebox();
const Box& obx = mfi.growntilebox(1);
const Box& obx = amrex::grow(bx, 1);

shk.resize(bx, 1);
#ifdef RADIATION
Expand Down

0 comments on commit 1b6ed03

Please sign in to comment.