From 35c888f9901e9da412261556b768f7d37752d965 Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Tue, 12 Nov 2019 08:21:09 -0800 Subject: Revert "move FillBoundaryF call to where needed, and allow for extra guard cells" This reverts commit 89069ca7ba61dc34f9b392c75d0d4e2f3c2e0938. --- Source/Parallelization/GuardCellManager.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Source/Parallelization/GuardCellManager.cpp') 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 "<