diff options
Diffstat (limited to 'Source/Utils/WarpXMovingWindow.cpp')
-rw-r--r-- | Source/Utils/WarpXMovingWindow.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/Utils/WarpXMovingWindow.cpp b/Source/Utils/WarpXMovingWindow.cpp index 42095a957..e179ea870 100644 --- a/Source/Utils/WarpXMovingWindow.cpp +++ b/Source/Utils/WarpXMovingWindow.cpp @@ -67,9 +67,15 @@ WarpX::UpdatePlasmaInjectionPosition (Real a_dt) } int -WarpX::MoveWindow (bool move_j) +WarpX::MoveWindow (const int step, bool move_j) { - if (do_moving_window == 0) return 0; + if (step == start_moving_window_step) { + amrex::Print() << "Starting moving window\n"; + } + if (step == end_moving_window_step) { + amrex::Print() << "Stopping moving window\n"; + } + if (moving_window_active(step) == false) return 0; // Update the continuous position of the moving window, // and of the plasma injection |