Last change
on this file since 1524 was
1524,
checked in by emillour, 9 years ago
|
All GCMS:
More updates to enforce dynamics/physics separation:
get rid of references to "temps_mod" from physics packages;
make a "time_phylmdz_mod.F90" module to store that
information and fill it via "iniphysiq".
EM
|
File size:
816 bytes
|
Line | |
---|
1 | MODULE time_phylmdz_mod |
---|
2 | |
---|
3 | IMPLICIT NONE |
---|
4 | REAL,SAVE :: dtphys ! physics time step (s) |
---|
5 | !$OMP THREADPRIVATE(pdtphys) |
---|
6 | REAL,SAVE :: daysec ! length of day (s) |
---|
7 | !$OMP THREADPRIVATE(daysec) |
---|
8 | INTEGER,SAVE :: day_ini ! initial day of the run |
---|
9 | !$OMP THREADPRIVATE(day_ini) |
---|
10 | REAL,SAVE :: hour_ini ! start time (fraction of day) of the run |
---|
11 | ! 0=<hour_ini<1 |
---|
12 | !$OMP THREADPRIVATE(hour_ini) |
---|
13 | |
---|
14 | CONTAINS |
---|
15 | |
---|
16 | SUBROUTINE init_time(day_ini_, hour_ini_, daysec_, dtphys_) |
---|
17 | IMPLICIT NONE |
---|
18 | INTEGER,INTENT(IN) :: day_ini_ |
---|
19 | REAL,INTENT(IN) :: hour_ini_ |
---|
20 | REAL,INTENT(IN) :: daysec_ |
---|
21 | REAL,INTENT(IN) :: dtphys_ |
---|
22 | |
---|
23 | day_ini=day_ini_ |
---|
24 | hour_ini=hour_ini_ |
---|
25 | daysec=daysec_ |
---|
26 | dtphys=dtphys_ |
---|
27 | |
---|
28 | END SUBROUTINE init_time |
---|
29 | |
---|
30 | END MODULE time_phylmdz_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.