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 --- Source/Python/WarpXWrappers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Python/WarpXWrappers.cpp') diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index e1980097b..60d675d3a 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -427,9 +427,9 @@ extern "C" WarpX& warpx = WarpX::GetInstance(); warpx.ComputeDt (); } - void warpx_MoveWindow () { + void warpx_MoveWindow (int step,bool move_j) { WarpX& warpx = WarpX::GetInstance(); - warpx.MoveWindow (true); + warpx.MoveWindow (step, move_j); } void warpx_EvolveE (amrex::Real dt) { -- cgit v1.2.3