source: LMDZ5/trunk/libf/dyn3dmem/temps_mod.F90 @ 5456

Last change on this file since 5456 was 2601, checked in by Ehouarn Millour, 8 years ago

Cleanup in the dynamics: turn temps.h into module temps_mod.F90
EM

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 1.2 KB
RevLine 
[1632]1!
[2601]2! $Id: temps_mod.F90 -1   $
[1632]3!
[2601]4MODULE temps_mod
[1632]5
[2601]6IMPLICIT NONE 
[1632]7
[2601]8  INTEGER   itaufin ! total number of dynamical steps for the run
9  INTEGER   itau_dyn
10  INTEGER   itau_phy
11  INTEGER   day_ini ! initial day # of simulation sequence
12  INTEGER   day_end ! final day # ; i.e. day # when this simulation ends
13  INTEGER   annee_ref
14  INTEGER   day_ref
15  REAL      dt ! (dynamics) time step (changes if doing Matsuno or LF step)
16  REAL      jD_ref ! reference julian day date (beginning of experiment)
17  REAL      jH_ref ! reference julian "hour" of reference julian date
18  REAL      start_time
19  CHARACTER (len=10) :: calend ! calendar type
[1673]20
[2601]21  ! Additionnal Mars stuff:
22  REAL hour_ini ! initial fraction of day of simulation sequence (0=<hour_ini<1)
[1632]23
[2601]24!$OMP THREADPRIVATE(dt,jD_ref,jH_ref,start_time,hour_ini,                        &
25!$OMP                day_ini,day_end,annee_ref,day_ref,itau_dyn,itau_phy,itaufin,&
26!$OMP                calend)       
27
28!WARNING: when adding a threadprivate variable in this module
29!        do not forget to add it to the copyin clause when opening an OpenMP
30!        parallel section. e.g. in gcm before call leapfrog_loc and/or
31!        possibly in iniphysiq
32
33END MODULE temps_mod
Note: See TracBrowser for help on using the repository browser.