diff options
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 1ee12b769..27bb7cf28 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1559,8 +1559,7 @@ PhysicalParticleContainer::AddPlasmaFlux (amrex::Real dt) // Rotate the position pos.x = xb*cos_theta; pos.y = xb*sin_theta; - if ( (inj_mom->type == InjectorMomentum::Type::gaussianflux) && - (loc_flux_normal_axis != 2) ) { + if (loc_flux_normal_axis != 2) { // Rotate the momentum // This because, when the flux direction is e.g. "r" // the `inj_mom` objects generates a v*Gaussian distribution |