diff options
author | 2020-01-03 19:30:34 -0800 | |
---|---|---|
committer | 2020-01-03 19:30:34 -0800 | |
commit | 72c751d492c44c0bc4d318aeb195e05636c8c38a (patch) | |
tree | bfc14a4213a8c3e528a300f683535669cb91c5e1 /Source/Utils/WarpXMovingWindow.cpp | |
parent | 0dd9333849b53089e1f7cad91b18ed2010a5c29a (diff) | |
download | WarpX-72c751d492c44c0bc4d318aeb195e05636c8c38a.tar.gz WarpX-72c751d492c44c0bc4d318aeb195e05636c8c38a.tar.zst WarpX-72c751d492c44c0bc4d318aeb195e05636c8c38a.zip |
include Remi's suggestions
Diffstat (limited to 'Source/Utils/WarpXMovingWindow.cpp')
-rw-r--r-- | Source/Utils/WarpXMovingWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Utils/WarpXMovingWindow.cpp b/Source/Utils/WarpXMovingWindow.cpp index 2c0c6eac9..7044d75d8 100644 --- a/Source/Utils/WarpXMovingWindow.cpp +++ b/Source/Utils/WarpXMovingWindow.cpp @@ -221,8 +221,7 @@ WarpX::shiftMF (MultiFab& mf, const Geometry& geom, int num_shift, int dir, MultiFab tmpmf(ba, dm, nc, ng); MultiFab::Copy(tmpmf, mf, 0, 0, nc, ng); - // Not sure why this is needed, but it is... - IntVect ng_mw = IntVect::TheUnitVector(); + IntVect ng_mw = IntVect::TheZeroVector(); // Enough guard cells in the MW direction ng_mw[dir] = num_shift; // Add the extra cell (if momentum-conserving gather with staggered field solve) |