diff options
author | 2020-07-27 14:54:39 -0700 | |
---|---|---|
committer | 2020-07-27 14:54:39 -0700 | |
commit | e9a557f57122f88fa6a33da89a4513a9edb9d98d (patch) | |
tree | 6e0c6dbfaeae686a285aff29f5d929f7998bda20 /Python | |
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 'Python')
-rw-r--r-- | Python/pywarpx/picmi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index 6ee342bdc..ccf35b414 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -486,7 +486,7 @@ class ElectromagneticSolver(picmistandard.PICMI_ElectromagneticSolver): else: # --- Same method names are used, though mapped to lower case. - pywarpx.algo.maxwell_fdtd_solver = self.method + pywarpx.algo.maxwell_solver = self.method if self.cfl is not None: pywarpx.warpx.cfl = self.cfl |