diff options
author | 2020-07-27 14:54:39 -0700 | |
---|---|---|
committer | 2020-07-27 14:54:39 -0700 | |
commit | e9a557f57122f88fa6a33da89a4513a9edb9d98d (patch) | |
tree | 6e0c6dbfaeae686a285aff29f5d929f7998bda20 /Examples/Modules | |
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 'Examples/Modules')
4 files changed, 4 insertions, 4 deletions
diff --git a/Examples/Modules/boosted_diags/inputs_3d_slice b/Examples/Modules/boosted_diags/inputs_3d_slice index 98e9db5d5..7b959e1cb 100644 --- a/Examples/Modules/boosted_diags/inputs_3d_slice +++ b/Examples/Modules/boosted_diags/inputs_3d_slice @@ -14,7 +14,7 @@ algo.current_deposition = esirkepov algo.charge_deposition = standard algo.field_gathering = energy-conserving algo.particle_pusher = vay -algo.maxwell_fdtd_solver = ckc +algo.maxwell_solver = ckc interpolation.nox = 3 interpolation.noy = 3 interpolation.noz = 3 diff --git a/Examples/Modules/ionization/inputs_2d_bf_rt b/Examples/Modules/ionization/inputs_2d_bf_rt index 8feb34a69..bb32abf88 100644 --- a/Examples/Modules/ionization/inputs_2d_bf_rt +++ b/Examples/Modules/ionization/inputs_2d_bf_rt @@ -8,7 +8,7 @@ geometry.prob_lo = -5.e-6 -40.e-6 geometry.prob_hi = 5.e-6 0.e-6 amr.max_level = 0 -algo.maxwell_fdtd_solver = ckc +algo.maxwell_solver = ckc warpx.do_pml = 1 warpx.cfl = .999 warpx.do_moving_window = 1 diff --git a/Examples/Modules/ionization/inputs_2d_rt b/Examples/Modules/ionization/inputs_2d_rt index 4dbe42d17..8c22649fb 100644 --- a/Examples/Modules/ionization/inputs_2d_rt +++ b/Examples/Modules/ionization/inputs_2d_rt @@ -8,7 +8,7 @@ geometry.prob_lo = -5.e-6 0.e-6 geometry.prob_hi = 5.e-6 20.e-6 amr.max_level = 0 -algo.maxwell_fdtd_solver = ckc +algo.maxwell_solver = ckc warpx.do_pml = 1 warpx.cfl = .999 diff --git a/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye b/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye index 6c0678432..ad0bc7fd4 100644 --- a/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye +++ b/Examples/Modules/laser_injection_from_file/inputs.2d_test_txye @@ -23,7 +23,7 @@ warpx.cfl = 0.98 warpx.do_dynamic_scheduling = 0 warpx.load_balance_int = -1 warpx.use_filter = 0 -algo.maxwell_fdtd_solver = ckc +algo.maxwell_solver = ckc ################################# ############ PLASMA ############# |