Skip to content

Commit 057363c

Browse files
authored
fix a tiling issue with the shock detection (#3019)
we need to grow the q FAB, not use a growntilebox() this only affects CPUs, and only seemed to be an issue in 3D
1 parent 0be5ca8 commit 057363c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/sources/Castro_sources.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ Castro::pre_advance_operators (Real time, Real dt) // NOLINT(readability-conver
561561

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

566566
shk.resize(bx, 1);
567567
#ifdef RADIATION

0 commit comments

Comments
 (0)