- Timestamp:
- 2015-04-13T12:13:10+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/NEMO/LIM_SRC_3/limthd_dif.F90
r5202 r5206 126 126 REAL(wp), POINTER, DIMENSION(:) :: zdifcase ! case of the equation resolution (1->4) 127 127 REAL(wp), POINTER, DIMENSION(:) :: zftrice ! solar radiation transmitted through the ice 128 REAL(wp), POINTER, DIMENSION(:) :: zftrice_mean ! daily mean solar radiation transmitted through the ice 128 129 REAL(wp), POINTER, DIMENSION(:) :: zihic 129 130 … … 174 175 CALL wrk_alloc( jpij,nlay_i+3, zindterm, zindtbis, zdiagbis ) 175 176 CALL wrk_alloc( jpij,nlay_i+3,3, ztrid ) 177 IF( l_trcdm2dc ) CALL wrk_alloc( jpij, zftrice_mean ) 176 178 177 179 CALL wrk_alloc( jpij, zdq, zq_ini, zhfx_err ) … … 249 251 END DO 250 252 253 IF( l_trcdm2dc ) THEN 254 DO ji = kideb , kiut 255 zftrice_mean(ji) = qsr_ice_mean_1d(ji) * i0(ji) ! Solar radiation transmitted below the surface layer 256 END DO 257 ENDIF 258 251 259 !--------------------------------------------------------- 252 260 ! Transmission - absorption of solar radiation in the ice … … 282 290 ftr_ice_1d(ji) = zradtr_i(ji,nlay_i) 283 291 END DO 292 293 294 IF( l_trcdm2dc ) THEN 295 DO ji = kideb , kiut 296 ftr_ice_mean_1d(ji) = ftr_ice_mean_1d(ji) & 297 & + a_i_1d(ji) * zftrice_mean(ji) & 298 & * EXP( - rn_kappa_i * ( MAX ( 0._wp , h_i_1d(ji) ) ) ) & 299 * EXP( - zraext_s * ( MAX ( 0._wp , h_s_1d(ji) ) ) ) 300 END DO 301 ENDIF 284 302 285 303 !
Note: See TracChangeset
for help on using the changeset viewer.