New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3294 for trunk/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90 – NEMO

Ignore:
Timestamp:
2012-01-28T17:44:18+01:00 (12 years ago)
Author:
rblod
Message:

Merge of 3.4beta into the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90

    r2715 r3294  
    3434   USE restart         !  
    3535   USE trc_oce, ONLY : lk_offline ! offline flag 
     36   USE timing          ! Timing 
    3637 
    3738   IMPLICIT NONE 
     
    7071      REAL(wp) ::   zjul 
    7172      !!---------------------------------------------------------------------- 
    72  
     73      ! 
    7374      ! all calendar staff is based on the fact that MOD( rday, rdttra(1) ) == 0 
    7475      IF( MOD( rday     , rdttra(1) ) /= 0. )   CALL ctl_stop( 'the time step must devide the number of second of in a day' ) 
     
    127128      ! call day to set the calendar parameters at the begining of the current simulaton. needed by iom_init 
    128129      CALL day( nit000 ) 
    129  
     130      ! 
    130131   END SUBROUTINE day_init 
    131132 
     
    204205      REAL(wp)           ::   zprec      ! fraction of day corresponding to 0.1 second 
    205206      !!---------------------------------------------------------------------- 
     207      ! 
     208      IF( nn_timing == 1 )  CALL timing_start('day') 
     209      ! 
    206210      zprec = 0.1 / rday 
    207211      !                                                 ! New time-step 
     
    255259      IF( .NOT. lk_offline ) CALL rst_opn( kt )               ! Open the restart file if needed and control lrst_oce 
    256260      IF( lrst_oce         ) CALL day_rst( kt, 'WRITE' )      ! write day restart information 
     261      ! 
     262      IF( nn_timing == 1 )  CALL timing_stop('day') 
    257263      ! 
    258264   END SUBROUTINE day 
Note: See TracChangeset for help on using the changeset viewer.