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 1858 for branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/OPA_SRC/DYN/dynzdf_imp.F90 – NEMO

Ignore:
Timestamp:
2010-05-04T10:39:48+02:00 (14 years ago)
Author:
gm
Message:

ticket:#665 : step 1 - heat content of freezing-melting ice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/OPA_SRC/DYN/dynzdf_imp.F90

    r1662 r1858  
    5959      !!         ua = ua + dz( avmu dz(u) ) 
    6060      !! 
    61       !! ** Action : - Update (ua,va) arrays with the after vertical diffusive 
    62       !!               mixing trend. 
     61      !! ** Action : -  (ua,va) updated with the after vertical diffusive mixing trend 
    6362      !!--------------------------------------------------------------------- 
    64       !! * Modules used 
    65       USE oce, ONLY :  zwd   => ta,   &                ! use ta as workspace 
    66                        zws   => sa                     ! use sa as workspace 
    67  
    68       !! * Arguments 
    69       INTEGER , INTENT( in ) ::   kt                   ! ocean time-step index 
    70       REAL(wp), INTENT( in ) ::  p2dt                  ! vertical profile of tracer time-step 
    71  
    72       !! * Local declarations 
    73       INTEGER ::   ji, jj, jk                          ! dummy loop indices 
    74       REAL(wp) ::   zrau0r, z2dtf, zcoef, zzws, zrhs   ! temporary scalars 
    75       REAL(wp) ::   zzwi                               ! temporary scalars 
    76       REAL(wp), DIMENSION(jpi,jpj,jpk) ::   zwi        ! temporary workspace arrays 
     63      USE oce, ONLY :  zwd   => ta   ! use ta as workspace 
     64      USE oce, ONLY :  zws   => sa   !  -  sa         - 
     65      !! 
     66      INTEGER , INTENT( in ) ::   kt    ! ocean time-step index 
     67      REAL(wp), INTENT( in ) ::  p2dt   ! vertical profile of tracer time-step 
     68      !! 
     69      INTEGER ::   ji, jj, jk                     ! dummy loop indices 
     70      REAL(wp) ::   z2dtf, zcoef, zzws, zrhs      ! temporary scalars 
     71      REAL(wp) ::   zzwi                          !    -         - 
     72      REAL(wp), DIMENSION(jpi,jpj,jpk) ::   zwi   ! 3D workspace  
    7773      !!---------------------------------------------------------------------- 
    7874 
     
    8278         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~ ' 
    8379      ENDIF 
    84  
    85       ! 0. Local constant initialization 
    86       ! -------------------------------- 
    87       zrau0r = 1. / rau0      ! inverse of the reference density 
    8880 
    8981      ! 1. Vertical diffusion on u 
Note: See TracChangeset for help on using the changeset viewer.