source: trunk/LMDZ.PLUTO/libf/phypluto/callkeys_mod.F90 @ 3572

Last change on this file since 3572 was 3572, checked in by debatzbr, 2 weeks ago

Remove generic_aerosols and generic_condensation, along with their related variables (useless). RENAME THE VARIABLE AEROHAZE TO OPTICHAZE.

File size: 8.9 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,calltherm,n2cond,callsoil
7!$OMP THREADPRIVATE(calladj,calltherm,n2cond,callsoil)
8      logical,save :: callconduct,callmolvis,callmoldiff
9!$OMP THREADPRIVATE(callconduct,callmolvis,callmoldiff)
10      logical,save :: season,diurnal,lwrite
11!$OMP THREADPRIVATE(season,diurnal,lwrite)
12      logical,save :: callgasvis,continuum,graybody
13!$OMP THREADPRIVATE(callgasvis,continuum,graybody)
14      logical,save :: strictboundcorrk
15!$OMP THREADPRIVATE(strictboundcorrk)
16      logical,save :: strictboundcia
17!$OMP THREADPRIVATE(strictboundcia)
18
19      logical,save :: enertest
20      logical,save :: nonideal
21      logical,save :: meanOLR
22      logical,save :: specOLR
23      logical,save :: kastprof
24      logical,save :: diagdtau
25!$OMP THREADPRIVATE(enertest,nonideal,meanOLR,kastprof,diagdtau)
26      logical,save :: newtonian
27      logical,save :: force_cpp
28      integer,save :: cpp_mugaz_mode
29      logical,save :: testradtimes
30      logical,save :: rayleigh
31!$OMP THREADPRIVATE(newtonian,force_cpp,cpp_mugaz_mode,testradtimes,rayleigh)
32      logical,save :: stelbbody
33      logical,save :: tracer
34      logical,save :: mass_redistrib
35!$OMP THREADPRIVATE(stelbbody,tracer,mass_redistrib)
36      logical,save :: varactive
37      logical,save :: varfixed
38      logical,save :: sedimentation
39!$OMP THREADPRIVATE(varactive,varfixed,sedimentation)
40
41      logical,save :: nosurf
42!$OMP THREADPRIVATE(nosurf)
43      logical,save :: albedo_spectral_mode
44!$OMP THREADPRIVATE(albedo_spectral_mode)
45      logical,save :: photoheat
46      logical,save :: jonline
47      logical,save :: depos
48!$OMP THREADPRIVATE(photoheat,jonline,depos)
49
50!! Pluto-specific variables
51      logical,save :: methane,carbox
52      !$OMP THREADPRIVATE(methane,carbox)
53      logical,save :: haze,haze_proffix,haze_radproffix
54!$OMP THREADPRIVATE(haze,haze_proffix,haze_radproffix)
55      logical,save :: fasthaze,changeti,changetid,optichaze,fractal
56!$OMP THREADPRIVATE(fasthaze,changeti,changetid,optichaze,fractal)
57      logical,save :: fast,metcloud,monoxcloud,glaflow,triton,paleo
58!$OMP THREADPRIVATE(fast,metcloud,monoxcloud,glaflow,triton,paleo)
59      logical,save :: nlte,strobel
60!$OMP THREADPRIVATE(nlte,strobel)
61      logical,save :: kbo
62!$OMP THREADPRIVATE(kbo)
63      logical,save :: cooling
64!$OMP THREADPRIVATE(cooling)
65      logical,save :: source_haze,hazeconservch4
66!$OMP THREADPRIVATE(source_haze,hazeconservch4)
67      logical,save :: ch4lag,tsurfmax
68!$OMP THREADPRIVATE(ch4lag,tsurfmax)
69      logical,save :: specalb
70!$OMP THREADPRIVATE(specalb)
71      logical,save :: assymflux
72!$OMP THREADPRIVATE(assymflux)
73      logical,save :: condmetsurf,condcosurf,vertdiff
74!$OMP THREADPRIVATE(condmetsurf,condcosurf,vertdiff)
75      logical,save :: convergeps,conservn2,condensn2,no_n2frost
76!$OMP THREADPRIVATE(convergeps,conservn2,condensn2,no_n2frost)
77      logical,save :: conservch4
78!$OMP THREADPRIVATE(conservch4)
79      logical,save :: kmix_proffix
80!$OMP THREADPRIVATE(kmix_proffix)
81      logical,save :: ch4fix,vmrch4_proffix
82!$OMP THREADPRIVATE(ch4fix,vmrch4_proffix)
83      integer,save :: nbsub
84!$OMP THREADPRIVATE(nbsub)
85      integer,save :: mode_n2
86!$OMP THREADPRIVATE(mode_n2)
87      integer,save :: mode_ch4
88!$OMP THREADPRIVATE(mode_ch4)
89      integer,save :: mode_tholins
90!$OMP THREADPRIVATE(mode_tholins)
91      integer,save :: kfix
92!$OMP THREADPRIVATE(kfix)
93      integer,save :: mode_hs
94!$OMP THREADPRIVATE(mode_hs)
95      integer,save :: feedback_met
96!$OMP THREADPRIVATE(feedback_met)
97      integer,save :: patchflux
98!$OMP THREADPRIVATE(patchflux)
99      integer,save :: nb_monomer
100!$OMP THREADPRIVATE(nb_monomer)
101      real,save    :: Nmix_co
102!$OMP THREADPRIVATE(Nmix_co)
103      real,save    :: Nmix_ch4
104!$OMP THREADPRIVATE(Nmix_ch4)
105      real,save    :: tau_n2
106!$OMP THREADPRIVATE(tau_n2)
107      real,save    :: tau_ch4
108!$OMP THREADPRIVATE(tau_ch4)
109      real,save    :: tau_co
110!$OMP THREADPRIVATE(tau_co)
111      real,save    :: tau_prechaze
112!$OMP THREADPRIVATE(tau_prechaze)
113      real,save    :: paleoyears
114!$OMP THREADPRIVATE(paleoyears)
115      real,save    :: dayfrac
116!$OMP THREADPRIVATE(dayfrac)
117      real,save    :: thresh_non2
118!$OMP THREADPRIVATE(thresh_non2)
119      real,save    :: vmrch4fix
120!$OMP THREADPRIVATE(vmrch4fix)
121      real,save    :: fluxgeo
122!$OMP THREADPRIVATE(fluxgeo)
123      real,save    :: fluxgeo2
124!$OMP THREADPRIVATE(fluxgeo2)
125      real,save    :: deltab
126!$OMP THREADPRIVATE(deltab)
127      real,save    :: metlateq
128!$OMP THREADPRIVATE(metlateq)
129      real,save    :: metls1
130!$OMP THREADPRIVATE(metls1)
131      real,save    :: metls2
132!$OMP THREADPRIVATE(metls2)
133      real,save    :: tholateq
134!$OMP THREADPRIVATE(tholateq)
135      real,save    :: tholatn
136!$OMP THREADPRIVATE(tholatn)
137      real,save    :: tholats
138!$OMP THREADPRIVATE(tholats)
139      real,save    :: tholone
140!$OMP THREADPRIVATE(tholone)
141      real,save    :: tholonw
142!$OMP THREADPRIVATE(tholonw)
143      real,save    :: spelon1
144!$OMP THREADPRIVATE(spelon1)
145      real,save    :: spelat2
146!$OMP THREADPRIVATE(spelat2)
147      real,save    :: spelat1
148!$OMP THREADPRIVATE(spelat1)
149      real,save    :: spelon2
150!$OMP THREADPRIVATE(spelon2)
151      real,save    :: latlag
152!$OMP THREADPRIVATE(latlag)
153      real,save    :: vmrlag
154!$OMP THREADPRIVATE(vmrlag)
155      real,save    :: albmin_ch4
156!$OMP THREADPRIVATE(albmin_ch4)
157      real,save    :: fracsource
158!$OMP THREADPRIVATE(fracsource)
159      real,save    :: latsource
160!$OMP THREADPRIVATE(latsource)
161      real,save    :: lonsource
162!$OMP THREADPRIVATE(lonsource)
163      real,save    :: thres_ch4ice
164!$OMP THREADPRIVATE(thres_ch4ice)
165      real,save    :: thres_n2ice
166!$OMP THREADPRIVATE(thres_n2ice)
167      real,save    :: thres_coice
168!$OMP THREADPRIVATE(thres_coice)
169      real,save    :: fdch4_latn
170!$OMP THREADPRIVATE(fdch4_latn)
171      real,save    :: fdch4_lats
172!$OMP THREADPRIVATE(fdch4_lats)
173      real,save    :: fdch4_lone
174!$OMP THREADPRIVATE(fdch4_lone)
175      real,save    :: fdch4_lonw
176!$OMP THREADPRIVATE(fdch4_lonw)
177      real,save    :: fdch4_maxice
178!$OMP THREADPRIVATE(fdch4_maxice)
179      real,save    :: fdch4_maxalb
180!$OMP THREADPRIVATE(fdch4_maxalb)
181      real,save    :: fdch4_ampl
182!$OMP THREADPRIVATE(fdch4_ampl)
183      real,save    :: fdch4_depalb
184!$OMP THREADPRIVATE(fdch4_depalb)
185      real,save    :: fdch4_finalb
186!$OMP THREADPRIVATE(fdch4_finalb)
187      real,save    :: rad_haze
188!$OMP THREADPRIVATE(rad_haze)
189      logical,save :: oldplutovdifc
190!$OMP THREADPRIVATE(oldplutovdifc)
191      logical,save :: oldplutocorrk
192!$OMP THREADPRIVATE(oldplutocorrk)
193      logical,save :: oldplutosedim
194!$OMP THREADPRIVATE(oldplutosedim)
195      logical,save :: global1d
196      real,save    :: szangle
197!$OMP THREADPRIVATE(global1d,szangle)
198      real,save    :: alpha_top ! cooling constant at top of atmosphere
199      real,save    :: pref      ! pressure at mid transition fo alpha_top (Pa)
200      real,save    :: deltap    ! width of transition to alpha_top (Pa)
201!$OMP THREADPRIVATE(alpha_top,pref,deltap)
202     
203!! Microphysics-specific variables
204      logical,save :: callmufi, call_haze_prod_pCH4
205!$OMP THREADPRIVATE(callmufi,call_haze_prod_pCH4)
206      real,save :: haze_p_prod, haze_tx_prod, haze_rc_prod
207      real,save :: haze_rm, haze_df, haze_rho
208      real,save :: air_rad
209!$OMP THREADPRIVATE(haze_p_prod,haze_tx_prod,haze_rc_prod,haze_rm,haze_df,haze_rho,air_rad)
210
211      integer,save :: iddist
212      integer,save :: iaervar
213      integer,save :: iradia
214      integer,save :: startype
215      integer,save :: versH2H2cia
216      character(64),save :: H2orthopara_mixture
217!$OMP THREADPRIVATE(iddist,iaervar,iradia,startype,versH2H2cia,H2orthopara_mixture)
218
219      real,save :: tplanckmin
220      real,save :: tplanckmax
221      real,save :: dtplanck
222!$OMP THREADPRIVATE(tplanckmin,tplanckmax,dtplanck)
223      real,save :: topdustref
224      real,save :: dusttau
225      real,save :: Fat1AU
226      real,save :: stelTbb
227!$OMP THREADPRIVATE(topdustref,dusttau,Fat1AU,stelTbb)
228      real,save :: Tstrat
229      real,save :: tplanet
230!$OMP THREADPRIVATE(Tstrat,tplanet)
231      real,save :: satval
232      real,save :: n2mixratio
233!$OMP THREADPRIVATE(satval,n2mixratio)
234      real,save :: n2supsat
235      real,save :: pceil
236      real,save :: albedosnow
237      real,save :: albedon2ice
238      real,save :: maxicethick
239!$OMP THREADPRIVATE(n2supsat,pceil,albedosnow,albedon2ice,maxicethick)
240      real,save :: Tsaldiff
241      real,save :: tau_relax
242      real,save :: icetstep
243      real,save :: intheat
244!$OMP THREADPRIVATE(Tsaldiff,tau_relax,icetstep,intheat)
245      real,save :: surfalbedo
246      real,save :: surfemis
247!$OMP THREADPRIVATE(surfalbedo,surfemis)
248      real,save :: noseason_day
249!$OMP THREADPRIVATE(noseason_day)
250      real,save :: kmixmin
251!$OMP THREADPRIVATE(kmixmin)
252
253      logical,save :: iscallphys=.false.!existence of callphys.def
254!$OMP THREADPRIVATE(iscallphys)
255
256      ! do we read a startphy.nc file (default=.true.)
257      logical,save :: startphy_file=.true.
258!$OMP THREADPRIVATE(startphy_file)
259
260END MODULE callkeys_mod
Note: See TracBrowser for help on using the repository browser.