From cba96cce872c78a5960097490fc80d0ae14f6bd7 Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Wed, 30 Oct 2019 11:40:55 -0700 Subject: no need to pass ng in ShiftMF --- Source/Parallelization/GuardCellManager.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Source/Parallelization/GuardCellManager.cpp') diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp index 166f0d58d..a67e15eb7 100644 --- a/Source/Parallelization/GuardCellManager.cpp +++ b/Source/Parallelization/GuardCellManager.cpp @@ -1,4 +1,5 @@ #include "GuardCellManager.H" +#include using namespace amrex; @@ -121,11 +122,15 @@ guardCellManager::Init( ngF = IntVect(AMREX_D_DECL(ngF_int, ngF_int, ngF_int)); #endif + Print()<<"rrr ngE : "<(aux_is_nodal and !do_nodal)); // Guard cells for field solver - ngB_FieldSolver = IntVect(AMREX_D_DECL(1,1,1)); - ngE_FieldSolver = IntVect(AMREX_D_DECL(1,1,1)); + ng_FieldSolver = IntVect(AMREX_D_DECL(1,1,1)); ng_MovingWindow = IntVect(AMREX_D_DECL(0,0,0)); // Multiplied by number of cells moved at each timestep ng_MovingWindow[moving_window_dir] = 1; int FGcell[4] = {0,1,1,2}; // Index is nox -- cgit v1.2.3