aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index f8ec5044b..cd22465df 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1595,7 +1595,7 @@ PhysicalParticleContainer::AddPlasmaFlux (amrex::Real dt)
}
#endif
- Real weight = dens * scale_fac * dt * num_ppc_real / pcounts[index];
+ Real weight = dens * scale_fac * dt;
#ifdef WARPX_DIM_RZ
// The particle weight is proportional to the user-specified
// flux (denoted as `dens` here) and the emission surface within