diff options
author | 2019-05-07 09:32:47 -0700 | |
---|---|---|
committer | 2019-05-07 09:32:47 -0700 | |
commit | 6bdafd570c25fde71d2ce93ecea6fbd803f8cf2c (patch) | |
tree | fd173453823f9267e32301bcbec5942baf8bfb0a /Source/Utils/WarpXMovingWindow.cpp | |
parent | 38b802c0ba0d47fd179a2b384e8867248de078e9 (diff) | |
download | WarpX-6bdafd570c25fde71d2ce93ecea6fbd803f8cf2c.tar.gz WarpX-6bdafd570c25fde71d2ce93ecea6fbd803f8cf2c.tar.zst WarpX-6bdafd570c25fde71d2ce93ecea6fbd803f8cf2c.zip |
laser and plasma cont injection combined and working with MW and boost in z
Diffstat (limited to '')
-rw-r--r-- | Source/Utils/WarpXMovingWindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Utils/WarpXMovingWindow.cpp b/Source/Utils/WarpXMovingWindow.cpp index 5b84a1eb0..2ba1d2f59 100644 --- a/Source/Utils/WarpXMovingWindow.cpp +++ b/Source/Utils/WarpXMovingWindow.cpp @@ -33,8 +33,10 @@ WarpX::MoveWindow (bool move_j) // and of the plasma injection moving_window_x += moving_window_v * dt[0]; int dir = moving_window_dir; - UpdatePlasmaInjectionPosition( dt[0] ); + UpdatePlasmaInjectionPosition( dt[0] ); + mypc->UpdateContinuousInjectionPosition( dt[0] ); + // compute the number of cells to shift on the base level Real new_lo[AMREX_SPACEDIM]; Real new_hi[AMREX_SPACEDIM]; |