diff options
author | 2020-11-11 19:20:50 -0800 | |
---|---|---|
committer | 2020-11-11 19:20:50 -0800 | |
commit | 70bfde2d9d0e4374385a28a3eae624228e90e32f (patch) | |
tree | a60a2ee1654c32c5835e04bcb05a0a76ca647035 /Source/Utils/Interpolate.cpp | |
parent | fc63c741bcd3e3750a0f5eeb7b7773e367ec50eb (diff) | |
download | WarpX-70bfde2d9d0e4374385a28a3eae624228e90e32f.tar.gz WarpX-70bfde2d9d0e4374385a28a3eae624228e90e32f.tar.zst WarpX-70bfde2d9d0e4374385a28a3eae624228e90e32f.zip |
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
Diffstat (limited to 'Source/Utils/Interpolate.cpp')
-rw-r--r-- | Source/Utils/Interpolate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<Real > const& fx = interpolated_F[0]->array(mfi); Array4<Real > const& fy = interpolated_F[1]->array(mfi); |