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 6498 for branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90 – NEMO

Ignore:
Timestamp:
2016-04-27T16:01:22+02:00 (8 years ago)
Author:
timgraham
Message:

Merge head of nemo_v3_6_STABLE into package branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r6491 r6498  
    146146      ENDIF 
    147147 
    148       IF( .NOT.lk_vvl ) THEN 
    149          CALL iom_put( "e3t" , fse3t_n(:,:,:) ) 
    150          CALL iom_put( "e3u" , fse3u_n(:,:,:) ) 
    151          CALL iom_put( "e3v" , fse3v_n(:,:,:) ) 
    152          CALL iom_put( "e3w" , fse3w_n(:,:,:) ) 
    153       ENDIF 
     148      ! Output of initial vertical scale factor 
     149      CALL iom_put("e3t_0", e3t_0(:,:,:) ) 
     150      CALL iom_put("e3u_0", e3t_0(:,:,:) ) 
     151      CALL iom_put("e3v_0", e3t_0(:,:,:) ) 
     152      ! 
     153      CALL iom_put( "e3t" , fse3t_n(:,:,:) ) 
     154      CALL iom_put( "e3u" , fse3u_n(:,:,:) ) 
     155      CALL iom_put( "e3v" , fse3v_n(:,:,:) ) 
     156      CALL iom_put( "e3w" , fse3w_n(:,:,:) ) 
     157      IF( iom_use("e3tdef") )   & 
     158         CALL iom_put( "e3tdef"  , ( ( fse3t_n(:,:,:) - e3t_0(:,:,:) ) / e3t_0(:,:,:) * 100 * tmask(:,:,:) ) ** 2 ) 
     159 
    154160 
    155161      CALL iom_put( "ssh" , sshn )                 ! sea surface height 
    156       if( iom_use('ssh2') )   CALL iom_put( "ssh2", sshn(:,:) * sshn(:,:) )   ! square of sea surface height 
    157162       
    158163      CALL iom_put( "toce", tsn(:,:,:,jp_tem) )    ! 3D temperature 
     
    248253      ENDIF  
    249254      CALL iom_put( "avs" , fsavs(:,:,:)               )    ! S vert. eddy diff. coef. (useful only with key_zdfddm) 
     255                                                            ! Log of eddy diff coef 
     256      IF( iom_use('logavt') )   CALL iom_put( "logavt", LOG( MAX( 1.e-20_wp, avt  (:,:,:) ) ) ) 
     257      IF( iom_use('logavs') )   CALL iom_put( "logavs", LOG( MAX( 1.e-20_wp, fsavs(:,:,:) ) ) ) 
    250258 
    251259      IF ( iom_use("sstgrad") .OR. iom_use("sstgrad2") ) THEN 
     
    312320         CALL iom_put( "eken", rke )            
    313321      ENDIF 
    314           
     322      ! 
     323      CALL iom_put( "hdiv", hdivn )                  ! Horizontal divergence 
     324      ! 
    315325      IF( iom_use("u_masstr") .OR. iom_use("u_heattr") .OR. iom_use("u_salttr") ) THEN 
    316326         z3d(:,:,jpk) = 0.e0 
Note: See TracChangeset for help on using the changeset viewer.