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

Ignore:
Timestamp:
2016-06-09T18:34:00+02:00 (8 years ago)
Author:
malcolmroberts
Message:

Merged in changes from v3_6_extra_CMIP6_diagnostics up to revision 6674

File:
1 edited

Legend:

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

    r6462 r6679  
    308308      ENDIF 
    309309          
    310       IF( iom_use("u_masstr") .OR. iom_use("u_heattr") .OR. iom_use("u_salttr") ) THEN 
     310      IF( iom_use("u_masstr") .OR. iom_use("u_masstr_vint") .OR. iom_use("u_heattr") .OR. iom_use("u_salttr") ) THEN 
    311311         z3d(:,:,jpk) = 0.e0 
     312         z2d(:,:) = 0.e0 
    312313         DO jk = 1, jpkm1 
    313314            z3d(:,:,jk) = rau0 * un(:,:,jk) * e2u(:,:) * fse3u(:,:,jk) * umask(:,:,jk) 
     315            z2d(:,:) = z2d(:,:) + z3d(:,:,jk) 
    314316         END DO 
    315317         CALL iom_put( "u_masstr", z3d )                  ! mass transport in i-direction 
     318         CALL iom_put( "u_masstr_vint", z2d )             ! mass transport in i-direction vertical sum 
    316319      ENDIF 
    317320       
     
    376379         CALL iom_put( "v_salttr", 0.5 * z2d )            !  heat transport in j-direction 
    377380      ENDIF 
     381 
     382      CALL iom_put( "bn2", rn2 )  !Brunt-Vaisala buoyancy frequency (N^2) 
    378383      ! 
    379384      CALL wrk_dealloc( jpi , jpj      , z2d ) 
Note: See TracChangeset for help on using the changeset viewer.