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

Last change on this file since 2655 was 2655, checked in by gmilcareck, 3 years ago

Major changes to CIA interpolation:
1) Add contribution from CH4 (H2-CH4,He-CH4,CH4-CH4) ;
2) Add some tests before interpolation for H2, He and CH4 ;
3) Add the possibility to choose between a normal or equilibrium ortho:para
fraction for CIA H2;
4) Change "strictboundH2H2cia" to the generic "strictboundcia" for H2,He,CH4.
It can be added for others CIA (N2,H,CO2...) if you want.

File size: 6.4 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,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 :: nearco2cond
34      logical,save :: tracer
35      logical,save :: mass_redistrib
36!$OMP THREADPRIVATE(stelbbody,nearco2cond,tracer,mass_redistrib)
37      logical,save :: varactive
38      logical,save :: varfixed
39      logical,save :: radfixed
40      logical,save :: sedimentation
41!$OMP THREADPRIVATE(varactive,varfixed,radfixed,sedimentation)
42      logical,save :: water,watercond,waterrain
43!$OMP THREADPRIVATE(water,watercond,waterrain)
44      logical,save :: aeroco2,aeroh2o,aeroh2so4,aeroback2lay
45!$OMP THREADPRIVATE(aeroco2,aeroh2o,aeroh2so4,aeroback2lay)
46      logical,save :: aeronh3, aeronlay, aeroaurora
47!$OMP THREADPRIVATE(aeronh3,aeronlay,aeroaurora)
48      logical,save :: aerofixco2,aerofixh2o
49!$OMP THREADPRIVATE(aerofixco2,aerofixh2o)
50      logical,save :: hydrology
51      logical,save :: sourceevol
52      logical,save :: CLFvarying
53      logical,save :: nosurf
54      logical,save :: oblate
55!$OMP THREADPRIVATE(hydrology,sourceevol,CLFvarying,nosurf,oblate)
56      logical,save :: ok_slab_ocean
57      logical,save :: ok_slab_sic
58      logical,save :: ok_slab_heat_transp
59      logical,save :: albedo_spectral_mode
60!$OMP THREADPRIVATE(ok_slab_ocean,ok_slab_sic,ok_slab_heat_transp,albedo_spectral_mode)
61      logical,save :: photochem
62      logical,save :: photoheat
63      logical,save :: jonline
64      logical,save :: depos
65      logical,save :: haze
66!$OMP THREADPRIVATE(photochem,photoheat,jonline,depos)
67      logical,save :: calllott_nonoro
68!$OMP THREADPRIVATE(calllott_nonoro)
69      logical,save :: global1d
70      real,save    :: szangle
71!$OMP THREADPRIVATE(global1d,szangle)
72
73      integer,save :: iddist
74      integer,save :: iaervar
75      integer,save :: iradia
76      integer,save :: startype
77      integer,save :: versH2H2cia
78      character(64),save :: H2orthopara_mixture
79      integer,save :: nlayaero
80!$OMP THREADPRIVATE(iddist,iaervar,iradia,startype,versH2H2cia,H2orthopara_mixture,nlayaero)
81      integer,dimension(:),allocatable,save :: aeronlay_choice
82!$OMP THREADPRIVATE(aeronlay_choice)
83
84      character(64),save :: optprop_back2lay_vis
85      character(64),save :: optprop_back2lay_ir
86      character(64),dimension(:),allocatable,save :: optprop_aeronlay_vis
87      character(64),dimension(:),allocatable,save :: optprop_aeronlay_ir
88!$OMP THREADPRIVATE(optprop_back2lay_vis,optprop_back2lay_ir,optprop_aeronlay_vis,optprop_aeronlay_ir)
89
90      real,save :: tplanckmin
91      real,save :: tplanckmax
92      real,save :: dtplanck
93!$OMP THREADPRIVATE(tplanckmin,tplanckmax,dtplanck)
94      real,save :: topdustref
95      real,save :: Nmix_co2
96      real,save :: dusttau
97      real,save :: Fat1AU
98      real,save :: stelTbb
99!$OMP THREADPRIVATE(topdustref,Nmix_co2,dusttau,Fat1AU,stelTbb)
100      real,save :: Tstrat
101      real,save :: tplanet
102      real,save :: obs_tau_col_tropo
103      real,save :: obs_tau_col_strato
104!$OMP THREADPRIVATE(Tstrat,tplanet,obs_tau_col_tropo,obs_tau_col_strato)
105      real,save :: pres_bottom_tropo
106      real,save :: pres_top_tropo
107      real,save :: pres_bottom_strato
108      real,save :: pres_top_strato
109!$OMP THREADPRIVATE(pres_bottom_tropo,pres_top_tropo,pres_bottom_strato,pres_top_strato)
110      real,save :: size_tropo
111      real,save :: size_strato
112      real,save :: satval
113      real,save :: CLFfixval
114      real,save :: n2mixratio
115!$OMP THREADPRIVATE(size_tropo,size_strato,satval,CLFfixval,n2mixratio)
116      real,save :: size_nh3_cloud
117      real,save :: pres_nh3_cloud
118      real,save :: tau_nh3_cloud
119!$OMP THREADPRIVATE(size_nh3_cloud, pres_nh3_cloud, tau_nh3_cloud)
120      real,dimension(:),allocatable,save :: aeronlay_tauref
121      real,dimension(:),allocatable,save :: aeronlay_lamref
122      real,dimension(:),allocatable,save :: aeronlay_ptop
123      real,dimension(:),allocatable,save :: aeronlay_pbot
124      real,dimension(:),allocatable,save :: aeronlay_sclhght
125      real,dimension(:),allocatable,save :: aeronlay_size
126      real,dimension(:),allocatable,save :: aeronlay_nueff
127!$OMP THREADPRIVATE(aeronlay_tauref,aeronlay_lamref,aeronlay_ptop,aeronlay_pbot,aeronlay_sclhght,aeronlay_size,aeronlay_nueff)
128      real,save :: co2supsat
129      real,save :: pceil
130      real,save :: albedosnow
131      real,save :: alb_ocean
132      real,save :: albedoco2ice
133      real,save :: maxicethick
134!$OMP THREADPRIVATE(co2supsat,pceil,albedosnow,alb_ocean,albedoco2ice,maxicethick)
135      real,save :: Tsaldiff
136      real,save :: tau_relax
137      real,save :: cloudlvl
138      real,save :: icetstep
139      real,save :: intheat
140!$OMP THREADPRIVATE(Tsaldiff,tau_relax,cloudlvl,icetstep,intheat)
141      real,save :: flatten
142      real,save :: Rmean
143      real,save :: J2
144      real,save :: MassPlanet
145!$OMP THREADPRIVATE(flatten,Rmean,J2,MassPlanet)
146      real,save :: surfalbedo
147      real,save :: surfemis
148!$OMP THREADPRIVATE(surfalbedo,surfemis)
149      real,save :: noseason_day
150!$OMP THREADPRIVATE(noseason_day)
151      real,save :: kmixmin
152!$OMP THREADPRIVATE(kmixmin)
153     
154      logical,save :: iscallphys=.false.!existence of callphys.def
155!$OMP THREADPRIVATE(iscallphys)
156
157      ! do we read a startphy.nc file (default=.true.)
158      logical,save :: startphy_file=.true.
159!$OMP THREADPRIVATE(startphy_file)
160
161END MODULE callkeys_mod
Note: See TracBrowser for help on using the repository browser.