source: trunk/LMDZ.COMMON/libf/dyn3dpar/temps_mod.F90 @ 1615

Last change on this file since 1615 was 1422, checked in by milmd, 10 years ago

In GENERIC, MARS and COMMON models replace some include files by modules (usefull for decoupling physics with dynamics).

File size: 1.0 KB
Line 
1MODULE temps_mod
2
3IMPLICIT NONE 
4
5! jD_ref = jour julien de la date de reference (lancement de l'experience)
6! hD_ref = "heure" julienne de la date de reference
7
8      INTEGER   itaufin ! total number of dynamical steps for the run
9      INTEGER   itau_dyn, itau_phy
10      INTEGER   day_ini ! initial day # of simulation sequence
11      INTEGER   day_end ! final day # ; i.e. day # when this simulation ends
12      INTEGER   annee_ref
13      INTEGER   day_ref
14      REAL      dt ! (dynamics) time step (changes if doing Matsuno or LF step)
15      REAL      jD_ref, jH_ref, start_time
16      CHARACTER (len=10) :: calend
17
18      ! Additionnal Mars stuff:
19      real hour_ini ! initial fraction of day of simulation sequence (0=<hour_ini<1)
20
21!$OMP THREADPRIVATE(dt,jD_ref,jH_ref,start_time,hour_ini,                       &
22  !$OMP         day_ini,day_end,annee_ref,day_ref,itau_dyn,itau_phy,itaufin,    &
23  !$OMP         calend)
24
25!BE CAREFUL: when adding a threadprivate variable in this module
26!       do not forget to add it to copyin clause of gcm.F (before CALL leapfrog_p)
27
28END MODULE temps_mod
Note: See TracBrowser for help on using the repository browser.