Skip to content

Commit

Permalink
Fixed source rate
Browse files Browse the repository at this point in the history
  • Loading branch information
jcandy committed Oct 29, 2024
1 parent aa4f702 commit 799d169
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cgyro/src/cgyro_source.F90
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ subroutine cgyro_source

call timer_lib_in('shear')

nu_eff = nu_global*(abs(gamma_e)+maxval(abs(sdlnndr(:)))+maxval(abs(sdlntdr(:))))
nu_eff = nu_global*(abs(gamma_e)+ &
maxval(abs(sdlnndr(:)))+ &
maxval(abs(sdlntdr(:)))+ &
maxval(abs( sbeta(:))))
sa = 1.0+exp(-delta_t/tau_ave)*sa

! Time-delay source
Expand Down

0 comments on commit 799d169

Please sign in to comment.