- Timestamp:
- 2018-07-13T09:28:50+02:00 (6 years ago)
- Location:
- NEMO/branches/2018/dev_r9838_ENHANCE04_RK3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r9838_ENHANCE04_RK3/src/OCE/DIU/step_diu.F90
r9598 r9939 5 5 !!====================================================================== 6 6 !! History : 3.7 ! 2015-11 (J. While) Original code 7 !!---------------------------------------------------------------------- 7 8 8 9 USE diurnal_bulk ! diurnal SST bulk routines (diurnal_sst_takaya routine) … … 27 28 !! Software governed by the CeCILL licence (./LICENSE) 28 29 !!---------------------------------------------------------------------- 29 30 30 CONTAINS 31 31 32 32 SUBROUTINE stp_diurnal( kstp ) 33 INTEGER, INTENT(in) :: kstp ! ocean time-step index34 33 !!---------------------------------------------------------------------- 35 34 !! *** ROUTINE stp_diurnal *** … … 46 45 !! -8- Outputs and diagnostics 47 46 !!---------------------------------------------------------------------- 47 INTEGER, INTENT(in) :: kstp ! ocean time-step index 48 ! 48 49 INTEGER :: jk ! dummy loop indices 49 50 INTEGER :: indic ! error indicator if < 0 … … 51 52 !! --------------------------------------------------------------------- 52 53 53 IF( ln_diurnal_only) THEN54 IF( ln_diurnal_only ) THEN 54 55 indic = 0 ! reset to no error condition 55 56 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) … … 60 61 ENDIF 61 62 62 CALL sbc ( kstp ) ! SeaBoundary Conditions63 CALL sbc( kstp ) ! Sea Surface Boundary Conditions 63 64 ENDIF 64 65 65 ! Cool skin66 66 IF( .NOT.ln_diurnal ) CALL ctl_stop( "stp_diurnal: ln_diurnal not set" ) 67 67 68 68 IF( .NOT. ln_blk ) CALL ctl_stop( "stp_diurnal: diurnal flux processing only implemented for bulk forcing" ) 69 69 70 CALL diurnal_sst_coolskin_step( qns, taum, rhop(:,:,1), rdt) 70 ! ! Cool skin 71 CALL diurnal_sst_coolskin_step( qns, taum, rhop(:,:,1), rn_Dt ) 71 72 72 CALL iom_put( "sst_wl" , x_dsst )! warm layer (write out before update below).73 CALL iom_put( "sst_cs" , x_csdsst )! cool skin73 CALL iom_put( "sst_wl", x_dsst ) ! warm layer (write out before update below). 74 CALL iom_put( "sst_cs", x_csdsst ) ! cool skin 74 75 75 ! Diurnal warm layer model 76 CALL diurnal_sst_takaya_step( kstp, & 77 & qsr, qns, taum, rhop(:,:,1), rdt) 76 ! ! Diurnal warm layer model 77 CALL diurnal_sst_takaya_step( kstp, qsr, qns, taum, rhop(:,:,1), rn_Dt ) 78 78 79 79 IF( ln_diurnal_only ) THEN 80 IF( ln_diaobs ) CALL dia_obs( kstp )! obs-minus-model (assimilation) diagnostics (call after dynamics update)80 IF( ln_diaobs ) CALL dia_obs( kstp ) ! obs-minus-model (assimilation) diagnostics (call after dynamics update) 81 81 82 82 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> … … 84 84 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 85 85 IF( kstp == nit000 ) CALL iom_close( numror ) ! close input ocean restart file 86 IF( lrst_oce ) CALL rst_write ( kstp )! write output ocean restart file86 IF( lrst_oce ) CALL rst_write( kstp ) ! write output ocean restart file 87 87 88 88 IF( ln_timing .AND. kstp == nit000 ) CALL timing_reset … … 91 91 END SUBROUTINE stp_diurnal 92 92 93 !!====================================================================== 93 94 END MODULE step_diu
Note: See TracChangeset
for help on using the changeset viewer.