aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/GuardCellManager.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-11-12 08:21:09 -0800
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-11-12 08:21:09 -0800
commit35c888f9901e9da412261556b768f7d37752d965 (patch)
treefdacad4ac33d644b9c1a530c14ffc723a697194e /Source/Parallelization/GuardCellManager.cpp
parent89069ca7ba61dc34f9b392c75d0d4e2f3c2e0938 (diff)
downloadWarpX-35c888f9901e9da412261556b768f7d37752d965.tar.gz
WarpX-35c888f9901e9da412261556b768f7d37752d965.tar.zst
WarpX-35c888f9901e9da412261556b768f7d37752d965.zip
Revert "move FillBoundaryF call to where needed, and allow for extra guard cells"
This reverts commit 89069ca7ba61dc34f9b392c75d0d4e2f3c2e0938.
Diffstat (limited to 'Source/Parallelization/GuardCellManager.cpp')
-rw-r--r--Source/Parallelization/GuardCellManager.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp
index 6a60177c0..9d4a06f73 100644
--- a/Source/Parallelization/GuardCellManager.cpp
+++ b/Source/Parallelization/GuardCellManager.cpp
@@ -17,9 +17,7 @@ guardCellManager::Init(
const int nox_fft, const int noy_fft, const int noz_fft,
const int nci_corr_stencil,
const int maxwell_fdtd_solver_id,
- const int max_level,
- const int extra_guard_cells_alloc,
- const int extra_guard_cells_exchange)
+ const int max_level)
{
// When using subcycling, the particles on the fine level perform two pushes
// before being redistributed ; therefore, we need one extra guard cell
@@ -151,17 +149,6 @@ guardCellManager::Init(
ng_MovingWindow[moving_window_dir] = 1;
}
- ng_alloc_EB += extra_guard_cells_alloc;
- ng_alloc_J += extra_guard_cells_alloc;
- ng_alloc_Rho += extra_guard_cells_alloc;
- ng_alloc_F += extra_guard_cells_alloc;
- ng_alloc_F_int += extra_guard_cells_alloc;
-
- ng_FieldSolver += extra_guard_cells_exchange;
- ng_FieldGather += extra_guard_cells_exchange;
- ng_UpdateAux += extra_guard_cells_exchange;
- ng_MovingWindow += extra_guard_cells_exchange;
-
Print()<<"ng_alloc_EB "<<ng_alloc_EB <<'\n';
Print()<<"ng_alloc_J "<< ng_alloc_J<<'\n';
Print()<<"ng_alloc_Rho "<<ng_alloc_Rho <<'\n';