diff options
author | 2019-11-12 16:36:39 -0800 | |
---|---|---|
committer | 2019-11-12 16:36:39 -0800 | |
commit | 751b6e3867a2f41db88430476891fecb2e35b053 (patch) | |
tree | 161ba834c917f7735aa5bc4b96b95f8ac56534d1 /Source/Parallelization/GuardCellManager.cpp | |
parent | bd0735f62d784b906ce34cbda81ddf083dbde33c (diff) | |
download | WarpX-751b6e3867a2f41db88430476891fecb2e35b053.tar.gz WarpX-751b6e3867a2f41db88430476891fecb2e35b053.tar.zst WarpX-751b6e3867a2f41db88430476891fecb2e35b053.zip |
no guard cell exchanges for F with Yee solver. Remove print statements
Diffstat (limited to 'Source/Parallelization/GuardCellManager.cpp')
-rw-r--r-- | Source/Parallelization/GuardCellManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp index 28670fb91..34454bd7e 100644 --- a/Source/Parallelization/GuardCellManager.cpp +++ b/Source/Parallelization/GuardCellManager.cpp @@ -116,8 +116,10 @@ guardCellManager::Init( // Compute number of cells required for Field Solver #ifdef WARPX_USE_PSATD ng_FieldSolver = ng_alloc_EB; + ng_FieldSolverF = ng_alloc_EB; #else ng_FieldSolver = IntVect(AMREX_D_DECL(1,1,1)); + ng_FieldSolverF = IntVect(AMREX_D_DECL(1,1,1)); #endif ng_FieldSolver = ng_FieldSolver.min(ng_alloc_EB); @@ -144,6 +146,7 @@ guardCellManager::Init( // Make sure we do not exchange more guard cells than allocated. ng_FieldGather = ng_FieldGather.min(ng_alloc_EB); ng_UpdateAux = ng_UpdateAux.min(ng_alloc_EB); + ng_FieldSolverF = ng_FieldSolverF.min(ng_alloc_F); // Only FillBoundary(ng_FieldGather) is called between consecutive // field solves. So ng_FieldGather must have enough cells // for the field solve too. |