From 36ac45fd7dff97206c75860f113b4838314429f7 Mon Sep 17 00:00:00 2001 From: thomas clark <66143812+tmsclark@users.noreply.github.com> Date: Wed, 7 Jul 2021 06:02:27 +0200 Subject: Add possibility to start and stop moving window (#2027) * Add possibility to start and stop moving window * Update Benchmark laserInjection_2d * Update Source/Diagnostics/BTDiagnostics.cpp Co-authored-by: Axel Huebl * modification of the MoveWindow function in the python interface * False to True for move j in python function Co-authored-by: Axel Huebl --- Python/pywarpx/WarpXPIC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pywarpx/WarpXPIC.py') 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 -- cgit v1.2.3