From bcbbaed571808740c490bcf2b05ae2aaf473a441 Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Wed, 6 Nov 2019 16:08:55 -0800 Subject: exchange 1 extra guard cell when moving window and PMLs --- Source/Parallelization/GuardCellManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Parallelization/GuardCellManager.cpp') diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp index 60a4a3d4f..6deb45f0e 100644 --- a/Source/Parallelization/GuardCellManager.cpp +++ b/Source/Parallelization/GuardCellManager.cpp @@ -145,6 +145,9 @@ guardCellManager::Init( // for the field solve too. ng_FieldGather = ng_FieldGather.max(ng_FieldSolver); + ng_MovingWindow = IntVect::TheZeroVector(); + ng_MovingWindow[moving_window_dir] = 1; + Print()<<"ng_alloc_EB "<