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 8093 for branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2017-05-30T10:13:14+02:00 (7 years ago)
Author:
gm
Message:

#1880 (HPC-09) - step-6: prepare some forthcoming evolutions (ZDF modules mainly)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/step.F90

    r7954 r8093  
    3636   !!---------------------------------------------------------------------- 
    3737   USE step_oce         ! time stepping definition modules 
     38!!gm to be removed when removing avmu, avmv 
     39   USE zdf_oce        ! ocean vertical physics variables 
     40!!gm 
    3841   ! 
    3942   USE iom              ! xIOs server 
     
    128131                         CALL zdf_phy( kstp )         ! vertical physics update (bfr, avt, avs, avm + MLD) 
    129132 
     133 
     134!!gm  ===>>>   TO BE REMOVED   (require changes in zdf_oce, dynzdf(_imp,_exp), dynldf_iso, diawri) 
     135      DO jk = 1, jpkm1            !* vertical eddy viscosity at wu- and wv-points 
     136         DO jj = 2, jpjm1 
     137            DO ji = 2, jpim1 
     138               avmu(ji,jj,jk) = 0.5 * ( avm(ji,jj,jk) + avm(ji+1,jj  ,jk) ) * wumask(ji,jj,jk) 
     139               avmv(ji,jj,jk) = 0.5 * ( avm(ji,jj,jk) + avm(ji  ,jj+1,jk) ) * wvmask(ji,jj,jk) 
     140            END DO 
     141         END DO 
     142      END DO 
     143      CALL lbc_lnk( avmu, 'U', 1. )   ;   CALL lbc_lnk( avmv, 'V', 1. )      ! Lateral boundary conditions 
     144!!gm end 
     145 
     146 
    130147      !  LATERAL  PHYSICS 
    131148      ! 
Note: See TracChangeset for help on using the changeset viewer.