aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ParticleCreation/ElementaryProcess.H
diff options
context:
space:
mode:
authorGravatar Maxence Thevenet <mthevenet@lbl.gov> 2019-10-22 11:24:29 -0400
committerGravatar Maxence Thevenet <mthevenet@lbl.gov> 2019-10-22 11:24:29 -0400
commiteb7564be98a2005036ed90e4cdf1b94c26fbc4c6 (patch)
tree4c6422c06280b5cf597ab3494de1eaea067fdd71 /Source/Particles/ParticleCreation/ElementaryProcess.H
parent2b77afdaa9ca95b0e29f5ccaf98d29c94e5206a9 (diff)
downloadWarpX-eb7564be98a2005036ed90e4cdf1b94c26fbc4c6.tar.gz
WarpX-eb7564be98a2005036ed90e4cdf1b94c26fbc4c6.tar.zst
WarpX-eb7564be98a2005036ed90e4cdf1b94c26fbc4c6.zip
minor cleaning
Diffstat (limited to 'Source/Particles/ParticleCreation/ElementaryProcess.H')
-rw-r--r--Source/Particles/ParticleCreation/ElementaryProcess.H2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Particles/ParticleCreation/ElementaryProcess.H b/Source/Particles/ParticleCreation/ElementaryProcess.H
index d00a81175..215574cda 100644
--- a/Source/Particles/ParticleCreation/ElementaryProcess.H
+++ b/Source/Particles/ParticleCreation/ElementaryProcess.H
@@ -228,13 +228,11 @@ public:
// offset of 1 due to inclusive scan
int ip = p_i_product[is]-1;
WarpXParticleContainer::ParticleType& p_source = particles_source[is];
- // WarpXParticleContainer::ParticleType& p_product = particles_product[ip];
for (int iproduct=0; iproduct<nproducts; iproduct++){
// is: index of ionized particle in source species
// ip: index of corresponding new particle in product species
WarpXParticleContainer::ParticleType* particles_product = p_particles_product[iproduct];
WarpXParticleContainer::ParticleType& p_product = particles_product[ip];
- // WarpXParticleContainer::ParticleType& p_product = p_particles_product[iproduct][ip];
p_copy_functor[iproduct](is, ip, p_pid_product[iproduct], p_source, p_product);
}
// Transform source particle