From 1b6ed03e9cf58ae3f83931877f977ada5488bcb9 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Thu, 16 Jan 2025 12:27:15 -0500 Subject: [PATCH] fix a tiling issue with the shock detection we need to grow the q FAB, not use a growntilebox() this only affects CPUs, and only seemed to be an issue in 3D --- Source/sources/Castro_sources.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/sources/Castro_sources.cpp b/Source/sources/Castro_sources.cpp index 1c4981a7db..695e4841e9 100644 --- a/Source/sources/Castro_sources.cpp +++ b/Source/sources/Castro_sources.cpp @@ -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