aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Parallelization')
-rw-r--r--Source/Parallelization/GuardCellManager.H4
-rw-r--r--Source/Parallelization/GuardCellManager.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Parallelization/GuardCellManager.H b/Source/Parallelization/GuardCellManager.H
index c2b9227d2..393fbe33d 100644
--- a/Source/Parallelization/GuardCellManager.H
+++ b/Source/Parallelization/GuardCellManager.H
@@ -31,7 +31,7 @@ public:
* \param noy_fft order of PSATD in y direction
* \param noz_fft order of PSATD in z direction
* \param nci_corr_stencil stencil of NCI corrector
- * \param maxwell_fdtd_solver_id if of Maxwell solver
+ * \param maxwell_solver_id if of Maxwell solver
* \param max_level max level of the simulation
*/
void Init(
@@ -44,7 +44,7 @@ public:
const int nox,
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 maxwell_solver_id,
const int max_level,
const amrex::Array<amrex::Real,3> v_galilean,
const bool safe_guard_cells);
diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp
index a74a04cbe..5ce79fc86 100644
--- a/Source/Parallelization/GuardCellManager.cpp
+++ b/Source/Parallelization/GuardCellManager.cpp
@@ -22,7 +22,7 @@ guardCellManager::Init(
const int nox,
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 maxwell_solver_id,
const int max_level,
const amrex::Array<amrex::Real,3> v_galilean,
const bool safe_guard_cells)
@@ -90,7 +90,7 @@ guardCellManager::Init(
// after pushing particle.
int ng_alloc_F_int = (do_moving_window) ? 2 : 0;
// CKC solver requires one additional guard cell
- if (maxwell_fdtd_solver_id == 1) ng_alloc_F_int = std::max( ng_alloc_F_int, 1 );
+ if (maxwell_solver_id == 1) ng_alloc_F_int = std::max( ng_alloc_F_int, 1 );
ng_alloc_F = IntVect(AMREX_D_DECL(ng_alloc_F_int, ng_alloc_F_int, ng_alloc_F_int));
#ifdef WARPX_USE_PSATD