diff options
author | 2019-05-07 12:56:03 -0700 | |
---|---|---|
committer | 2019-05-07 12:56:03 -0700 | |
commit | 2ddaf2f8270247b847041da886adefb4f96714c1 (patch) | |
tree | 408a012a966dee6825a308c8d0ca10f4e7d02709 /Source/Utils/WarpXMovingWindow.cpp | |
parent | ddb2585a55edcedd0ca613f4288f34d71edda8b2 (diff) | |
download | WarpX-2ddaf2f8270247b847041da886adefb4f96714c1.tar.gz WarpX-2ddaf2f8270247b847041da886adefb4f96714c1.tar.zst WarpX-2ddaf2f8270247b847041da886adefb4f96714c1.zip |
remove do_plasma_injection and cleaning
Diffstat (limited to 'Source/Utils/WarpXMovingWindow.cpp')
-rw-r--r-- | Source/Utils/WarpXMovingWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Utils/WarpXMovingWindow.cpp b/Source/Utils/WarpXMovingWindow.cpp index 38bde5e92..18d89951d 100644 --- a/Source/Utils/WarpXMovingWindow.cpp +++ b/Source/Utils/WarpXMovingWindow.cpp @@ -9,7 +9,7 @@ WarpX::UpdatePlasmaInjectionPosition (Real dt) { int dir = moving_window_dir; // Continuously inject plasma in new cells (by default only on level 0) - if (WarpX::do_plasma_injection and (WarpX::gamma_boost > 1)){ + if (WarpX::warpx_do_continuous_injection and (WarpX::gamma_boost > 1)){ // In boosted-frame simulations, the plasma has moved since the last // call to this function, and injection position needs to be updated current_injection_position -= WarpX::beta_boost * @@ -37,7 +37,7 @@ WarpX::MoveWindow (bool move_j) // Update warpx.current_injection_position // PhysicalParticleContainer uses this injection position UpdatePlasmaInjectionPosition( dt[0] ); - if (WarpX::do_plasma_injection){ + if (WarpX::warpx_do_continuous_injection){ // Update injection position for WarpXParticleContainer in mypc. // Nothing to do for PhysicalParticleContainers // For LaserParticleContainer, need to update the antenna position. @@ -143,7 +143,7 @@ WarpX::MoveWindow (bool move_j) } // Continuously inject plasma in new cells (by default only on level 0) - if (WarpX::do_plasma_injection) { + if (WarpX::warpx_do_continuous_injection) { const int lev = 0; |