- Timestamp:
- 2010-05-04T10:39:48+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/OPA_SRC/DYN/dynzdf_imp.F90
r1662 r1858 59 59 !! ua = ua + dz( avmu dz(u) ) 60 60 !! 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 63 62 !!--------------------------------------------------------------------- 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 77 73 !!---------------------------------------------------------------------- 78 74 … … 82 78 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~ ' 83 79 ENDIF 84 85 ! 0. Local constant initialization86 ! --------------------------------87 zrau0r = 1. / rau0 ! inverse of the reference density88 80 89 81 ! 1. Vertical diffusion on u
Note: See TracChangeset
for help on using the changeset viewer.