aboutsummaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorGravatar Ryan Sandberg <RSandberg@lbl.gov> 2023-02-22 11:27:31 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-22 11:27:31 -0800
commite90af8435b64228c4f1d8c83c971a266b668304c (patch)
treeeeb3a0e8074399e78a54519a8014d9aef66e3263 /Examples
parentc510ded86e5eef9bdb8a3c952a5e08b4f50c3692 (diff)
downloadWarpX-e90af8435b64228c4f1d8c83c971a266b668304c.tar.gz
WarpX-e90af8435b64228c4f1d8c83c971a266b668304c.tar.zst
WarpX-e90af8435b64228c4f1d8c83c971a266b668304c.zip
Add option to increase `max_step` or `stop_time` to fill BTD (#3693)
* add option to increase max_step to fill BTD * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * make sure code compiles locally * allow for unspecified max step if setting by BTD * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clarify docs, match default max_step value * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review shortening flag name * add example input script, fix bugf * check stop_time and max_step * account for stop time * Fix logic, improve documentation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'Examples')
-rw-r--r--Examples/Tests/btd_rz/inputs_rz_z_boosted_BTD2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Tests/btd_rz/inputs_rz_z_boosted_BTD b/Examples/Tests/btd_rz/inputs_rz_z_boosted_BTD
index a2bdc8089..ce2675ead 100644
--- a/Examples/Tests/btd_rz/inputs_rz_z_boosted_BTD
+++ b/Examples/Tests/btd_rz/inputs_rz_z_boosted_BTD
@@ -1,5 +1,5 @@
# Maximum number of time steps
-warpx.zmax_plasma_to_compute_max_step = 500e-6
+warpx.compute_max_step_from_btd = 1
# number of grid points
amr.n_cell = 32 256