aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserParticleContainer.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Laser/LaserParticleContainer.H')
-rw-r--r--Source/Laser/LaserParticleContainer.H4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Laser/LaserParticleContainer.H b/Source/Laser/LaserParticleContainer.H
index ccd48f3b5..516e368ab 100644
--- a/Source/Laser/LaserParticleContainer.H
+++ b/Source/Laser/LaserParticleContainer.H
@@ -88,9 +88,7 @@ private:
// Theoretical position of the antenna. Used if do_continuous_injection=1.
// Track the position of the antenna until it enters the simulation domain.
amrex::Vector<amrex::Real> updated_position;
- // Avoid injecting the antenna several times.
- int done_injecting=1;
-
+
void ComputeSpacing (int lev, amrex::Real& Sx, amrex::Real& Sy) const;
void ComputeWeightMobility (amrex::Real Sx, amrex::Real Sy);
void InitData (int lev);