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 14200 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DIA/diawri.F90 – NEMO

Ignore:
Timestamp:
2020-12-17T15:36:44+01:00 (4 years ago)
Author:
mcastril
Message:

Merging r14117 through r14199 into dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DIA/diawri.F90

    r14086 r14200  
    215215      ENDIF 
    216216 
    217 #if ! defined key_qco 
    218       CALL iom_put( "rhop", rhop(:,:,:) )          ! 3D potential density (sigma0) 
    219 #endif 
     217      IF( .NOT.lk_SWE )   CALL iom_put( "rhop", rhop(:,:,:) )          ! 3D potential density (sigma0) 
    220218 
    221219      IF ( iom_use("taubot") ) THEN                ! bottom stress 
     
    360358      ENDIF 
    361359      !     
    362       IF ( iom_use("sKEf") ) THEN                        ! surface kinetic energy at F point 
     360      IF ( iom_use("ssKEf") ) THEN                        ! surface kinetic energy at F point 
    363361         z2d(:,:) = 0._wp                                ! CAUTION : only valid in SWE, not with bathymetry 
    364362         DO_2D( 0, 0, 0, 0 ) 
     
    370368         END_2D 
    371369         CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 
    372          CALL iom_put( "sKEf", z2d )                      
     370         CALL iom_put( "ssKEf", z2d )                      
    373371      ENDIF 
    374372      ! 
     
    473471      IF (ln_dia25h)   CALL dia_25h( kt, Kmm )        ! 25h averaging 
    474472       
    475       ! Output of vorticity terms 
    476       IF ( iom_use("relvor")    .OR. iom_use("plavor")    .OR.   & 
    477          & iom_use("relpotvor") .OR. iom_use("abspotvor") .OR.   & 
    478          & iom_use("Ens")                                        ) THEN 
     473      ! Output of surface vorticity terms 
     474      IF ( iom_use("ssrelvor")    .OR. iom_use("ssplavor")    .OR.   & 
     475         & iom_use("ssrelpotvor") .OR. iom_use("ssabspotvor") .OR.   & 
     476         & iom_use("ssEns")                                        ) THEN 
    479477         ! 
    480478         z2d(:,:) = 0._wp  
     
    485483         END_2D 
    486484         CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 
    487          CALL iom_put( "relvor", z2d )                  ! relative vorticity ( zeta )  
    488          ! 
    489          CALL iom_put( "plavor", ff_f )                 ! planetary vorticity ( f ) 
     485         CALL iom_put( "ssrelvor", z2d )                  ! relative vorticity ( zeta )  
     486         ! 
     487         CALL iom_put( "ssplavor", ff_f )                 ! planetary vorticity ( f ) 
    490488         ! 
    491489         DO_2D( 1, 0, 1, 0 )   
     
    498496         END_2D 
    499497         CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 
    500          CALL iom_put( "relpotvor", z2d )                  ! relative potential vorticity (zeta/h) 
     498         CALL iom_put( "ssrelpotvor", z2d )                  ! relative potential vorticity (zeta/h) 
    501499         ! 
    502500         DO_2D( 1, 0, 1, 0 ) 
     
    509507         END_2D 
    510508         CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 
    511          CALL iom_put( "abspotvor", z2d )                  ! absolute potential vorticity ( q ) 
     509         CALL iom_put( "ssabspotvor", z2d )                  ! absolute potential vorticity ( q ) 
    512510         ! 
    513511         DO_2D( 1, 0, 1, 0 )   
     
    515513         END_2D 
    516514         CALL lbc_lnk( 'diawri', z2d, 'F', 1. ) 
    517          CALL iom_put( "Ens", z2d )                        ! potential enstrophy ( 1/2*q2 ) 
     515         CALL iom_put( "ssEns", z2d )                        ! potential enstrophy ( 1/2*q2 ) 
    518516         ! 
    519517      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.