1 | MODULE time_phylmdz_mod |
---|
2 | |
---|
3 | IMPLICIT NONE |
---|
4 | REAL,SAVE :: pdtphys ! physics time step (s) |
---|
5 | !$OMP THREADPRIVATE(pdtphys) |
---|
6 | INTEGER,SAVE :: annee_ref ! reference year from the origin |
---|
7 | !$OMP THREADPRIVATE(annee_ref) |
---|
8 | INTEGER,SAVE :: day_ref ! reference day of the origin |
---|
9 | !$OMP THREADPRIVATE(day_ref) |
---|
10 | INTEGER,SAVE :: day_ini ! initial day of the run since first day of annee_ref |
---|
11 | !$OMP THREADPRIVATE(day_ini) |
---|
12 | INTEGER,SAVE :: day_end ! final day of the run since first day of annee_ref |
---|
13 | !$OMP THREADPRIVATE(day_end) |
---|
14 | INTEGER,SAVE :: itau_phy ! number of physics iterations |
---|
15 | !$OMP THREADPRIVATE(itau_phy) |
---|
16 | |
---|
17 | CONTAINS |
---|
18 | |
---|
19 | SUBROUTINE init_time(annee_ref_, day_ref_, day_ini_, day_end_, pdtphys_) |
---|
20 | IMPLICIT NONE |
---|
21 | INTEGER,INTENT(IN) :: annee_ref_ |
---|
22 | INTEGER,INTENT(IN) :: day_ref_ |
---|
23 | INTEGER,INTENT(IN) :: day_ini_ |
---|
24 | INTEGER,INTENT(IN) :: day_end_ |
---|
25 | REAL,INTENT(IN) :: pdtphys_ |
---|
26 | |
---|
27 | annee_ref=annee_ref_ |
---|
28 | day_ref=day_ref_ |
---|
29 | day_ini=day_ini_ |
---|
30 | day_end=day_end_ |
---|
31 | pdtphys=pdtphys_ |
---|
32 | |
---|
33 | END SUBROUTINE init_time |
---|
34 | |
---|
35 | END MODULE time_phylmdz_mod |
---|