Skip to content

Commit

Permalink
foo4
Browse files Browse the repository at this point in the history
  • Loading branch information
谢萧涯 authored and 谢萧涯 committed Sep 12, 2024
1 parent a4d9ba6 commit 8b6c772
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,9 @@ function waveforcing_column_accumulate!(
Hb = (z_kp1 - z_k) / log(ρ_k / ρ_kp1) # density scale height
alp2 = FT1(0.25) / (Hb * Hb)
ω_r = sqrt((bf_kp1 * bf_kp1 * k2) / (k2 + alp2)) # omc: (critical frequency that marks total internal reflection)
ν_vec= range(pi/3600,pi/300,length=5)
ν_max=FT1(pi/300)
ν_min=FT1(pi/3600)
ν_vec= ntuple(n -> ν_min+(ν_max-ν_min)*((n-1)/4), Val(5))

# calculate momentum flux carried by gravity waves with different phase speeds.
B0, Bsum = if level == 1
Expand Down

0 comments on commit 8b6c772

Please sign in to comment.