diff options
author | 2020-07-27 14:54:39 -0700 | |
---|---|---|
committer | 2020-07-27 14:54:39 -0700 | |
commit | e9a557f57122f88fa6a33da89a4513a9edb9d98d (patch) | |
tree | 6e0c6dbfaeae686a285aff29f5d929f7998bda20 /Source/Parallelization/GuardCellManager.H | |
parent | 252efd0db610e7e3b66eb643cbfb0294f3108be7 (diff) | |
download | WarpX-e9a557f57122f88fa6a33da89a4513a9edb9d98d.tar.gz WarpX-e9a557f57122f88fa6a33da89a4513a9edb9d98d.tar.zst WarpX-e9a557f57122f88fa6a33da89a4513a9edb9d98d.zip |
Rename Input to `algo.maxwell_solver` (#1188)
* Rename Input to `algo.maxwell_solver`
Rename the input option `algo.maxwell_fdtd_solver` to
`algo.maxwell_solver` and throw a useful error message for users
using the old option.
This is in preparation to unify FDTD and PSATD input control to
reduce mutually exclusive binary variants of WarpX.
* MW Solver Name: Update Examples
Update all example to use the new algo.maxwell_solver option.
* Fix typo in comutation of dt
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Diffstat (limited to 'Source/Parallelization/GuardCellManager.H')
-rw-r--r-- | Source/Parallelization/GuardCellManager.H | 4 |
1 files changed, 2 insertions, 2 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); |