Changeset 2708
- Timestamp:
- 2011-03-28T09:55:33+02:00 (12 years ago)
- Location:
- branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/SBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r2690 r2708 187 187 hsnif(jpi,jpj) , v_ice(jpi,jpj) , fr2_i0(jpi,jpj) , alb_ice(jpi,jpj,jpl) , STAT=ierr(2) ) 188 188 #endif 189 sbc_cpl_ init_alloc = MAXVAL( ierr )189 sbc_cpl_alloc = MAXVAL( ierr ) 190 190 IF( lk_mpp ) CALL mpp_sum ( sbc_cpl_alloc ) 191 191 IF( sbc_cpl_alloc > 0 ) CALL ctl_warn('sbc_cpl_alloc: allocation of arrays failed') … … 207 207 !!---------------------------------------------------------------------- 208 208 USE wrk_nemo, ONLY: wrk_in_use, wrk_not_released 209 USE wrk_nemo, ONLY: zacs => wrk_2d_ 1 , zaos => wrk_2d_2! clear & overcast sky albedos209 USE wrk_nemo, ONLY: zacs => wrk_2d_3 , zaos => wrk_2d_4 ! clear & overcast sky albedos 210 210 !! 211 211 INTEGER, INTENT(in) :: k_ice ! ice management in the sbc (=0/1/2/3) … … 223 223 !!--------------------------------------------------------------------- 224 224 225 IF( wrk_in_use(2, 1,2) ) THEN225 IF( wrk_in_use(2, 3,4) ) THEN 226 226 CALL ctl_stop('sbc_cpl_init: requested workspace arrays unavailable') ; RETURN 227 227 ENDIF … … 563 563 & CALL ctl_stop( 'sbc_cpl_init: diurnal cycle reconstruction (ln_dm2dc) needs daily couping for solar radiation' ) 564 564 565 IF( wrk_not_released(2, 1,2) ) CALL ctl_stop('sbc_cpl_init: failed to release workspace arrays')565 IF( wrk_not_released(2, 3,4) ) CALL ctl_stop('sbc_cpl_init: failed to release workspace arrays') 566 566 ! 567 567 END SUBROUTINE sbc_cpl_init … … 1089 1089 USE wrk_nemo, ONLY: ztmp => wrk_2d_2 ! temporary array 1090 1090 USE wrk_nemo, ONLY: zsnow => wrk_2d_3 ! snow precipitation 1091 USE wrk_nemo, ONLY: zicefr => wrk_3d_ 1! ice fraction1091 USE wrk_nemo, ONLY: zicefr => wrk_3d_4 ! ice fraction 1092 1092 !! 1093 1093 REAL(wp), INTENT(in ), DIMENSION(:,:,:) :: p_frld ! lead fraction [0 to 1] … … 1110 1110 !!---------------------------------------------------------------------- 1111 1111 1112 IF( wrk_in_use(2, 1,2,3) .OR. wrk_in_use(3, 1) ) THEN1112 IF( wrk_in_use(2, 1,2,3) .OR. wrk_in_use(3, 4) ) THEN 1113 1113 CALL ctl_stop('sbc_cpl_ice_flx: requested workspace arrays unavailable') ; RETURN 1114 1114 ENDIF … … 1232 1232 1233 1233 IF( wrk_not_released(2, 1,2,3) .OR. & 1234 wrk_not_released(3, 1) ) CALL ctl_stop('sbc_cpl_ice_flx: failed to release workspace arrays')1234 wrk_not_released(3, 4) ) CALL ctl_stop('sbc_cpl_ice_flx: failed to release workspace arrays') 1235 1235 ! 1236 1236 END SUBROUTINE sbc_cpl_ice_flx -
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90
r2690 r2708 206 206 & emp_tot, emp_ice, dqns_ice, sprecip, & 207 207 ! optional arguments, used only in 'mixed oce-ice' case 208 & palbi = zalb_ice_cs, psst = sst_m, pist = sist )208 & palbi = zalb_ice_cs, psst = sst_m, pist = zsist ) 209 209 #endif 210 210 CALL lim_thd_2 ( kt ) ! Ice thermodynamics
Note: See TracChangeset
for help on using the changeset viewer.