diff options
Diffstat (limited to 'Python/pywarpx/timestepper.py')
-rw-r--r-- | Python/pywarpx/timestepper.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Python/pywarpx/timestepper.py b/Python/pywarpx/timestepper.py index 1ff8ec8b4..cbaf8235d 100644 --- a/Python/pywarpx/timestepper.py +++ b/Python/pywarpx/timestepper.py @@ -71,14 +71,4 @@ class TimeStepper(object): libwarpx.warpx_sett_new(i, self.cur_time) libwarpx.warpx_setistep(i, self.istep) - max_time_reached = ((self.cur_time >= libwarpx.warpx_stopTime() - 1.e-6*dt) or (self.istep >= libwarpx.warpx_maxStep())) - - if (libwarpx.warpx_plotInt() > 0 and (self.istep+1)%libwarpx.warpx_plotInt() == 0) or max_time_reached: - libwarpx.warpx_WritePlotFile() - if (libwarpx.warpx_openpmdInt() > 0 and (self.istep+1)%libwarpx.warpx_openpmdInt() == 0) or max_time_reached: - libwarpx.warpx_WriteOpenPMDFile() - - if libwarpx.warpx_checkInt() > 0 and (self.istep+1)%libwarpx.warpx_plotInt() == 0 or max_time_reached: - libwarpx.warpx_WriteCheckPointFile() - callbacks._afterstep() |