- Timestamp:
- 2019-08-22T11:49:08+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/dev_r10037_GPU/src/OCE/ZDF/zdfmxl.F90
r10843 r11467 86 86 !! ** Action : nmln, hmld, hmlp, hmlpt 87 87 !!---------------------------------------------------------------------- 88 USE scoce, ONLY : imld => iscr2D1 88 89 INTEGER, INTENT(in) :: kt ! ocean time-step index 89 90 ! … … 91 92 INTEGER :: iikn, iiki, ikt ! local integer 92 93 REAL(wp) :: zN2_c ! local scalar 93 INTEGER, DIMENSION(jpi,jpj) :: imld ! 2D workspace94 94 !!---------------------------------------------------------------------- 95 95 ! … … 177 177 ! 178 178 !!----------------------------------------------------------------------------------- 179 179 USE scoce, ONLY : ikmt => iscr2D1, & ! number of active tracer levels 180 ik_ref => iscr2D2, & ! index of reference level 181 ik_iso => iscr2D3, & ! index of last uniform temp level 182 zT => scr1, & ! Temperature or density 183 ppzdep => scr2D1, & ! depth for use in calculating d(rho) 184 zT_ref => scr2D2, & ! reference temperature 185 zdTdz => scr2, & ! gradient of zT 186 zmoddT => scr3, & ! Absolute temperature difference 187 zdelta_T => scr2D3,& ! difference critereon 188 zRHO1 => scr2D4, & ! Densities 189 zRHO2 => scr2D5 ! Densities 180 190 TYPE(MXL_ZINT), INTENT(in) :: sf 181 191 … … 188 198 ! Local variables 189 199 REAL(wp), PARAMETER :: zepsilon = 1.e-30 ! local small value 190 INTEGER, DIMENSION(jpi,jpj) :: ikmt ! number of active tracer levels191 INTEGER, DIMENSION(jpi,jpj) :: ik_ref ! index of reference level192 INTEGER, DIMENSION(jpi,jpj) :: ik_iso ! index of last uniform temp level193 REAL, DIMENSION(jpi,jpj,jpk) :: zT ! Temperature or density194 REAL, DIMENSION(jpi,jpj) :: ppzdep ! depth for use in calculating d(rho)195 REAL, DIMENSION(jpi,jpj) :: zT_ref ! reference temperature196 200 REAL :: zT_b ! base temperature 197 REAL, DIMENSION(jpi,jpj,jpk) :: zdTdz ! gradient of zT198 REAL, DIMENSION(jpi,jpj,jpk) :: zmoddT ! Absolute temperature difference199 201 REAL :: zdz ! depth difference 200 202 REAL :: zdT ! temperature difference 201 REAL, DIMENSION(jpi,jpj) :: zdelta_T ! difference critereon202 REAL, DIMENSION(jpi,jpj) :: zRHO1, zRHO2 ! Densities203 203 INTEGER :: ji, jj, jk ! loop counter 204 204
Note: See TracChangeset
for help on using the changeset viewer.