Changeset 2210 for branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbcflx.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/sbcflx.F90
r2188 r2210 123 123 ENDIF 124 124 125 CALL fld_read( kt, nn_fsbc, sf ) ! input fields provided at the current time-step 126 127 IF( ln_dm2dc ) CALL sbc_dcy( kt , sf(jp_qsr)%fnow ) ! modify now Qsr to include the diurnal cycle 128 129 IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN ! update ocean fluxes at each SBC frequency 125 CALL fld_read( kt, nn_fsbc, sf ) ! input fields provided at the current time-step 126 127 IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN ! update ocean fluxes at each SBC frequency 128 IF( ln_dm2dc ) THEN ; qsr(:,:) = sbc_dcy( kt, sf(jp_qsr)%fnow ) ! modify now Qsr to include the diurnal cycle 129 ELSE ; qsr(:,:) = sf(jp_qsr)%fnow(:,:) 130 ENDIF 130 131 !CDIR COLLAPSE 131 132 DO jj = 1, jpj ! set the ocean fluxes from read fields … … 133 134 utau(ji,jj) = sf(jp_utau)%fnow(ji,jj) 134 135 vtau(ji,jj) = sf(jp_vtau)%fnow(ji,jj) 135 qns (ji,jj) = sf(jp_qtot)%fnow(ji,jj) - sf(jp_qsr)%fnow(ji,jj) 136 qsr (ji,jj) = sf(jp_qsr )%fnow(ji,jj) 136 qns (ji,jj) = sf(jp_qtot)%fnow(ji,jj) - qsr(ji,jj) 137 137 emp (ji,jj) = sf(jp_emp )%fnow(ji,jj) 138 138 END DO
Note: See TracChangeset
for help on using the changeset viewer.