New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 15182 for NEMO/trunk/src/OCE/ZDF/zdfmxl.F90 – NEMO

Ignore:
Timestamp:
2021-08-12T13:24:11+02:00 (3 years ago)
Author:
hadcv
Message:

Replace [15160] with an lbc_lnk for hmld in TOP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/ZDF/zdfmxl.F90

    r15090 r15182  
    144144      ! w-level of the turbocline and mixing layer (iom_use) 
    145145      imld(:,:) = mbkt(A2D(nn_hls)) + 1                ! Initialization to the number of w ocean point 
    146       DO_3DS( nn_hls, nn_hls, nn_hls, nn_hls, jpkm1, nlb10, -1 )   ! from the bottom to nlb10 
     146      DO_3DS( 1, 1, 1, 1, jpkm1, nlb10, -1 )   ! from the bottom to nlb10 
    147147         IF( avt (ji,jj,jk) < avt_c * wmask(ji,jj,jk) )   imld(ji,jj) = jk      ! Turbocline 
    148148      END_3D 
    149149      ! depth of the mixing layer 
    150       DO_2D_OVR( nn_hls, nn_hls, nn_hls, nn_hls ) 
     150      DO_2D_OVR( 1, 1, 1, 1 ) 
    151151         iik = imld(ji,jj) 
    152152         hmld (ji,jj) = gdepw(ji,jj,iik  ,Kmm) * ssmask(ji,jj)    ! Turbocline depth 
Note: See TracChangeset for help on using the changeset viewer.