Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct uninitialized variables in StokesMOST #99

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/shared/cvmix_kpp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,11 @@ subroutine cvmix_coeffs_kpp_low(Mdiff_out, Tdiff_out, Sdiff_out, zw, zt, &
end if

! (3a) Compute turbulent scales at interfaces throughout column
Tnonlocal = cvmix_zero
Snonlocal = cvmix_zero
OBL_Mdiff = cvmix_zero
OBL_Tdiff = cvmix_zero
OBL_Sdiff = cvmix_zero
sigma = -zw(1:nlev+1)/OBL_depth
call cvmix_kpp_compute_turbulent_scales(sigma, OBL_depth, surf_buoy, & !_1d
surf_fric, xi=StokesXI, w_m=w_m, w_s=w_s, &
Expand Down
Loading