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 9529 for branches/2018/dev_r8864_nemo_v3_6_ZTILDE/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90 – NEMO

Ignore:
Timestamp:
2018-04-30T16:38:28+02:00 (6 years ago)
Author:
jchanut
Message:

ztilde stability update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2018/dev_r8864_nemo_v3_6_ZTILDE/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90

    r8594 r9529  
    198198      !!---------------------------------------------------------------------- 
    199199      INTEGER  ::   jk                     ! dummy loop indices 
     200      LOGICAL  ::   ll_e3_dep 
    200201      REAL(wp) ::   zt, zw                 ! temporary scalars 
    201202      REAL(wp) ::   zsur, za0, za1, zkth   ! Values set from parameters in 
     
    209210      ! Set variables from parameters 
    210211      ! ------------------------------ 
     212       ll_e3_dep = .TRUE. 
    211213       zkth = ppkth       ;   zacr = ppacr 
    212214       zdzmin = ppdzmin   ;   zhmax = pphmax 
     
    312314      ENDIF 
    313315 
    314       IF ( ln_isfcav ) THEN 
     316      IF ( ln_isfcav .OR. ll_e3_dep ) THEN 
    315317! need to be like this to compute the pressure gradient with ISF. If not, level beneath the ISF are not aligned (sum(e3t) /= depth) 
    316318! define e3t_0 and e3w_0 as the differences between gdept and gdepw respectively 
Note: See TracChangeset for help on using the changeset viewer.