Changeset 5407 for trunk/NEMOGCM/NEMO/LIM_SRC_2
- Timestamp:
- 2015-06-11T21:13:22+02:00 (9 years ago)
- Location:
- trunk/NEMOGCM/NEMO/LIM_SRC_2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_2/limsbc_2.F90
r5385 r5407 96 96 !! - fr_i : ice fraction 97 97 !! - tn_ice : sea-ice surface temperature 98 !! - alb_ice : sea-ice albedo (l k_cpl=T)98 !! - alb_ice : sea-ice albedo (ln_cpl=T) 99 99 !! 100 100 !! References : Goosse, H. et al. 1996, Bul. Soc. Roy. Sc. Liege, 65, 87-90. … … 178 178 179 179 ! computation the solar flux at ocean surface 180 IF( l k_cpl ) THEN180 IF( ln_cpl ) THEN 181 181 zqsr = qsr_tot(ji,jj) + ( fstric(ji,jj) - qsr_ice(ji,jj,1) ) * ( 1.0 - pfrld(ji,jj) ) 182 182 ELSE … … 202 202 ! mass flux at the ocean-atmosphere interface (open ocean fraction = leads area) 203 203 ! ! coupled mode: 204 IF( l k_cpl ) THEN204 IF( ln_cpl ) THEN 205 205 zemp = + emp_tot(ji,jj) & ! net mass flux over the grid cell (ice+ocean area) 206 206 & - emp_ice(ji,jj) * ( 1. - pfrld(ji,jj) ) ! minus the mass flux intercepted by sea-ice … … 252 252 !-----------------------------------------------! 253 253 254 IF( l k_cpl) THEN254 IF( ln_cpl) THEN 255 255 tn_ice(:,:,1) = sist(:,:) ! sea-ice surface temperature 256 256 ht_i(:,:,1) = hicif(:,:) -
trunk/NEMOGCM/NEMO/LIM_SRC_2/limthd_2.F90
r5385 r5407 216 216 217 217 ! partial computation of the lead energy budget (qldif) 218 IF( l k_cpl ) THEN218 IF( ln_cpl ) THEN 219 219 qldif(ji,jj) = tms(ji,jj) * rdt_ice & 220 220 & * ( ( qsr_tot(ji,jj) - qsr_ice(ji,jj,1) * zfricp ) * ( 1.0 - thcm(ji,jj) ) & … … 288 288 CALL tab_2d_1d_2( nbpb, qns_ice_1d(1:nbpb) , qns_ice(:,:,1), jpi, jpj, npb(1:nbpb) ) 289 289 CALL tab_2d_1d_2( nbpb, dqns_ice_1d(1:nbpb) , dqns_ice(:,:,1), jpi, jpj, npb(1:nbpb) ) 290 IF( .NOT. l k_cpl ) THEN290 IF( .NOT. ln_cpl ) THEN 291 291 CALL tab_2d_1d_2( nbpb, qla_ice_1d (1:nbpb) , qla_ice(:,:,1), jpi, jpj, npb(1:nbpb) ) 292 292 CALL tab_2d_1d_2( nbpb, dqla_ice_1d(1:nbpb) , dqla_ice(:,:,1), jpi, jpj, npb(1:nbpb) ) … … 333 333 CALL tab_1d_2d_2( nbpb, qsr_ice(:,:,1), npb, qsr_ice_1d(1:nbpb) , jpi, jpj ) 334 334 CALL tab_1d_2d_2( nbpb, qns_ice(:,:,1), npb, qns_ice_1d(1:nbpb) , jpi, jpj ) 335 IF( .NOT. l k_cpl ) CALL tab_1d_2d_2( nbpb, qla_ice(:,:,1), npb, qla_ice_1d(1:nbpb), jpi, jpj )335 IF( .NOT. ln_cpl ) CALL tab_1d_2d_2( nbpb, qla_ice(:,:,1), npb, qla_ice_1d(1:nbpb), jpi, jpj ) 336 336 ! 337 337 ENDIF … … 434 434 IF( iom_use('qsr_ai_cea' ) ) CALL iom_put( 'qsr_ai_cea', qsr_ice(:,:,1) * ztmp(:,:) ) ! Solar flux over the ice [W/m2] 435 435 IF( iom_use('qns_ai_cea' ) ) CALL iom_put( 'qns_ai_cea', qns_ice(:,:,1) * ztmp(:,:) ) ! Non-solar flux over the ice [W/m2] 436 IF( iom_use('qla_ai_cea' ) .AND. .NOT. l k_cpl ) &436 IF( iom_use('qla_ai_cea' ) .AND. .NOT. ln_cpl ) & 437 437 & CALL iom_put( 'qla_ai_cea', qla_ice(:,:,1) * ztmp(:,:) ) ! Latent flux over the ice [W/m2] 438 438 ! … … 557 557 IF(lwm) WRITE ( numoni, namicethd ) 558 558 559 IF( l k_cpl .AND. parsub /= 0.0 ) CALL ctl_stop( 'In coupled mode, use parsub = 0. or send dqla' )559 IF( ln_cpl .AND. parsub /= 0.0 ) CALL ctl_stop( 'In coupled mode, use parsub = 0. or send dqla' ) 560 560 ! 561 561 IF(lwp) THEN ! control print -
trunk/NEMOGCM/NEMO/LIM_SRC_2/limthd_zdf_2.F90
r5385 r5407 18 18 USE ice_2 19 19 USE limistate_2 20 USE sbc_oce, ONLY : l k_cpl20 USE sbc_oce, ONLY : ln_cpl 21 21 USE in_out_manager 22 22 USE lib_mpp ! MPP library … … 325 325 !---------------------------------------------------------------------- 326 326 327 IF ( .NOT. l k_cpl ) THEN ! duplicate the loop for performances issues327 IF ( .NOT. ln_cpl ) THEN ! duplicate the loop for performances issues 328 328 DO ji = kideb, kiut 329 329 sist_1d(ji) = MIN( ztsmlt(ji) , sist_1d(ji) )
Note: See TracChangeset
for help on using the changeset viewer.