aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Parallelization')
-rw-r--r--Source/Parallelization/GuardCellManager.cpp4
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);