source: trunk/LMDZ.TITAN/libf/phytitan/tracer_h.F90 @ 1652

Last change on this file since 1652 was 1648, checked in by jvatant, 9 years ago

Modifications to custom radiative transfer to Titan
+ Enables an altitude dependant gfrac for CIA computations

-> many radical changes in su_gases and co ..
-> read vertical CH4 profile with call_profilgases
-> Now you need a 'profile.def' that I will add in the deftank

+ Added interpolate CIA routines for CH4
+ Added temporary mean aerosol profile opacity routine (disr_haze)

File size: 2.2 KB
Line 
1
2       module tracer_h
3
4       implicit none
5
6! nqtot : total number of tracers
7       INTEGER, SAVE :: nqtot
8!$OMP THREADPRIVATE(nqtot)
9
10       character*20, DIMENSION(:), ALLOCATABLE :: noms   ! name of the tracer
11       real, DIMENSION(:), ALLOCATABLE :: mmol     ! mole mass of tracer (g/mol-1)
12       real, DIMENSION(:), ALLOCATABLE :: radius   ! dust and ice particle radius (m)
13       real, DIMENSION(:), ALLOCATABLE :: rho_q    ! tracer densities (kg.m-3)
14       real, DIMENSION(:), ALLOCATABLE :: qext     ! Single Scat. Extinction coeff at 0.67 um
15       real, DIMENSION(:), ALLOCATABLE :: alpha_lift  ! saltation vertical flux/horiz flux ratio (m-1)
16       real, DIMENSION(:), ALLOCATABLE :: alpha_devil ! lifting coeeficient by dust devil
17       real, DIMENSION(:), ALLOCATABLE :: qextrhor ! Intermediate for computing opt. depth from q
18
19      real varian      ! Characteristic variance of log-normal distribution
20      real r3n_q     ! used to compute r0 from number and mass mixing ratio
21      real ref_r0        ! for computing reff=ref_r0*r0 (in log.n. distribution)
22!$OMP THREADPRIVATE(noms,mmol,radius,rho_q,qext,alpha_lift,alpha_devil,qextrhor, &
23        !$OMP varian,r3n_q,ref_r0)
24
25! tracer indexes: these are initialized in initracer and should be 0 if the
26!                 corresponding tracer does not exist
27      ! dust
28      integer, DIMENSION(:), ALLOCATABLE :: igcm_dustbin ! for dustbin 'dust' tracers
29      ! dust, special doubleq case
30      integer :: igcm_dust_mass   ! dust mass mixing ratio (for transported dust)
31      integer :: igcm_dust_number ! dust number mixing ratio (transported dust)
32      ! chemistry:
33      integer :: igcm_co
34      integer :: igcm_o
35      integer :: igcm_o1d
36      integer :: igcm_o2
37      integer :: igcm_o3
38      integer :: igcm_h
39      integer :: igcm_h2
40      integer :: igcm_oh
41      integer :: igcm_ho2
42      integer :: igcm_h2o2
43      integer :: igcm_n2
44      integer :: igcm_ar
45      ! other tracers
46      integer :: igcm_ar_n2 ! for simulations using co2 +neutral gaz
47!$OMP THREADPRIVATE(igcm_dustbin,igcm_dust_mass,igcm_dust_number, &
48        !$OMP igcm_co,igcm_o,igcm_o1d,igcm_o2,igcm_o3,igcm_h,igcm_h2,igcm_oh,       &
49        !$OMP igcm_ho2,igcm_h2o2,igcm_n2,igcm_ar,igcm_ar_n2)
50
51       end module tracer_h
52
Note: See TracBrowser for help on using the repository browser.