aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXMovingWindow.cpp
diff options
context:
space:
mode:
authorGravatar RevathiJambunathan <revanathan@gmail.com> 2019-06-21 09:57:17 -0700
committerGravatar RevathiJambunathan <revanathan@gmail.com> 2019-06-21 09:57:17 -0700
commita6893cfe5562b0bf5ecb147de0cd32ec063d2c2f (patch)
treeab5f24538b7bf12e72e5b9ff556d28f54bc25063 /Source/Utils/WarpXMovingWindow.cpp
parentcfe1d5beca648cb6abcdbe32e9c884b68dcc627e (diff)
parente4fa67f9f9accf1a442786060d76e3f9338528c1 (diff)
downloadWarpX-a6893cfe5562b0bf5ecb147de0cd32ec063d2c2f.tar.gz
WarpX-a6893cfe5562b0bf5ecb147de0cd32ec063d2c2f.tar.zst
WarpX-a6893cfe5562b0bf5ecb147de0cd32ec063d2c2f.zip
Merge branch 'dev' of https://github.com/ECP-WarpX/WarpX into SliceGeneration_with_yt_compliance_for_viz
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());