source: trunk/LMDZ.TITAN/libf/phytitan/callkeys_mod.F90 @ 3667

Last change on this file since 3667 was 3657, checked in by emoisan, 9 months ago

Titan physics (under MESOSCALE precompiling flag):
Change initialization for microphysics model, to be consistent with
initialization for physics.
The parameters are now defined in callphys.def instead of datagcm.
The new callphys.def with all the parameters is in deftank
(callphys.def.allmuparams).
EMo

File size: 4.7 KB
Line 
1MODULE callkeys_mod
2IMPLICIT NONE 
3
4      logical,save :: callrad,corrk,calldifv,UseTurbDiff
5!$OMP THREADPRIVATE(callrad,corrk,calldifv,UseTurbDiff)
6      logical,save :: calladj,callsoil
7!$OMP THREADPRIVATE(calladj,callsoil)
8      logical,save :: season,diurnal,tlocked,rings_shadow,lwrite
9!$OMP THREADPRIVATE(season,diurnal,tlocked,rings_shadow,lwrite)
10      logical,save :: callstats,calleofdump
11!$OMP THREADPRIVATE(callstats,calleofdump)
12      logical,save :: callgasvis,continuum,graybody
13!$OMP THREADPRIVATE(callgasvis,continuum,graybody)
14      logical,save :: strictboundcorrk
15!$OMP THREADPRIVATE(strictboundcorrk)
16      logical,save :: corrk_recombin
17!$OMP THREADPRIVATE(corrk_recombin)
18      logical,save :: seashaze,uncoupl_optic_haze
19!$OMP THREADPRIVATE(seashaze,uncoupl_optic_haze)
20
21      logical,save :: callchim, callmufi, callclouds
22!$OMP THREADPRIVATE(callchim,callmufi,callclouds)
23      logical,save :: global1d
24!$OMP THREADPRIVATE(global1d)
25      logical,save :: enertest
26      logical,save :: nonideal
27      logical,save :: meanOLR
28      logical,save :: specOLR
29      logical,save :: diagdtau
30!$OMP THREADPRIVATE(enertest,nonideal,meanOLR,specOLR,diagdtau)
31      logical,save :: newtonian
32      logical,save :: check_cpp_match
33      logical,save :: force_cpp
34      logical,save :: testradtimes
35      logical,save :: rayleigh
36!$OMP THREADPRIVATE(newtonian,check_cpp_match,force_cpp,testradtimes,rayleigh)
37      logical,save :: stelbbody
38      logical,save :: ozone
39      logical,save :: tracer
40      logical,save :: mass_redistrib
41!$OMP THREADPRIVATE(stelbbody,ozone,tracer,mass_redistrib)
42      logical,save :: nosurf
43      logical,save :: oblate
44!$OMP THREADPRIVATE(nosurf,oblate)
45      logical,save :: eff_gz
46!$OMP THREADPRIVATE(eff_gz)
47
48      logical,save :: nudging_u
49!$OMP THREADPRIVATE(nudging_u)
50      real,save    :: nudging_dt
51!$OMP THREADPRIVATE(nudging_dt)
52
53      logical,save :: opt4clouds
54!$OMP THREADPRIVATE(opt4clouds)
55      real,save    :: Fcloudy
56      real,save    :: FCVIS
57      real,save    :: FCIR
58      real,save    :: FHVIS
59      real,save    :: FHIR
60!$OMP THREADPRIVATE(Fcloudy,FCVIS,FCIR,FHVIS,FHIR)
61     
62      logical,save :: resCH4_inf
63!$OMP THREADPRIVATE(resCH4_inf)
64       
65      integer,save :: ichim
66!$OMP THREADPRIVATE(ichim)
67      integer,save :: versH2H2cia
68      integer,save :: iddist
69      integer,save :: iradia
70      integer,save :: startype
71!$OMP THREADPRIVATE(versH2H2cia,iddist,iradia,startype)
72     
73      real,save :: p_prod, tx_prod, rc_prod
74      real,save :: air_rad
75!$OMP THREADPRIVATE(p_prod,tx_prod,rc_prod,air_rad)
76     
77      real,save :: szangle
78!$OMP THREADPRIVATE(szangle)
79
80      real,save :: tplanckmin
81      real,save :: tplanckmax
82      real,save :: dtplanck
83!$OMP THREADPRIVATE(tplanckmin,tplanckmax,dtplanck)
84      real,save :: Fat1AU
85      real,save :: stelTbb
86!$OMP THREADPRIVATE(Fat1AU,stelTbb)
87      real,save :: pceil
88!$OMP THREADPRIVATE(pceil)
89      real,save :: tau_relax
90      real,save :: intheat
91!$OMP THREADPRIVATE(tau_relax,intheat)
92      real,save :: flatten
93      real,save :: Rmean
94      real,save :: J2
95      real,save :: MassPlanet
96!$OMP THREADPRIVATE(flatten,Rmean,J2,MassPlanet)
97      real,save :: surfalbedo
98      real,save :: surfemis
99!$OMP THREADPRIVATE(surfalbedo,surfemis)
100      real,save :: noseason_day
101!$OMP THREADPRIVATE(noseason_day)
102      logical,save :: iscallphys=.false.!existence of callphys.def
103!$OMP THREADPRIVATE(iscallphys)
104
105      ! do we read a startphy.nc file (default=.true.)
106      logical,save :: startphy_file=.true.
107!$OMP THREADPRIVATE(startphy_file)
108
109! for mesoscale, the following variables are defined in callphys.def
110! before, it was in the microphysics config file in datagcm (EMoi)
111#ifdef MESOSCALE
112      real,save :: rm
113      real,save :: df
114      real,save :: rho_aer
115      real,save :: fiad_min
116      real,save :: fiad_max
117      real,save :: m0as_min
118      real,save :: rcs_min
119      real,save :: m0af_min
120      real,save :: rcf_min
121      real,save :: m0n_min
122!$OMP THREADPRIVATE(rm,df,rho_aer,fiad_min,fiad_max,m0as_min,rcs_min,m0af_min,rcf_min,m0n_min)
123      logical,save :: w_h_prod
124      logical,save :: w_h_coag
125      logical,save :: w_h_sed
126      logical,save :: no_fiadero
127      logical,save :: fwsed_m0
128      logical,save :: fwsed_m3
129      logical,save :: w_c_sed
130      logical,save :: w_c_nucond
131!$OMP THREADPRIVATE(w_h_prod,w_h_coag,w_h_sed,no_fiadero,fwsed_m0,fwsed_m3,w_c_sed,w_c_nucond,mmp_w_ps2s,mmp_w_qe)
132      integer,save :: coag_choice
133!$OMP THREADPRIVATE(coag_choice)
134      character(len=100),save :: spcpath
135      character(len=100),save :: pssfile
136      character(len=100),save :: mqfile
137!$OMP THREADPRIVATE(spcpath,pssfile,mqfile)
138      logical,save :: wdebug
139!$OMP THREADPRIVATE(wdebug)
140#endif
141
142END MODULE callkeys_mod
Note: See TracBrowser for help on using the repository browser.