aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles')
-rw-r--r--Source/Particles/Gather/FieldGather.H7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Particles/Gather/FieldGather.H b/Source/Particles/Gather/FieldGather.H
index c5ec6fb5b..bdeab16e8 100644
--- a/Source/Particles/Gather/FieldGather.H
+++ b/Source/Particles/Gather/FieldGather.H
@@ -90,13 +90,6 @@ void doGatherShapeN(const amrex::ParticleReal * const xp,
const int l0 = compute_shape_factor<depos_order - lower_in_v>(
sz0, z-stagger_shift);
- // Set fields on particle to zero
- Exp[ip] = 0;
- Eyp[ip] = 0;
- Ezp[ip] = 0;
- Bxp[ip] = 0;
- Byp[ip] = 0;
- Bzp[ip] = 0;
// Each field is gathered in a separate block of
// AMREX_SPACEDIM nested loops because the deposition
// order can differ for each component of each field