- Timestamp:
- 2010-10-19T12:15:40+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1879_FCM/NEMOGCM/NEMO/OPA_SRC/SBC/sbcflx.F90
r2160 r2292 27 27 USE oce ! ocean dynamics and tracers 28 28 USE dom_oce ! ocean space and time domain 29 USE sbc_oce ! Surface boundary condition: ocean fields 29 USE sbc_oce ! surface boundary condition: ocean fields 30 USE sbcdcy ! surface boundary condition: diurnal cycle on qsr 30 31 USE phycst ! physical constants 31 32 USE fldread ! read input fields … … 114 115 REWIND ( numnam ) ! ... read in namlist namflx 115 116 READ ( numnam, namsbc_flx ) 116 117 ! store namelist information in an array 117 ! 118 ! ! check: do we plan to use ln_dm2dc with non-daily forcing? 119 IF( ln_dm2dc .AND. sn_qsr%nfreqh /= 24 ) & 120 & CALL ctl_stop( 'sbc_blk_core: ln_dm2dc can be activated only with daily short-wave forcing' ) 121 ! 122 ! ! store namelist information in an array 118 123 slf_i(jp_utau) = sn_utau ; slf_i(jp_vtau) = sn_vtau 119 124 slf_i(jp_qtot) = sn_qtot ; slf_i(jp_qsr ) = sn_qsr … … 141 146 IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN 142 147 ! 148 IF( ln_dm2dc ) THEN ; qsr(:,:) = sbc_dcy( sf(jp_qsr)%fnow(:,:) ) ! modify now Qsr to include the diurnal cycle 149 ELSE ; qsr(:,:) = sf(jp_qsr)%fnow(:,:) 150 ENDIF 143 151 ! set the ocean fluxes from read fields 144 152 !CDIR COLLAPSE … … 148 156 vtau(ji,jj) = sf(jp_vtau)%fnow(ji,jj) 149 157 qns (ji,jj) = sf(jp_qtot)%fnow(ji,jj) - sf(jp_qsr)%fnow(ji,jj) 150 qsr (ji,jj) = sf(jp_qsr )%fnow(ji,jj)151 158 emp (ji,jj) = sf(jp_emp )%fnow(ji,jj) 152 159 END DO
Note: See TracChangeset
for help on using the changeset viewer.