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/DIA/diawri.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/DIA/diawri.F90

    r8473 r9529  
    157157         CALL iom_put( "e3tdef"  , ( ( fse3t_n(:,:,:) - e3t_0(:,:,:) ) / e3t_0(:,:,:) * 100 * tmask(:,:,:) ) ** 2 ) 
    158158      CALL iom_put("tpt_dep", fsdept_n(:,:,:) ) 
    159  
    160  
     159      IF( iom_use("gdepwt") )  THEN 
     160         z3d(:,:,1) = (gdepw_n(:,:,1)-sshn(:,:))*tmask(:,:,1) 
     161         DO jk=2,jpk 
     162            z3d(:,:,jk) = (gdepw_n(:,:,jk)-sshn(:,:))*tmask(:,:,jk-1) 
     163         END DO 
     164         CALL iom_put("gdepwt" , z3d(:,:,:) ) 
     165      END IF 
    161166 
    162167      CALL iom_put( "ssh" , sshn )                 ! sea surface height 
Note: See TracChangeset for help on using the changeset viewer.