source: trunk/LMDZ.GENERIC/libf/phystd/callkeys_mod.F90 @ 2283

Last change on this file since 2283 was 2283, checked in by jvatant, 5 years ago

Set the temperature boundaries and step for Planck function integration as input in callphys.def, for more flexibility.

+ User can now set them by tplanckmin, tplanckmax and dtplanck
+ Default values are a wide range 30-1500K
+ Add a sanity check in callcorrk instead of leaving out-of-bounds planckir indexes.

--JVO

File size: 4.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,co2cond,callsoil
7!$OMP THREADPRIVATE(calladj,calltherm,co2cond,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,H2Ocont_simple,graybody
13!$OMP THREADPRIVATE(callgasvis,continuum,H2Ocont_simple,graybody)
14      logical,save :: strictboundcorrk                                     
15!$OMP THREADPRIVATE(strictboundcorrk)
16
17      logical,save :: enertest
18      logical,save :: nonideal
19      logical,save :: meanOLR
20      logical,save :: specOLR
21      logical,save :: kastprof
22      logical,save :: diagdtau
23!$OMP THREADPRIVATE(enertest,nonideal,meanOLR,kastprof,diagdtau)
24      logical,save :: newtonian
25      logical,save :: check_cpp_match
26      logical,save :: force_cpp
27      logical,save :: testradtimes
28      logical,save :: rayleigh
29!$OMP THREADPRIVATE(newtonian,check_cpp_match,force_cpp,testradtimes,rayleigh)
30      logical,save :: stelbbody
31      logical,save :: ozone
32      logical,save :: nearco2cond
33      logical,save :: tracer
34      logical,save :: mass_redistrib
35!$OMP THREADPRIVATE(stelbbody,ozone,nearco2cond,tracer,mass_redistrib)
36      logical,save :: varactive
37      logical,save :: varfixed
38      logical,save :: radfixed
39      logical,save :: sedimentation
40!$OMP THREADPRIVATE(varactive,varfixed,radfixed,sedimentation)
41      logical,save :: water,watercond,waterrain
42!$OMP THREADPRIVATE(water,watercond,waterrain)
43      logical,save :: aeroco2,aeroh2o,aeroh2so4,aeroback2lay
44!$OMP THREADPRIVATE(aeroco2,aeroh2o,aeroh2so4,aeroback2lay)
45      logical,save :: aeronh3, aeroaurora
46!$OMP THREADPRIVATE(aeronh3,aeroaurora)
47      logical,save :: aerofixco2,aerofixh2o
48!$OMP THREADPRIVATE(aerofixco2,aerofixh2o)
49      logical,save :: hydrology
50      logical,save :: sourceevol
51      logical,save :: CLFvarying
52      logical,save :: nosurf
53      logical,save :: oblate
54!$OMP THREADPRIVATE(hydrology,sourceevol,CLFvarying,nosurf,oblate)
55      logical,save :: ok_slab_ocean
56      logical,save :: ok_slab_sic
57      logical,save :: ok_slab_heat_transp
58      logical,save :: albedo_spectral_mode
59!$OMP THREADPRIVATE(ok_slab_ocean,ok_slab_sic,ok_slab_heat_transp,albedo_spectral_mode)
60      logical,save :: photochem
61      logical,save :: haze
62!$OMP THREADPRIVATE(photochem)
63
64      integer,save :: versH2H2cia
65      integer,save :: iddist
66      integer,save :: iaervar
67      integer,save :: iradia
68      integer,save :: startype
69!$OMP THREADPRIVATE(versH2H2cia,iddist,iaervar,iradia,startype)
70
71      real,save :: tplanckmin
72      real,save :: tplanckmax
73      real,save :: dtplanck
74!$OMP THREADPRIVATE(tplanckmin,tplanckmax,dtplanck)
75      real,save :: topdustref
76      real,save :: Nmix_co2
77      real,save :: dusttau
78      real,save :: Fat1AU
79      real,save :: stelTbb
80!$OMP THREADPRIVATE(topdustref,Nmix_co2,dusttau,Fat1AU,stelTbb)
81      real,save :: Tstrat
82      real,save :: tplanet
83      real,save :: obs_tau_col_tropo
84      real,save :: obs_tau_col_strato
85!$OMP THREADPRIVATE(Tstrat,tplanet,obs_tau_col_tropo,obs_tau_col_strato)
86      character(64),save :: optprop_back2lay_vis
87      character(64),save :: optprop_back2lay_ir
88      real,save :: pres_bottom_tropo
89      real,save :: pres_top_tropo
90      real,save :: pres_bottom_strato
91      real,save :: pres_top_strato
92!$OMP THREADPRIVATE(pres_bottom_tropo,pres_top_tropo,pres_bottom_strato,pres_top_strato)
93      real,save :: size_tropo
94      real,save :: size_strato
95      real,save :: satval
96      real,save :: CLFfixval
97      real,save :: n2mixratio
98!$OMP THREADPRIVATE(size_tropo,size_strato,satval,CLFfixval,n2mixratio)
99      real,save :: size_nh3_cloud
100      real,save :: pres_nh3_cloud
101      real,save :: tau_nh3_cloud
102!$OMP THREADPRIVATE(size_nh3_cloud, pres_nh3_cloud, tau_nh3_cloud)
103      real,save :: co2supsat
104      real,save :: pceil
105      real,save :: albedosnow
106      real,save :: albedoco2ice
107      real,save :: maxicethick
108!$OMP THREADPRIVATE(co2supsat,pceil,albedosnow,albedoco2ice,maxicethick)
109      real,save :: Tsaldiff
110      real,save :: tau_relax
111      real,save :: cloudlvl
112      real,save :: icetstep
113      real,save :: intheat
114!$OMP THREADPRIVATE(Tsaldiff,tau_relax,cloudlvl,icetstep,intheat)
115      real,save :: flatten
116      real,save :: Rmean
117      real,save :: J2
118      real,save :: MassPlanet
119!$OMP THREADPRIVATE(flatten,Rmean,J2,MassPlanet)
120      real,save :: surfalbedo
121      real,save :: surfemis
122!$OMP THREADPRIVATE(surfalbedo,surfemis)
123
124      logical,save :: iscallphys=.false.!existence of callphys.def
125!$OMP THREADPRIVATE(iscallphys)
126
127      ! do we read a startphy.nc file (default=.true.)
128      logical,save :: startphy_file=.true.
129!$OMP THREADPRIVATE(startphy_file)
130
131END MODULE callkeys_mod
Note: See TracBrowser for help on using the repository browser.