Skip to content

Commit a62a227

Browse files
authored
Fix dt_update_interval argument to ElectrostaticSolver (#5434)
The `warpx` prefix was left off of this argument. This addresses issues raised in #5431 and #5432
1 parent c8c78f4 commit a62a227

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Python/pywarpx/picmi.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,14 +1894,14 @@ class ElectrostaticSolver(picmistandard.PICMI_ElectrostaticSolver):
18941894
warpx_self_fields_verbosity: integer, default=2
18951895
Level of verbosity for the lab frame solver
18961896
1897-
warpx_dt_update_interval: string, optional (default = -1)
1897+
warpx_dt_update_interval: integer, optional (default = -1)
18981898
How frequently the timestep is updated. Adaptive timestepping is disabled when this is <= 0.
18991899
19001900
warpx_cfl: float, optional
1901-
Fraction of the CFL condition for particle velocity vs grid size, used to set the timestep when `dt_update_interval > 0`.
1901+
Fraction of the CFL condition for particle velocity vs grid size, used to set the timestep when `warpx_dt_update_interval > 0`.
19021902
19031903
warpx_max_dt: float, optional
1904-
The maximum allowable timestep when `dt_update_interval > 0`.
1904+
The maximum allowable timestep when `warpx_dt_update_interval > 0`.
19051905
19061906
"""
19071907

@@ -1911,7 +1911,7 @@ def init(self, kw):
19111911
self.self_fields_verbosity = kw.pop("warpx_self_fields_verbosity", None)
19121912
self.magnetostatic = kw.pop("warpx_magnetostatic", False)
19131913
self.cfl = kw.pop("warpx_cfl", None)
1914-
self.dt_update_interval = kw.pop("dt_update_interval", None)
1914+
self.dt_update_interval = kw.pop("warpx_dt_update_interval", None)
19151915
self.max_dt = kw.pop("warpx_max_dt", None)
19161916

19171917
def solver_initialize_inputs(self):

0 commit comments

Comments
 (0)