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

Ignore:
Timestamp:
2017-06-15T08:44:30+02:00 (7 years ago)
Author:
gm
Message:

#1883 (HPC-09) - step-9: final step for the removal of avmu, avmv from the code

File:
1 edited

Legend:

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

    r8160 r8178  
    2929   !!            3.7  !  2014-10  (G. Madec)  LDF simplication  
    3030   !!             -   !  2014-12  (G. Madec) remove KPP scheme 
    31    !!             -   !  2015-11  (J. Chanut) free surface simplification 
     31   !!             -   !  2015-11  (J. Chanut) free surface simplification (remove filtered free surface) 
     32   !!            4.0  !  2017-05  (G. Madec)  introduction of the vertical physics manager (zdfphy) 
    3233   !!---------------------------------------------------------------------- 
    3334 
     
    3637   !!---------------------------------------------------------------------- 
    3738   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 
    4139   ! 
    4240   USE iom              ! xIOs server 
     
    4846 
    4947   !!---------------------------------------------------------------------- 
    50    !! NEMO/OPA 3.7 , NEMO Consortium (2015) 
     48   !! NEMO/OPA 4.0 , NEMO Consortium (2017) 
    5149   !! $Id$ 
    5250   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    131129                         CALL zdf_phy( kstp )         ! vertical physics update (top/bot drag, avt, avs, avm + MLD) 
    132130 
    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  
    147131      !  LATERAL  PHYSICS 
    148132      ! 
Note: See TracChangeset for help on using the changeset viewer.