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 6035 for branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2015-12-11T12:13:32+01:00 (8 years ago)
Author:
timgraham
Message:

Merged branches/2014/dev_r4650_UKMO10_Tidally_Meaned_Diagnostics into branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r6012 r6035  
    4040   USE timing          ! Timing     
    4141   USE sbcapr          ! surface boundary condition: atmospheric pressure 
     42   USE diatmb          ! Top,middle,bottom output 
    4243   USE dynadv, ONLY: ln_dynadv_vec 
    4344#if defined key_agrif 
     
    4748   USE asminc          ! Assimilation increment 
    4849#endif 
     50 
    4951 
    5052   IMPLICIT NONE 
     
    146148      INTEGER  ::   ikbu, ikbv, noffset      ! local integers 
    147149      INTEGER  ::   iktu, iktv               ! local integers 
     150      REAL(wp) ::   zmdi 
    148151      REAL(wp) ::   zraur, z1_2dt_b, z2dt_bf    ! local scalars 
    149152      REAL(wp) ::   zx1, zy1, zx2, zy2          !   -      - 
     
    171174      CALL wrk_alloc( jpi, jpj, zhf ) 
    172175      ! 
     176      zmdi=1.e+20                               !  missing data indicator for masking 
    173177      !                                         !* Local constant initialization 
    174178      z1_12 = 1._wp / 12._wp  
     
    950954      CALL wrk_dealloc( jpi, jpj, zhf ) 
    951955      ! 
     956      IF ( ln_diatmb ) THEN 
     957         CALL iom_put( "baro_u" , un_b*umask(:,:,1)+zmdi*(1-umask(:,:,1 ) ) )  ! Barotropic  U Velocity 
     958         CALL iom_put( "baro_v" , vn_b*vmask(:,:,1)+zmdi*(1-vmask(:,:,1 ) ) )  ! Barotropic  V Velocity 
     959      ENDIF 
    952960      IF( nn_timing == 1 )  CALL timing_stop('dyn_spg_ts') 
    953961      ! 
Note: See TracChangeset for help on using the changeset viewer.