diff options
author | 2020-01-14 17:05:11 -0800 | |
---|---|---|
committer | 2020-01-14 17:05:11 -0800 | |
commit | ab87830fc7ed2677f77772f6af76fdf1a6b6ec96 (patch) | |
tree | 55f2b2d64b10815b121af90690a85d23d71d8a8a /Source/Parallelization/GuardCellManager.cpp | |
parent | 88eba773dd4f56be8e47affdd7c4e78e54e59693 (diff) | |
download | WarpX-ab87830fc7ed2677f77772f6af76fdf1a6b6ec96.tar.gz WarpX-ab87830fc7ed2677f77772f6af76fdf1a6b6ec96.tar.zst WarpX-ab87830fc7ed2677f77772f6af76fdf1a6b6ec96.zip |
fix error MW 1 MR 1 subcycling 0
Diffstat (limited to 'Source/Parallelization/GuardCellManager.cpp')
-rw-r--r-- | Source/Parallelization/GuardCellManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp index 7f72553b6..a275f4c00 100644 --- a/Source/Parallelization/GuardCellManager.cpp +++ b/Source/Parallelization/GuardCellManager.cpp @@ -128,7 +128,9 @@ guardCellManager::Init( ng_FieldSolverF = ng_alloc_F; ng_FieldGather = ng_alloc_EB; ng_UpdateAux = ng_alloc_EB; - ng_MovingWindow = ng_alloc_EB; + if (do_moving_window){ + ng_MovingWindow = ng_alloc_EB; + } } else { ng_FieldSolver = ng_FieldSolver.min(ng_alloc_EB); |