Changeset 9750 for NEMO/trunk/src/ICE/icethd.F90
- Timestamp:
- 2018-06-06T14:49:34+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/ICE/icethd.F90
r9656 r9750 77 77 !! - call ice_thd_sal for ice desalination 78 78 !! - call ice_thd_temp to retrieve temperature from ice enthalpy 79 !! - call ice_thd_ lamfor extra lateral ice melt if active virtual thickness distribution79 !! - call ice_thd_mono for extra lateral ice melt if active virtual thickness distribution 80 80 !! - call ice_thd_da for lateral ice melt 81 81 !! - back to the geographic grid … … 224 224 ! ! --- & Change units of e_i, e_s from J/m2 to J/m3 --- ! 225 225 ! 226 s_i_new (1:npti) = 0._wp ; dh_s_tot (1:npti) = 0._wp ! --- some init --- ! (important to have them here) 227 dh_i_surf (1:npti) = 0._wp ; dh_i_bott(1:npti) = 0._wp 228 dh_snowice(1:npti) = 0._wp ; dh_i_sub (1:npti) = 0._wp ; dh_s_mlt(1:npti) = 0._wp 226 s_i_new (1:npti) = 0._wp ; dh_s_tot(1:npti) = 0._wp ! --- some init --- ! (important to have them here) 227 dh_i_sum (1:npti) = 0._wp ; dh_i_bom(1:npti) = 0._wp ; dh_i_itm (1:npti) = 0._wp 228 dh_i_sub (1:npti) = 0._wp ; dh_i_bog(1:npti) = 0._wp 229 dh_snowice(1:npti) = 0._wp ; dh_s_mlt(1:npti) = 0._wp 229 230 ! 230 231 IF( ln_icedH ) THEN ! --- growing/melting --- ! … … 239 240 CALL ice_thd_temp ! --- temperature update --- ! 240 241 ! 241 !!gm please create a new logical (l_thd_ lamor a better explicit name) set one for all in icestp.F90 module242 !!gm l_thd_ lam= ln_icedH .AND. ( ( nn_virtual_itd == 1 .OR. nn_virtual_itd == 4 ) .AND. jpl == 1 )242 !!gm please create a new logical (l_thd_mono or a better explicit name) set one for all in icestp.F90 module 243 !!gm l_thd_mono = ln_icedH .AND. ( ( nn_virtual_itd == 1 .OR. nn_virtual_itd == 4 ) .AND. jpl == 1 ) 243 244 !!gm by the way, the different options associated with nn_virtual_itd =1 to 4 are quite impossible to identify 244 245 !!gm more comment to add when ready the namelist, with an explicit print in the ocean.output 245 246 IF( ln_icedH ) THEN 246 247 IF ( ( nn_virtual_itd == 1 .OR. nn_virtual_itd == 3 ) .AND. jpl == 1 ) THEN 247 CALL ice_thd_ lam! --- extra lateral melting if virtual_itd --- !248 CALL ice_thd_mono ! --- extra lateral melting if virtual_itd --- ! 248 249 END IF 249 250 END IF … … 307 308 308 309 309 SUBROUTINE ice_thd_ lam310 !!----------------------------------------------------------------------- 311 !! *** ROUTINE ice_thd_ lam***310 SUBROUTINE ice_thd_mono 311 !!----------------------------------------------------------------------- 312 !! *** ROUTINE ice_thd_mono *** 312 313 !! 313 314 !! ** Purpose : Lateral melting in case virtual_itd … … 321 322 ! 322 323 DO ji = 1, npti 323 zdh_mel = MIN( 0._wp, dh_i_ surf(ji) + dh_i_bott(ji) + dh_snowice(ji) + dh_i_sub(ji) )324 zdh_mel = MIN( 0._wp, dh_i_itm(ji) + dh_i_sum(ji) + dh_i_bom(ji) + dh_snowice(ji) + dh_i_sub(ji) ) 324 325 IF( zdh_mel < 0._wp .AND. a_i_1d(ji) > 0._wp ) THEN 325 326 zvi = a_i_1d(ji) * h_i_1d(ji) … … 338 339 END DO 339 340 ! 340 END SUBROUTINE ice_thd_ lam341 END SUBROUTINE ice_thd_mono 341 342 342 343
Note: See TracChangeset
for help on using the changeset viewer.