source: trunk/LMDZ.GENERIC/libf/phystd/time_phylmdz_mod.F90 @ 2613

Last change on this file since 2613 was 1525, checked in by emillour, 9 years ago

All GCMs:
More on enforcing dynamics/physics separation: get rid of references to "control_mod" from physics packages.
EM

File size: 1.2 KB
RevLine 
[1524]1MODULE time_phylmdz_mod
2
3    IMPLICIT NONE
4    REAL,SAVE    :: dtphys     ! physics time step (s)
5!$OMP THREADPRIVATE(dtphys)
[1525]6    INTEGER,SAVE :: day_step    ! number of dynamical steps per day
7                                ! (set via inifis)
8!$OMP THREADPRIVATE(day_step)
9    INTEGER,SAVE :: nday       ! number of days to run
10!$OMP THREADPRIVATE(nday)
[1524]11    REAL,SAVE    :: daysec     ! length of day (s)
12!$OMP THREADPRIVATE(daysec)
13    INTEGER,SAVE :: day_ini     ! initial day of the run
14!$OMP THREADPRIVATE(day_ini)
15
[1525]16    INTEGER,SAVE :: ecritphy  ! for diagfi.nc outputs, write every ecritphy
17                              ! dynamical steps (set via inifis)
18!$OMP THREADPRIVATE(ecritphy)
19    INTEGER,SAVE :: iphysiq   ! call physics every iphysiq dynamical step
20                              ! (set via inifis)
21!$OMP THREADPRIVATE(iphysiq)
22
[1524]23CONTAINS
24
[1525]25  SUBROUTINE init_time(day_ini_, daysec_, nday_, dtphys_)
[1524]26    IMPLICIT NONE
27    INTEGER,INTENT(IN) :: day_ini_
28    REAL,INTENT(IN) :: daysec_
[1525]29    INTEGER,INTENT(IN) :: nday_
[1524]30    REAL,INTENT(IN) :: dtphys_
31   
32    day_ini=day_ini_
33    daysec=daysec_
[1525]34    nday=nday_
[1524]35    dtphys=dtphys_
36
37  END SUBROUTINE init_time
38
39END MODULE time_phylmdz_mod     
Note: See TracBrowser for help on using the repository browser.