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 1130 for trunk/NEMO/OPA_SRC/istate.F90 – NEMO

Ignore:
Timestamp:
2008-06-24T17:00:56+02:00 (16 years ago)
Author:
smasson
Message:

daymod bugfix and enhancement, see ticket #216

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/istate.F90

    r900 r1130  
    8181         neuler = 1                              ! Set time-step indicator at nit000 (leap-frog) 
    8282         CALL rst_read                           ! Read the restart file 
    83          CALL day( -1 )                          ! model calendar (using both namelist and restart infos) 
     83         CALL day_init                           ! model calendar (using both namelist and restart infos) 
    8484      ELSE 
    8585         !                                    ! Start from rest 
    8686         !                                    ! --------------- 
     87         numror = 0                              ! define numror = 0 -> no restart file to read 
    8788         neuler = 0                              ! Set time-step indicator at nit000 (euler forward) 
    88          adatrj = 0._wp 
    89          CALL day( -1 )                          ! model calendar (using namelist infos) 
    90          numror = 0                              ! define numror = 0 -> no restart file to read 
     89         CALL day_init                           ! model calendar (using both namelist and restart infos) 
    9190         !                                       ! Initialization of ocean to zero 
    9291         !     before fields       !       now fields           
Note: See TracChangeset for help on using the changeset viewer.