Skip to content

Commit

Permalink
include line break
Browse files Browse the repository at this point in the history
  • Loading branch information
hgd511 committed Dec 4, 2023
1 parent d4d1635 commit 8ea308a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tglf/src/tglf_multiscale_spectrum.f90
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,11 @@ SUBROUTINE get_multiscale_spectrum
if(YTs(i)==0.0 .OR. kP>=kT)then
field_spectrum_out(2,j,i) = 0.0
else if (ky0 <= kP) then ! initial quadratic
sig_ratio = (aoverb * (ky0 ** 2) + ky0 + coverb) / (aoverb * (k0 ** 2) + k0 + coverb)
sig_ratio = (aoverb * (ky0 ** 2) + ky0 + coverb) / (aoverb * (k0 ** 2) + k0 + coverb)
field_spectrum_out(2,j,i) = Ys(i) * (sig_ratio ** c_1) * Fky *(eigenvalue_spectrum_out(1,j,i)/gamma0)**(2 * expsub)
else ! connecting quadratic
doversig0 = ((Ys(i) / YTs(i))**(1.0/abs(c_1)))-((aoverb*(kP**2)+kP+coverb-((kP-kT)*(2*aoverb*kP+1)))/(aoverb*(k0**2)+k0+coverb))
doversig0 = ((Ys(i) / YTs(i))**(1.0/abs(c_1)))- &
((aoverb*(kP**2)+kP+coverb-((kP-kT)*(2*aoverb*kP+1)))/(aoverb*(k0**2)+k0+coverb))
doversig0 = doversig0 * (1.0/((kP-kT)**2))
eoversig0 = - 2 * doversig0 * kP + ((2 * aoverb * kP + 1)/(aoverb * (k0 ** 2) + k0 + coverb))
foversig0 = ((Ys(i) / YTs(i))**(1.0/abs(c_1))) - eoversig0 * kT - doversig0 * (kT ** 2)
Expand Down

0 comments on commit 8ea308a

Please sign in to comment.