Changeset 3294 for trunk/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90
- Timestamp:
- 2012-01-28T17:44:18+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90
r2715 r3294 34 34 USE restart ! 35 35 USE trc_oce, ONLY : lk_offline ! offline flag 36 USE timing ! Timing 36 37 37 38 IMPLICIT NONE … … 70 71 REAL(wp) :: zjul 71 72 !!---------------------------------------------------------------------- 72 73 ! 73 74 ! all calendar staff is based on the fact that MOD( rday, rdttra(1) ) == 0 74 75 IF( MOD( rday , rdttra(1) ) /= 0. ) CALL ctl_stop( 'the time step must devide the number of second of in a day' ) … … 127 128 ! call day to set the calendar parameters at the begining of the current simulaton. needed by iom_init 128 129 CALL day( nit000 ) 129 130 ! 130 131 END SUBROUTINE day_init 131 132 … … 204 205 REAL(wp) :: zprec ! fraction of day corresponding to 0.1 second 205 206 !!---------------------------------------------------------------------- 207 ! 208 IF( nn_timing == 1 ) CALL timing_start('day') 209 ! 206 210 zprec = 0.1 / rday 207 211 ! ! New time-step … … 255 259 IF( .NOT. lk_offline ) CALL rst_opn( kt ) ! Open the restart file if needed and control lrst_oce 256 260 IF( lrst_oce ) CALL day_rst( kt, 'WRITE' ) ! write day restart information 261 ! 262 IF( nn_timing == 1 ) CALL timing_stop('day') 257 263 ! 258 264 END SUBROUTINE day
Note: See TracChangeset
for help on using the changeset viewer.