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 1716 for trunk – NEMO

Changeset 1716 for trunk


Ignore:
Timestamp:
2009-11-05T17:00:25+01:00 (14 years ago)
Author:
cetlod
Message:

move daymod public variables in dom_oce for OFFLINE configuration, see ticket:590

Location:
trunk/NEMO/OFF_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OFF_SRC/DOM/dom_oce.F90

    r1528 r1716  
    190190      n_cla                    !: flag (0/1) for cross land advection to 
    191191      !                        ! parameterize exchanges through straits 
     192   !!---------------------------------------------------------------------- 
     193   !! calendar variables 
     194   !! --------------------------------------------------------------------- 
     195   INTEGER , PUBLIC ::   nyear       !: current year 
     196   INTEGER , PUBLIC ::   nmonth      !: current month 
     197   INTEGER , PUBLIC ::   nday        !: current day of the month 
     198   INTEGER , PUBLIC ::   ndastp      !: time step date in yyyymmdd format 
     199   INTEGER , PUBLIC ::   nday_year   !: current day counted from jan 1st of the current year 
     200   REAL(wp), PUBLIC ::   rsec_year   !: current time step counted in second since 00h jan 1st of the current year 
     201   REAL(wp), PUBLIC ::   rsec_month  !: current time step counted in second since 00h 1st day of the current month 
     202   REAL(wp), PUBLIC ::   rsec_day    !: current time step counted in second since 00h of the current day 
     203   REAL(wp), PUBLIC ::   fjulday     !: julian day  
     204   REAL(wp), PUBLIC ::   adatrj      !: number of elapsed days since the begining of the whole simulation 
     205   !                                 !: (cumulative duration of previous runs that may have used different time-step size) 
     206   INTEGER , PUBLIC, DIMENSION(0: 1) ::   nyear_len    !: length in days of the previous/current year 
     207   INTEGER , PUBLIC, DIMENSION(0:13) ::   nmonth_len   !: length in days of the months of the current year 
     208   REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_half  !: second since Jan 1st 0h of the current year and the half of the months 
     209   REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_end   !: second since Jan 1st 0h of the current year and the end of the months 
     210   REAL(wp), PUBLIC                  ::   sec1jan000   !: second since Jan 1st 0h of nit000 year and Jan 1st 0h the current year 
     211 
    192212 
    193213#if defined key_off_degrad 
  • trunk/NEMO/OFF_SRC/daymod.F90

    r1713 r1716  
    3737   PUBLIC day        ! called by step.F90 
    3838   PUBLIC day_init   ! called by istate.F90 
    39  
    40    INTEGER , PUBLIC ::   nyear       !: current year 
    41    INTEGER , PUBLIC ::   nmonth      !: current month 
    42    INTEGER , PUBLIC ::   nday        !: current day of the month 
    43    INTEGER , PUBLIC ::   ndastp      !: time step date in yyyymmdd format 
    44    INTEGER , PUBLIC ::   nday_year   !: current day counted from jan 1st of the current year 
    45    REAL(wp), PUBLIC ::   rsec_year   !: current time step counted in second since 00h jan 1st of the current year 
    46    REAL(wp), PUBLIC ::   rsec_month  !: current time step counted in second since 00h 1st day of the current month 
    47    REAL(wp), PUBLIC ::   rsec_day    !: current time step counted in second since 00h of the current day 
    48  
    49    REAL(wp), PUBLIC ::   fjulday     !: julian day 
    50    REAL(wp), PUBLIC ::   adatrj      !: number of elapsed days since the begining of the run 
    51    !                                 !: it is the accumulated duration of previous runs 
    52    !                                 !: that may have been run with different time steps. 
    53    INTEGER , PUBLIC, DIMENSION(0:1)  ::   nyear_len    !: length in days of the previous/current year 
    54    INTEGER , PUBLIC, DIMENSION(0:13) ::   nmonth_len   !: length in days of the months of the current year 
    55    REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_half  !: second since the beginning of the year and the halft of the months 
    56    REAL(wp), PUBLIC, DIMENSION(0:13) ::   rmonth_end   !: second since the beginning of the year and the end of the months 
    57    REAL(wp), PUBLIC                  ::   sec1jan000   !: second since Jan. 1st 00h of nit000 year and Jan. 1st 00h of the current year 
    5839 
    5940   !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.