Skip to content

Commit

Permalink
Redefine kOBL, cast as integer
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasTorsvik committed Sep 27, 2022
1 parent 376f68c commit 5adb996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phy/mod_difest.F
Original file line number Diff line number Diff line change
Expand Up @@ -1161,8 +1161,8 @@ subroutine difest_vertical_hyb(m,n,mm,nn,k1m,k1n)
. cellHeight,OBLdepth(i,j))

! gets index of the level and interface above hbl
kOBL = CVMix_kpp_compute_kOBL_depth(iFaceHeight,
. cellHeight,OBLdepth(i,j))
kOBL = floor(hOBL(i,j)) ! index of interface above OBL depth

c --- ------ Diapycnal mixing when local stability is weak
c --- ------ convection routine based on N2 not rho
c --- ------ make sure it is in metrics if stability depends on rho
Expand Down

0 comments on commit 5adb996

Please sign in to comment.