- Timestamp:
- 2018-10-29T13:03:40+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_AMM15_package/NEMOGCM/NEMO/OPA_SRC/step.F90
r10248 r10249 225 225 ENDIF 226 226 227 ! Cool skin 228 IF ( ln_diurnal ) THEN 229 IF ( ln_blk_core ) THEN 230 CALL diurnal_sst_coolskin_step( & 231 qns(:,:)+(rn_abs*qsr(:,:)), taum, rhop(:,:,1), rdt) 232 ELSE 233 CALL diurnal_sst_coolskin_step( & 234 qns, taum, rhop(:,:,1), rdt) 235 ENDIF 236 ENDIF 237 227 238 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 228 239 ! diagnostics and outputs (ua, va, tsa used as workspace) … … 238 249 IF( ln_crs ) CALL crs_fld( kstp ) ! ocean model: online field coarsening & output 239 250 251 !Diurnal warm layer model 252 IF ( ln_diurnal ) THEN 253 IF ( ln_blk_core ) THEN 254 IF( kstp == nit000 )THEN 255 CALL diurnal_sst_takaya_step( & 256 & qsr(:,:)-(rn_abs*qsr(:,:)), qns(:,:)+(rn_abs*qsr(:,:)), & 257 & taum, rhop(:,:,1), & 258 & rdt, ld_calcfrac = .TRUE.) 259 ELSE 260 CALL diurnal_sst_takaya_step( & 261 & qsr(:,:)-(rn_abs*qsr(:,:)), qns(:,:)+(rn_abs*qsr(:,:)), & 262 & taum, rhop(:,:,1), rdt ) 263 ENDIF 264 ELSE 265 IF( kstp == nit000 )THEN 266 CALL diurnal_sst_takaya_step( & 267 & qsr, qns, taum, rhop(:,:,1), & 268 & rdt, ld_calcfrac = .TRUE.) 269 ELSE 270 CALL diurnal_sst_takaya_step( & 271 & qsr, qns, taum, rhop(:,:,1), rdt ) 272 ENDIF 273 ENDIF 274 ENDIF 275 240 276 #if defined key_top 241 277 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 255 291 CALL tra_sbc ( kstp ) ! surface boundary condition 256 292 IF( ln_traqsr ) CALL tra_qsr ( kstp ) ! penetrative solar radiation qsr 293 IF( ln_tradwl ) CALL tra_dwl ( kstp ) ! Polcoms Style Short Wave Radiation 257 294 IF( ln_trabbc ) CALL tra_bbc ( kstp ) ! bottom heat flux 258 295 IF( lk_trabbl ) CALL tra_bbl ( kstp ) ! advective (and/or diffusive) bottom boundary layer scheme … … 299 336 ! Dynamics (tsa used as workspace) 300 337 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 338 339 IF( ln_bkgwri ) CALL asm_bkg_wri( kstp ) ! output background fields 340 301 341 IF( lk_dynspg_ts ) THEN 302 342 ! revert to previously computed momentum tendencies … … 317 357 IF( lk_asminc .AND. ln_asmiau .AND. & 318 358 & ln_dyninc ) CALL dyn_asm_inc( kstp ) ! apply dynamics assimilation increment 319 IF( ln_bkgwri ) CALL asm_bkg_wri( kstp ) ! output background fields320 359 IF( ln_neptsimp ) CALL dyn_nept_cor( kstp ) ! subtract Neptune velocities (simplified) 321 360 IF( lk_bdy ) CALL bdy_dyn3d_dmp(kstp ) ! bdy damping trends … … 336 375 CALL ssh_swp( kstp ) ! swap of sea surface height 337 376 IF( lk_vvl ) CALL dom_vvl_sf_swp( kstp ) ! swap of vertical scale factors 338 !339 IF( lrst_oce ) CALL rst_write( kstp ) ! write output ocean restart file340 377 341 378 #if defined key_agrif … … 361 398 CALL dia_wri_state( 'output.abort', kstp ) 362 399 ENDIF 400 IF( ln_harm_ana_store ) CALL harm_ana( kstp ) ! Harmonic analysis of tides 363 401 IF( kstp == nit000 ) THEN 364 402 CALL iom_close( numror ) ! close input ocean restart file … … 366 404 IF( lwm.AND.numoni /= -1 ) CALL FLUSH ( numoni ) ! flush output namelist ice 367 405 ENDIF 406 IF( lrst_oce ) CALL rst_write ( kstp ) ! write output ocean restart file 368 407 369 408 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Note: See TracChangeset
for help on using the changeset viewer.