Skip to content

Commit 035ea42

Browse files
aeriformeRemiLehe
andauthored
Update Source/Particles/PhysicalParticleContainer.cpp
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
1 parent d41e1df commit 035ea42

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Source/Particles/PhysicalParticleContainer.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ PhysicalParticleContainer::AddGaussianBeam (
589589
Real v_z = u.z / gamma * PhysConst::c;
590590

591591
// Compute the time at which the particle will cross the focal plane
592-
Real n_x = u_bulk.x/u_bulk_norm, n_y = u_bulk.y/u_bulk_norm, n_z = u_bulk.z/u_bulk_norm;
593592
Real v_dot_n = v_x * n_x + v_y * n_y + v_z * n_z;
594593
Real t = ((x_f-x)*n_x + (y_f-y)*n_y + (z_f-z)*n_z) / v_dot_n;
595594

0 commit comments

Comments
 (0)