Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/cvmix_driver/gen_modules_cvmix_kpp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -931,8 +931,8 @@ subroutine calc_cvmix_kpp(ice, dynamics, tracers, partit, mesh)
! applied and where surface averages are taken — not something that
! varies with depth.
sldepth = kpp_surf_layer_ext*max(kpp_obldepth(node), kpp_minOBLdepth)
nzsfc = kpp_obldepth(node)
do nztmp = nun, int(kpp_obldepth(node))
nzsfc = int(kpp_nzobldepth(node))
do nztmp = nun, int(kpp_nzobldepth(node))
if (-zbar_3d_n(nztmp+1,node)>=sldepth) then
nzsfc = nztmp
exit
Expand Down
Loading