From 70bfde2d9d0e4374385a28a3eae624228e90e32f Mon Sep 17 00:00:00 2001 From: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com> Date: Wed, 11 Nov 2020 19:20:50 -0800 Subject: Fix Box-index staggering for Coarse-fine Interpolate (#1506) * CI Lamor MR: Cover raw fields Reproduce and cover raw field plots in CI. * fix staggering of box indices in Interpolate --- Source/Utils/Interpolate.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Utils/Interpolate.cpp') diff --git a/Source/Utils/Interpolate.cpp b/Source/Utils/Interpolate.cpp index 73bd530b8..c753aa961 100644 --- a/Source/Utils/Interpolate.cpp +++ b/Source/Utils/Interpolate.cpp @@ -74,9 +74,9 @@ namespace Interpolate #endif for (MFIter mfi(*interpolated_F[0], TilingIfNotGPU()); mfi.isValid(); ++mfi) { - Box const& boxx = mfi.growntilebox(fx_type); - Box const& boxy = mfi.growntilebox(fy_type); - Box const& boxz = mfi.growntilebox(fz_type); + Box const& boxx = mfi.tilebox(fx_type); + Box const& boxy = mfi.tilebox(fy_type); + Box const& boxz = mfi.tilebox(fz_type); Array4 const& fx = interpolated_F[0]->array(mfi); Array4 const& fy = interpolated_F[1]->array(mfi); -- cgit v1.2.3