Changeset 2210 for branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbcblk_core.F90
- Timestamp:
- 2010-10-12T11:54:28+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbcblk_core.F90
r2188 r2210 177 177 ENDIF 178 178 179 CALL fld_read( kt, nn_fsbc, sf ) ! input fields provided at the current time-step 180 181 IF( ln_dm2dc ) CALL sbc_dcy ( kt , sf(jp_qsr)%fnow ) ! modify now Qsr to include the diurnal cycle 179 CALL fld_read( kt, nn_fsbc, sf ) ! input fields provided at the current time-step 182 180 183 181 #if defined key_lim3 … … 185 183 #endif 186 184 ! ! surface ocean fluxes computed with CLIO bulk formulea 187 IF( MOD( kt - 1, nn_fsbc ) == 0 ) CALL blk_oce_core( sf, sst_m, ssu_m, ssv_m )185 IF( MOD( kt - 1, nn_fsbc ) == 0 ) CALL blk_oce_core( kt, sf, sst_m, ssu_m, ssv_m ) 188 186 ! 189 187 END SUBROUTINE sbc_blk_core 190 188 191 189 192 SUBROUTINE blk_oce_core( sf, pst, pu, pv )190 SUBROUTINE blk_oce_core( kt, sf, pst, pu, pv ) 193 191 !!--------------------------------------------------------------------- 194 192 !! *** ROUTINE blk_core *** … … 211 209 !! ** Nota : sf has to be a dummy argument for AGRIF on NEC 212 210 !!--------------------------------------------------------------------- 211 INTEGER , INTENT(in) :: kt ! ocean time step 213 212 TYPE(fld), INTENT(in), DIMENSION(:) :: sf ! input data 214 213 REAL(wp), INTENT(in), DIMENSION(jpi,jpj) :: pst ! surface temperature [Celcius] … … 264 263 ! ----------------------------------------------------------------------------- ! 265 264 265 IF( ln_dm2dc ) THEN ; qsr(:,:) = sbc_dcy( kt, sf(jp_qsr)%fnow ) ! modify now Qsr to include the diurnal cycle 266 ELSE ; qsr(:,:) = sf(jp_qsr)%fnow(:,:) 267 ENDIF 266 268 ! ocean albedo assumed to be 0.066 267 !CDIR COLLAPSE 268 qsr (:,:) = ( 1. - 0.066 ) * sf(jp_qsr)%fnow(:,:) * tmask(:,:,1) ! Short Wave 269 qsr (:,:) = ( 1. - 0.066 ) * qsr(:,:) * tmask(:,:,1) ! Short Wave 269 270 !CDIR COLLAPSE 270 271 zqlw(:,:) = ( sf(jp_qlw)%fnow(:,:) - Stef * zst(:,:)*zst(:,:)*zst(:,:)*zst(:,:) ) * tmask(:,:,1) ! Long Wave
Note: See TracChangeset
for help on using the changeset viewer.