aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXMovingWindow.cpp
diff options
context:
space:
mode:
authorGravatar Weiqun Zhang <weiqunzhang@lbl.gov> 2019-06-20 15:42:07 -0700
committerGravatar Weiqun Zhang <weiqunzhang@lbl.gov> 2019-06-20 15:48:49 -0700
commite4fa67f9f9accf1a442786060d76e3f9338528c1 (patch)
tree03d59fa428246ccef1c0768ac005b6de30960200 /Source/Utils/WarpXMovingWindow.cpp
parentb1beba190f3a4b55f1ec16a1b0c81dfcabfa5b95 (diff)
downloadWarpX-e4fa67f9f9accf1a442786060d76e3f9338528c1.tar.gz
WarpX-e4fa67f9f9accf1a442786060d76e3f9338528c1.tar.zst
WarpX-e4fa67f9f9accf1a442786060d76e3f9338528c1.zip
update due to AMReX changes
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 ae781f9aa..06a7d2614 100644
--- a/Source/Utils/WarpXMovingWindow.cpp
+++ b/Source/Utils/WarpXMovingWindow.cpp
@@ -214,7 +214,7 @@ WarpX::shiftMF (MultiFab& mf, const Geometry& geom, int num_shift, int dir)
AMREX_ALWAYS_ASSERT(ng.min() >= num_shift);
- MultiFab tmpmf(ba, dm, nc, ng, MFInfo().SetDeviceFab(false));
+ MultiFab tmpmf(ba, dm, nc, ng);
MultiFab::Copy(tmpmf, mf, 0, 0, nc, ng);
tmpmf.FillBoundary(geom.periodicity());