diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pywarpx/WarpXPIC.py | 2 | ||||
-rw-r--r-- | Python/pywarpx/timestepper.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/pywarpx/WarpXPIC.py b/Python/pywarpx/WarpXPIC.py index c087d3c7a..dc66ec26a 100644 --- a/Python/pywarpx/WarpXPIC.py +++ b/Python/pywarpx/WarpXPIC.py @@ -52,5 +52,5 @@ class WarpXPIC(PICAPI): def apply_particle_boundary_conditions(self): libwarpx.mypc_Redistribute() # Redistribute particles - libwarpx.warpx_MoveWindow() # !!! not the correct place yet + libwarpx.warpx_MoveWindow(self.istep,True) # !!! not the correct place yet diff --git a/Python/pywarpx/timestepper.py b/Python/pywarpx/timestepper.py index cbaf8235d..fb8151d43 100644 --- a/Python/pywarpx/timestepper.py +++ b/Python/pywarpx/timestepper.py @@ -61,7 +61,7 @@ class TimeStepper(object): self.cur_time += dt - libwarpx.warpx_MoveWindow(); + libwarpx.warpx_MoveWindow(self.istep,True); #if mpi.rank == 0: print("STEP %d ends. TIME = %e DT = %e"%(self.istep, self.cur_time, dt)) |