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 7189 for branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/TOOLS/DOMAINcfg/src/domzgr.f90 – NEMO

Ignore:
Timestamp:
2016-11-04T08:17:27+01:00 (7 years ago)
Author:
gm
Message:

#1692 - branch SIMPLIF_2_usrdef: e3.=dk[dep.] TOOLS update + domzgr style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/TOOLS/DOMAINcfg/src/domzgr.f90

    r7107 r7189  
    314314      ENDIF 
    315315 
    316       IF ( ln_isfcav ) THEN 
    317 ! need to be like this to compute the pressure gradient with ISF. If not, level beneath the ISF are not aligned (sum(e3t) /= depth) 
    318 ! define e3t_0 and e3w_0 as the differences between gdept and gdepw respectively 
     316      IF ( ln_isfcav .OR. ln_e2_dep ) THEN      ! e3. = dk[gdep]    
     317         ! 
     318!==>>>   need to be like this to compute the pressure gradient with ISF.  
     319!        If not, level beneath the ISF are not aligned (sum(e3t) /= depth) 
     320!        define e3t_0 and e3w_0 as the differences between gdept and gdepw respectively 
     321! 
    319322         DO jk = 1, jpkm1 
    320323            e3t_1d(jk) = gdepw_1d(jk+1)-gdepw_1d(jk)  
Note: See TracChangeset for help on using the changeset viewer.