Skip to content

Commit

Permalink
including calculation of gamma_rel for calculation of mu
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeidler3 committed Nov 12, 2024
1 parent 905f390 commit ba729d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/korc_ppusher.f90
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ subroutine FO_init(params,F,spp,output,step)
!write(6,*) 'b_unit',b_unit_X,b_unit_Y,b_unit_Z

v(cc) = SQRT(V_X(cc)*V_X(cc)+V_Y(cc)*V_Y(cc)+V_Z(cc)*V_Z(cc))

g(cc) = 1._rp/SQRT(1._rp-v(cc)*v(cc))

if (v(cc).GT.korc_zero) then
! Parallel and perpendicular components of velocity
vpar(cc) = (V_X(cc)*b_unit_X(cc)+V_Y(cc)*b_unit_Y(cc)+ &
Expand Down

0 comments on commit ba729d8

Please sign in to comment.