From ab87830fc7ed2677f77772f6af76fdf1a6b6ec96 Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Tue, 14 Jan 2020 17:05:11 -0800 Subject: fix error MW 1 MR 1 subcycling 0 --- Source/Parallelization/GuardCellManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Parallelization/GuardCellManager.cpp') 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); -- cgit v1.2.3