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 14412 – NEMO

Changeset 14412


Ignore:
Timestamp:
2021-02-05T13:46:51+01:00 (3 years ago)
Author:
agn
Message:

revert to simple hmle=zmld

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser_4.0/src/OCE/ZDF/zdfosm.F90

    r14410 r14412  
    640640         CALL zdf_osm_external_gradients( mld_prof, zdtdz_mle_ext, zdsdz_mle_ext, zdbdz_mle_ext ) 
    641641         CALL zdf_osm_osbl_state_fk( lpyc, lflux, lmle, zwb_fk ) 
    642          CALL zdf_osm_mle_parameters( mld_prof, hmle, zhmle, zvel_mle, zdiff_mle ) 
     642         CALL zdf_osm_mle_parameters( zmld, mld_prof, hmle, zhmle, zvel_mle, zdiff_mle ) 
    643643      ELSE    ! ln_osm_mle 
    644644! FK not selected, Boundary Layer only. 
     
    25782578       
    25792579 END SUBROUTINE zdf_osm_zmld_horizontal_gradients 
    2580   SUBROUTINE zdf_osm_mle_parameters( mld_prof, hmle, zhmle, zvel_mle, zdiff_mle ) 
     2580  SUBROUTINE zdf_osm_mle_parameters( zmld,  mld_prof, hmle, zhmle, zvel_mle, zdiff_mle ) 
    25812581      !!---------------------------------------------------------------------- 
    25822582      !!                  ***  ROUTINE zdf_osm_mle_parameters  *** 
     
    25892589      !!             Fox-Kemper and Ferrari, JPO, 38, 1166-1179, 2008 
    25902590 
     2591      REAL(wp), DIMENSION(jpi,jpj)     :: zmld ! ==  estimated FK BLD used for MLE horiz gradients  == ! 
    25912592      INTEGER, DIMENSION(jpi,jpj)      :: mld_prof 
    25922593      REAL(wp), DIMENSION(jpi,jpj)     :: hmle, zhmle, zwb_fk, zvel_mle, zdiff_mle 
     
    26312632           hmle(ji,jj) = MAX(MIN(hmle(ji,jj), ht_n(ji,jj)),  gdepw_n(ji,jj,4)) 
    26322633           IF(ln_osm_hmle_limit) hmle(ji,jj) = MIN(hmle(ji,jj), rn_osm_hmle_limit*hbl(ji,jj) ) 
     2634           hmle(ji,jj) = zmld(ji,jj) 
    26332635        END DO 
    26342636      END DO 
Note: See TracChangeset for help on using the changeset viewer.