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

Ignore:
Timestamp:
2009-07-29T16:03:14+02:00 (15 years ago)
Author:
ctlod
Message:

only cosmetic changes

File:
1 edited

Legend:

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

    r1359 r1559  
    44   !! Ocean        :  calendar  
    55   !!===================================================================== 
    6    !! History :        !  94-09  (M. Pontaud M. Imbard)  Original code 
    7    !!                  !  97-03  (O. Marti) 
    8    !!                  !  97-05  (G. Madec)  
    9    !!                  !  97-08  (M. Imbard) 
    10    !!             9.0  !  03-09  (G. Madec)  F90 + nyear, nmonth, nday 
    11    !!                  !  04-01  (A.M. Treguier) new calculation based on adatrj 
    12    !!                  !  06-08  (G. Madec)  surface module major update 
     6   !! History :  OPA  ! 1994-09  (M. Pontaud M. Imbard)  Original code 
     7   !!                 ! 1997-03  (O. Marti) 
     8   !!                 ! 1997-05  (G. Madec)  
     9   !!                 ! 1997-08  (M. Imbard) 
     10   !!   NEMO     1.0  ! 2003-09  (G. Madec)  F90 + nyear, nmonth, nday 
     11   !!                 ! 2004-01  (A.M. Treguier) new calculation based on adatrj 
     12   !!                 ! 2006-08  (G. Madec)  surface module major update 
    1313   !!----------------------------------------------------------------------       
    1414 
     
    3030   USE in_out_manager  ! I/O manager 
    3131   USE iom             !  
    32    USE ioipsl, ONLY :   ymds2ju        ! for calendar 
     32   USE ioipsl, ONLY :   ymds2ju   ! for calendar 
    3333   USE prtctl          ! Print control 
    3434   USE restart         !  
     
    3737   PRIVATE 
    3838 
    39    PUBLIC day        ! called by step.F90 
    40    PUBLIC day_init   ! called by istate.F90 
     39   PUBLIC   day        ! called by step.F90 
     40   PUBLIC   day_init   ! called by istate.F90 
    4141 
    4242   INTEGER , PUBLIC ::   nyear       !: current year 
     
    5050 
    5151   REAL(wp), PUBLIC ::   fjulday     !: julian day  
    52    REAL(wp), PUBLIC ::   adatrj      !: number of elapsed days since the begining of the run 
    53    !                                 !: it is the accumulated duration of previous runs 
    54    !                                 !: that may have been run with different time steps. 
    55    INTEGER , PUBLIC, DIMENSION(0:1)  ::   nyear_len    !: length in days of the previous/current year 
     52   REAL(wp), PUBLIC ::   adatrj      !: number of elapsed days since the begining of the whole simulation 
     53   !                                 !: (cumulative duration of previous runs that may have used different time-step size) 
     54   INTEGER , PUBLIC, DIMENSION(0: 1) ::   nyear_len    !: length in days of the previous/current year 
    5655   INTEGER , PUBLIC, DIMENSION(0:13) ::   nmonth_len   !: length in days of the months of the current year 
    57    REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_half  !: second since the beginning of the year and the halft of the months 
    58    REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_end   !: second since the beginning of the year and the end of the months 
    59    REAL(wp), PUBLIC                  ::   sec1jan000   !: second since Jan. 1st 00h of nit000 year and Jan. 1st 00h of the current year 
     56   REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_half  !: second since Jan 1st 0h of the current year and the half of the months 
     57   REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_end   !: second since Jan 1st 0h of the current year and the end of the months 
     58   REAL(wp), PUBLIC                  ::   sec1jan000   !: second since Jan 1st 0h of nit000 year and Jan 1st 0h the current year 
    6059 
    6160   ! this two variables are wrong DO NOT USE THEM !!! 
     
    6564      &                                           31, 31, 30, 31, 30, 31 /)     !: (365 days a year) 
    6665 
    67  
    6866   !!---------------------------------------------------------------------- 
    69    !!  OPA 9.0 , LOCEAN-IPSL (2006)  
     67   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
    7068   !! $Id$ 
    7169   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     
    183181         rmonth_end(jm) = rmonth_end(jm-1) + rday * REAL( nmonth_len(jm), wp ) 
    184182      END DO 
    185                   
     183      !            
    186184   END SUBROUTINE  
    187185 
Note: See TracChangeset for help on using the changeset viewer.