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 12252 for NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2019-12-14T14:57:23+01:00 (4 years ago)
Author:
smasson
Message:

rev12240_dev_r11943_MERGE_2019: same as [12251], merge trunk 12072:12248, all sette tests ok, GYRE_PISCES, AMM12, ISOMIP, VORTEX intentical to 12236

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynspg_ts.F90

    r12250 r12252  
    4646   USE tide_mod        ! 
    4747   USE sbcwave         ! surface wave 
    48    USE diatmb          ! Top,middle,bottom output 
    4948#if defined key_agrif 
    5049   USE agrif_oce_interp ! agrif 
     
    6160   USE iom             ! IOM library 
    6261   USE restart         ! only for lrst_oce 
    63    USE diatmb          ! Top,middle,bottom output 
    6462 
    6563   USE iom   ! to remove 
     
    154152      REAL(wp) ::   r1_2dt_b, z1_hu, z1_hv          ! local scalars 
    155153      REAL(wp) ::   za0, za1, za2, za3              !   -      - 
    156       REAL(wp) ::   zmdi, zztmp, zldg               !   -      - 
     154      REAL(wp) ::   zztmp, zldg               !   -      - 
    157155      REAL(wp) ::   zhu_bck, zhv_bck, zhdiv         !   -      - 
    158156      REAL(wp) ::   zun_save, zvn_save              !   -      - 
     
    178176      !                                         !* Allocate temporary arrays 
    179177      IF( ln_wd_dl ) ALLOCATE( ztwdmask(jpi,jpj), zuwdmask(jpi,jpj), zvwdmask(jpi,jpj), zuwdav2(jpi,jpj), zvwdav2(jpi,jpj)) 
    180       ! 
    181       zmdi=1.e+20                               !  missing data indicator for masking 
    182178      ! 
    183179      zwdramp = r_rn_wdmin1               ! simplest ramp  
     
    835831      IF( ln_wd_dl )   DEALLOCATE( ztwdmask, zuwdmask, zvwdmask, zuwdav2, zvwdav2 ) 
    836832      ! 
    837       IF( ln_diatmb ) THEN 
    838          CALL iom_put( "baro_u" , puu_b(:,:,Kmm)*ssumask(:,:)+zmdi*(1.-ssumask(:,:) ) )  ! Barotropic  U Velocity 
    839          CALL iom_put( "baro_v" , pvv_b(:,:,Kmm)*ssvmask(:,:)+zmdi*(1.-ssvmask(:,:) ) )  ! Barotropic  V Velocity 
    840       ENDIF 
     833      CALL iom_put( "baro_u" , puu_b(:,:,Kmm) )  ! Barotropic  U Velocity 
     834      CALL iom_put( "baro_v" , pvv_b(:,:,Kmm) )  ! Barotropic  V Velocity 
    841835      ! 
    842836   END SUBROUTINE dyn_spg_ts 
Note: See TracChangeset for help on using the changeset viewer.