- Timestamp:
- 2015-01-29T14:13:14+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limthd_dif.F90
r4990 r5047 112 112 REAL(wp) :: ztmelt_i ! ice melting temperature 113 113 REAL(wp) :: zerritmax ! current maximal error on temperature 114 REAL(wp) :: zhsu 114 115 REAL(wp), POINTER, DIMENSION(:) :: ztfs ! ice melting point 115 116 REAL(wp), POINTER, DIMENSION(:) :: ztsub ! old surface temperature (before the iterative procedure ) … … 123 124 REAL(wp), POINTER, DIMENSION(:) :: zdifcase ! case of the equation resolution (1->4) 124 125 REAL(wp), POINTER, DIMENSION(:) :: zftrice ! solar radiation transmitted through the ice 125 REAL(wp), POINTER, DIMENSION(:) :: zihic , zhsu126 REAL(wp), POINTER, DIMENSION(:) :: zihic 126 127 REAL(wp), POINTER, DIMENSION(:,:) :: ztcond_i ! Ice thermal conductivity 127 128 REAL(wp), POINTER, DIMENSION(:,:) :: zradtr_i ! Radiation transmitted through the ice … … 150 151 CALL wrk_alloc( jpij, numeqmin, numeqmax, isnow ) 151 152 CALL wrk_alloc( jpij, ztfs, ztsub, ztsubit, zh_i, zh_s, zfsw ) 152 CALL wrk_alloc( jpij, zf, dzf, zerrit, zdifcase, zftrice, zihic , zhsu)153 CALL wrk_alloc( jpij, zf, dzf, zerrit, zdifcase, zftrice, zihic ) 153 154 CALL wrk_alloc( jpij, nlay_i+1, ztcond_i, zradtr_i, zradab_i, zkappa_i, ztib, zeta_i, ztitemp, z_i, zspeche_i, kjstart=0) 154 155 CALL wrk_alloc( jpij, nlay_s+1, zradtr_s, zradab_s, zkappa_s, ztsb, zeta_s, ztstemp, z_s, kjstart=0) … … 212 213 ! zftrice = io.qsr_ice is below the surface 213 214 ! ftr_ice = io.qsr_ice.exp(-k(h_i)) transmitted below the ice 214 215 zhsu = 0.1_wp ! threshold for the computation of i0 216 !fr1_i0_1d = i0 for a thin ice surface 217 !fr1_i0_2d = i0 for a thick ice surface 215 218 DO ji = kideb , kiut 216 219 ! switches 217 220 isnow(ji) = NINT( 1._wp - MAX( 0._wp , SIGN( 1._wp , - ht_s_1d(ji) ) ) ) 218 221 ! hs > 0, isnow = 1 219 zhsu (ji) = hnzst ! threshold for the computation of i0 220 zihic(ji) = MAX( 0._wp , 1._wp - ( ht_i_1d(ji) / zhsu(ji) ) ) 222 zihic(ji) = MAX( 0._wp , 1._wp - ( ht_i_1d(ji) / zhsu ) ) 221 223 222 224 i0(ji) = REAL( 1 - isnow(ji) ) * ( fr1_i0_1d(ji) + zihic(ji) * fr2_i0_1d(ji) ) 223 !fr1_i0_1d = i0 for a thin ice surface224 !fr1_i0_2d = i0 for a thick ice surface225 ! a function of the cloud cover226 !227 !i0(ji) = (1.0-FLOAT(isnow(ji)))*3.0/(100*ht_s_1d(ji)+10.0)228 !formula used in Cice229 225 END DO 230 226 … … 775 771 CALL wrk_dealloc( jpij, numeqmin, numeqmax, isnow ) 776 772 CALL wrk_dealloc( jpij, ztfs, ztsub, ztsubit, zh_i, zh_s, zfsw ) 777 CALL wrk_dealloc( jpij, zf, dzf, zerrit, zdifcase, zftrice, zihic , zhsu)773 CALL wrk_dealloc( jpij, zf, dzf, zerrit, zdifcase, zftrice, zihic ) 778 774 CALL wrk_dealloc( jpij, nlay_i+1, ztcond_i, zradtr_i, zradab_i, zkappa_i, & 779 775 & ztib, zeta_i, ztitemp, z_i, zspeche_i, kjstart = 0 )
Note: See TracChangeset
for help on using the changeset viewer.