Skip to content

Commit

Permalink
BEAMS3D: further fix to vel. diff calc.
Browse files Browse the repository at this point in the history
  • Loading branch information
kudav committed Dec 12, 2024
1 parent a7b8c7d commit 1440758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BEAMS3D/Sources/beams3d_physics_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ SUBROUTINE beams3d_physics_gc(t, q)
!-----------------------------------------------------------
dve = speed*tau_spit_inv*(1-2*te_temp*inv_mymass*e_charge/speed**2.0)
dvi = vc3_tauinv/(speed*speed)*(1+ti_temp*inv_mymass*e_charge/speed**2.0)
reduction = (dve + dvi)*dt-sigma*zeta
reduction = (dve + dvi)*dt+sigma*zeta
newspeed = speed - reduction
dve=dve+ddve
dvi=dvi+ddvi
Expand Down

0 comments on commit 1440758

Please sign in to comment.