Last change
on this file since 799 was
791,
checked in by emillour, 12 years ago
|
Mars GCM:
Adapted code so that it can run fractions of days: e.g. if "nday=1.5" in
run.def, then run a sol and a half, "nday=0.75" to run three quarters of
a sol... Of course the fraction should correspond to a number of complete
dynamics/physics cycles. The fraction of the sol that a (re)start.nc
file corresponds to is (read)written as 'Time' in the file.
EM
|
File size:
1.0 KB
|
Line | |
---|
1 | !----------------------------------------------------------------------- |
---|
2 | ! INCLUDE 'control.h' |
---|
3 | ! For Fortran 77/Fortran 90 compliance always use line continuation |
---|
4 | ! symbols '&' in columns 73 and 6 |
---|
5 | ! |
---|
6 | |
---|
7 | COMMON/control_i/day_step, & |
---|
8 | & iperiod,iconser,idissip,iphysiq , & |
---|
9 | & anneeref |
---|
10 | COMMON/control_r/periodav,ecritphy,nday_r |
---|
11 | |
---|
12 | INTEGER day_step ! # of dynamical time steps per day |
---|
13 | INTEGER iperiod ! make a Matsuno step before avery iperiod-1 LF steps |
---|
14 | INTEGER iconser ! |
---|
15 | INTEGER idissip ! apply dissipation every idissip dynamical step |
---|
16 | INTEGER iphysiq ! call physics every iphysiq dynamical steps |
---|
17 | INTEGER anneeref ! reference year # ! not used |
---|
18 | REAL periodav |
---|
19 | REAL ecritphy ! output data in "diagfi.nc" every ecritphy dynamical steps |
---|
20 | real nday_r ! number of days to run (possibly including a fraction of day) |
---|
21 | |
---|
22 | !----------------------------------------------------------------------- |
---|
Note: See
TracBrowser
for help on using the repository browser.