source: trunk/LMDZ.MARS/libf/dyn3d/control_mod.F90 @ 1242

Last change on this file since 1242 was 1130, checked in by emillour, 11 years ago

Mars GCM:
Series of changes to enable running in parallel (using LMDZ.COMMON dynamics);
Current LMDZ.MARS can still notheless be compiled and run in serial mode
"as previously".
Summary of main changes:

  • Main programs (newstart, start2archive, xvik) that used to be in dyn3d have been moved to phymars.
  • dyn3d/control.h is now module control_mod.F90
  • rearanged input/outputs routines everywhere to handle serial/MPI cases. physdem.F => phyredem.F90 , phyetat0.F => phyetat0.F90 ; all read/write routines for startfi files are gathered in module iostart.F90
  • added parallelism related routines init_phys_lmdz.F90, comgeomphy.F90, dimphy.F90, iniphysiq.F90, mod_grid_phy_lmdz.F90, mod_phys_lmdz_mpi_data.F90, mod_phys_lmdz_mpi_transfert.F90, mod_phys_lmdz_omp_data.F90, mod_phys_lmdz_omp_transfert.F90, mod_phys_lmdz_para.F90, mod_phys_lmdz_transfert_para.F90 in phymars and mod_const_mpi.F90 in dyn3d (for compliance with parallel case)
  • created generic routines 'planetwide_maxval' and 'planetwide_minval', in module "planetwide_mod", that enable obtaining the min and max of a field over the whole planet.

EM

File size: 910 bytes
Line 
1
2module control_mod
3
4  implicit none
5
6  integer,save :: ndynstep ! # of dynamical time steps to run (if negative or not specified in run.def, nday_r is used instead)
7  integer,save :: day_step ! # of dynamical time steps per day
8  integer,save :: iperiod  ! make a Matsuno step before avery iperiod-1 LF steps
9  integer,save :: iconser !
10  integer,save :: idissip ! apply dissipation every idissip dynamical step
11  integer,save :: iphysiq ! call physics every iphysiq dynamical steps
12  integer,save :: anneeref ! reference year # ! not used
13  real,save :: periodav
14  real,save :: ecritphy ! output data in "diagfi.nc" every ecritphy dynamical steps
15  integer,save :: ecritstart ! output data in "start.nc" every ecritstart dynamical steps
16  real,save :: timestart ! time start for run in "start.nc"
17  real,save :: nday_r ! number of days to run (possibly including a fraction of day)
18
19end module control_mod
Note: See TracBrowser for help on using the repository browser.