aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXMovingWindow.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-11-05 09:28:35 -0800
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-11-05 09:28:35 -0800
commite91822a76810f7a715fd1b60c2c193eb2b8f4c29 (patch)
treead7fa18033e129cc5a95bd1ebda42547da864ffa /Source/Utils/WarpXMovingWindow.cpp
parent3d5159e68d1c7e3a6004cec5d91775e953de6d3c (diff)
downloadWarpX-e91822a76810f7a715fd1b60c2c193eb2b8f4c29.tar.gz
WarpX-e91822a76810f7a715fd1b60c2c193eb2b8f4c29.tar.zst
WarpX-e91822a76810f7a715fd1b60c2c193eb2b8f4c29.zip
use new version of FillBoundary from amrex
Diffstat (limited to 'Source/Utils/WarpXMovingWindow.cpp')
-rw-r--r--Source/Utils/WarpXMovingWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Utils/WarpXMovingWindow.cpp b/Source/Utils/WarpXMovingWindow.cpp
index e3819966d..2c0c6eac9 100644
--- a/Source/Utils/WarpXMovingWindow.cpp
+++ b/Source/Utils/WarpXMovingWindow.cpp
@@ -230,7 +230,7 @@ WarpX::shiftMF (MultiFab& mf, const Geometry& geom, int num_shift, int dir,
// Make sure we don't exceed number of guard cells allocated
ng_mw = ng_mw.min(ng);
// Fill guard cells.
- tmpmf.FillBoundary(0, tmpmf.nComp(), ng_mw, geom.periodicity());
+ tmpmf.FillBoundary(ng_mw, geom.periodicity());
// Make a box that covers the region that the window moved into
const IndexType& typ = ba.ixType();