source: trunk/LMDZ.COMMON/libf/dyn3dpar/control_mod.F90 @ 1243

Last change on this file since 1243 was 1107, checked in by emillour, 11 years ago

Common dynamics: Updates and modifications to enable running Mars physics with

LMDZ.COMMON dynamics:

  • For compilation: adapted makelmdz, create_make_gcm and makelmdz_fcm, bld.cfg to compile aeronomy routines in "aerono$physique" if it exists, and added "-P -traditional" preprocessing flags in "arch-linux-ifort*"
  • Added function "cbrt.F" (cubic root) in 'bibio'
  • Adapted the reading/writing of dynamics (re)start.nc files for Mars. The main issue is that different information (on time, reference and current) is stored and used differently, hence a few if (planet_type =="mars") here and there. Moreover in the martian case there is the possibility to store fields over multiple times. Some Mars-specific variables (ecritphy,ecritstart,timestart) added in control_mod.F and (hour_ini) in temps.h

EM

File size: 2.2 KB
Line 
1!
2! $Id $
3!
4
5MODULE control_mod
6
7! LF 01/2010
8! Remplacement du fichier et common control
9
10  IMPLICIT NONE
11
12  real,save :: periodav
13  real,save :: starttime
14  integer,save :: nday
15  integer,save :: day_step ! # of dynamical time steps per day
16  integer,save :: iperiod ! make a Matsuno step before avery iperiod-1 LF steps
17  integer,save :: iapp_tracvl ! apply (cumulated) traceur advection every
18                              ! iapp_tracvl dynamical steps
19  integer,save :: nsplit_phys ! number of sub-cycle steps in call to physics
20  integer,save :: iconser
21  integer,save :: iecri
22  integer,save :: dissip_period ! apply dissipation every dissip_period
23                                ! dynamical step
24  integer,save :: iphysiq ! call physics every iphysiq dynamical steps
25  integer,save :: iecrimoy
26  integer,save :: dayref
27  integer,save :: anneeref ! reference year #
28  integer,save :: raz_date
29  integer,save :: ip_ebil_dyn
30  logical,save :: offline
31  character(len=4),save :: config_inca
32  character(len=10),save :: planet_type ! planet type ('earth','mars',...)
33  logical,save :: output_grads_dyn ! output dynamics diagnostics in
34                                   ! binary grads file 'dyn.dat' (y/n)
35  logical,save :: ok_dynzon  ! output zonal transports in dynzon.nc file
36  logical,save :: ok_dyn_ins ! output instantaneous values of fields
37                             ! in the dynamics in NetCDF files dyn_hist*nc
38  logical,save :: ok_dyn_ave ! output averaged values of fields in the dynamics
39                             ! in NetCDF files dyn_hist*ave.nc
40  logical,save :: resetvarc  ! allows to reset the variables in sortvarc
41  logical,save :: less1day   ! allows to run less than 1 day (for Venus)
42  real,save :: fractday   ! fraction of the day to run in this case
43 
44  integer,save :: ndynstep ! Alternative to using less1day&fractday; user may
45                           ! specify number of dynamical steps to run
46
47  integer,save :: ecritphy ! (Mars/generic) output (writediagfi) every
48                           ! ecritphy dynamical steps
49  integer,save :: ecritstart ! (Mars) output data in "start.nc" every
50                             !ecritstart dynamical steps
51  real,save :: timestart ! (Mars) time start for run in "start.nc"
52
53END MODULE
Note: See TracBrowser for help on using the repository browser.