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 10164 for NEMO/branches/2018/dev_r10057_ENHANCE03_ZTILDE/src/OCE/DIA/diawri.F90 – NEMO

Ignore:
Timestamp:
2018-10-02T16:02:24+02:00 (6 years ago)
Author:
jchanut
Message:

ztilde update, #2126: Add higher order filtering + alternative scale factor decomposition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r10057_ENHANCE03_ZTILDE/src/OCE/DIA/diawri.F90

    r10126 r10164  
    5858   USE diurnal_bulk    ! diurnal warm layer 
    5959   USE cool_skin       ! Cool skin 
     60   USE domvvl 
    6061 
    6162   IMPLICIT NONE 
     
    124125 
    125126      ! Output of initial vertical scale factor 
    126       CALL iom_put("e3t_0", e3t_0(:,:,:) ) 
     127      CALL iom_put("e3t_0", e3t_0(:,:,:)) 
    127128      CALL iom_put("e3u_0", e3u_0(:,:,:) ) 
    128129      CALL iom_put("e3v_0", e3v_0(:,:,:) ) 
     
    132133      CALL iom_put( "e3v" , e3v_n(:,:,:) ) 
    133134      CALL iom_put( "e3w" , e3w_n(:,:,:) ) 
     135      ! 
     136      IF ( (ln_vvl_ztilde).OR.(ln_vvl_layer) ) THEN 
     137         IF( iom_use("e3t_star") ) THEN    ! Barotropic cell thickness anomaly 
     138            z3d(:,:,:) = (e3t_n(:,:,:)-tilde_e3t_n(:,:,:)-e3t_0(:,:,:))*tmask(:,:,:)  
     139            CALL iom_put( "e3t_star" , z3d(:,:,:) ) 
     140         ENDIF 
     141         IF( iom_use("e3t_tilde") )  THEN  ! Baroclinic cell thickness anomaly 
     142            CALL iom_put( "e3t_tilde" , tilde_e3t_n(:,:,:) ) 
     143         ENDIF 
     144      ENDIF 
     145 
    134146      IF( iom_use("e3tdef") )   & 
    135147         CALL iom_put( "e3tdef"  , ( ( e3t_n(:,:,:) - e3t_0(:,:,:) ) / e3t_0(:,:,:) * 100 * tmask(:,:,:) ) ** 2 ) 
Note: See TracChangeset for help on using the changeset viewer.