source: trunk/LMDZ.GENERIC/libf/phystd/tracer_h.F90 @ 2176

Last change on this file since 2176 was 1980, checked in by emillour, 6 years ago

Generic physics:
Follow-up of change in maximum length of tracer names in the dynamics
EM

File size: 3.7 KB
Line 
1
2       module tracer_h
3
4       implicit none
5
6       integer, save :: nqtot ! total number of tracers
7!$OMP THREADPRIVATE(nqtot)
8
9       character*30, save, allocatable :: noms(:)   ! name of the tracer
10       real, save, allocatable :: mmol(:)     ! mole mass of tracer (g/mol-1)
11       real, save, allocatable :: radius(:)   ! dust and ice particle radius (m)
12       real, save, allocatable :: rho_q(:)    ! tracer densities (kg.m-3)
13       real, save, allocatable :: qext(:)     ! Single Scat. Extinction coeff at 0.67 um
14       real, save, allocatable :: alpha_lift(:)  ! saltation vertical flux/horiz flux ratio (m-1)
15       real, save, allocatable :: alpha_devil(:) ! lifting coeeficient by dust devil
16       real, save, allocatable :: qextrhor(:) ! Intermediate for computing opt. depth from q
17
18       real,save :: varian      ! Characteristic variance of log-normal distribution
19       real,save :: r3n_q     ! used to compute r0 from number and mass mixing ratio
20       real,save :: rho_dust     ! Mars dust density (kg.m-3)
21       real,save :: rho_ice     ! Water ice density (kg.m-3)
22       real,save :: rho_co2     ! CO2 ice density (kg.m-3)
23       real,save :: ref_r0        ! for computing reff=ref_r0*r0 (in log.n. distribution)
24!$OMP THREADPRIVATE(noms,mmol,radius,rho_q,qext,alpha_lift,alpha_devil,qextrhor, &
25        !$OMP varian,r3n_q,rho_dust,rho_ice,rho_co2,ref_r0)
26
27! tracer indexes: these are initialized in initracer and should be 0 if the
28!                 corresponding tracer does not exist
29       ! dust
30       integer,save,allocatable :: igcm_dustbin(:) ! for dustbin 'dust' tracers
31       ! dust, special doubleq case
32       integer,save :: igcm_dust_mass   ! dust mass mixing ratio (for transported dust)
33       integer,save :: igcm_dust_number ! dust number mixing ratio (transported dust)
34       ! water
35       integer,save :: igcm_h2o_vap ! water vapour
36       integer,save :: igcm_h2o_ice ! water ice
37       ! chemistry:
38       integer,save :: igcm_co2
39       integer,save :: igcm_co
40       integer,save :: igcm_o
41       integer,save :: igcm_o1d
42       integer,save :: igcm_o2
43       integer,save :: igcm_o3
44       integer,save :: igcm_h
45       integer,save :: igcm_h2
46       integer,save :: igcm_oh
47       integer,save :: igcm_ho2
48       integer,save :: igcm_h2o2
49       integer,save :: igcm_n2
50       integer,save :: igcm_ar
51       integer,save :: igcm_n
52       integer,save :: igcm_no
53       integer,save :: igcm_no2
54       integer,save :: igcm_n2d
55       integer,save :: igcm_ch4
56
57       integer,save :: igcm_ch3
58       integer,save :: igcm_ch
59       integer,save :: igcm_3ch2
60       integer,save :: igcm_1ch2
61       integer,save :: igcm_cho
62       integer,save :: igcm_ch2o
63       integer,save :: igcm_ch3o
64       integer,save :: igcm_c
65       integer,save :: igcm_c2
66       integer,save :: igcm_c2h
67       integer,save :: igcm_c2h2
68       integer,save :: igcm_c2h3
69       integer,save :: igcm_c2h4
70       integer,save :: igcm_c2h6
71       integer,save :: igcm_ch2co
72       integer,save :: igcm_ch3co
73       integer,save :: igcm_hcaer
74
75
76
77       ! other tracers
78       integer,save :: igcm_ar_n2 ! for simulations using co2 +neutral gaz
79       integer,save :: igcm_co2_ice ! CO2 ice
80!$OMP THREADPRIVATE(igcm_dustbin,igcm_dust_mass,igcm_dust_number,igcm_h2o_vap,igcm_h2o_ice, &
81        !$OMP igcm_co2,igcm_co,igcm_o,igcm_o1d,igcm_o2,igcm_o3,igcm_h,igcm_h2,igcm_oh,      &
82        !$OMP igcm_ho2,igcm_h2o2,igcm_n2,igcm_ar,igcm_ar_n2,igcm_co2_ice,                   &
83        !$OMP igcm_n,igcm_no,igcm_no2,igcm_n2d,igcm_ch4,igcm_ch3,igcm_ch,igcm_3ch2,         &
84        !$OMP igcm_1ch2,igcm_cho,igcm_ch2o,igcm_ch3o,igcm_c,igcm_c2,igcm_c2h,igcm_c2h2,     &
85        !$OMP igcm_c2h3,igcm_c2h4,igcm_c2h6,igcm_ch2co,igcm_ch3co,igcm_hcaer)
86
87       end module tracer_h
88
Note: See TracBrowser for help on using the repository browser.