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

Last change on this file since 2499 was 2482, checked in by yjaziri, 4 years ago

Generic GCM:
Clean convadj.F90 specific CO2 Mars convection
Add alb_ocean used in hydrol.F90 as option in .def files
Add kmixmin 1D minimum eddy mix coeff for turbdiff as rcm1d.def option
and comment lines to help coding specific eddy mix coeff in turbdiff with Earth example

YJ

File size: 6.3 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, aeronlay, aeroaurora
46!$OMP THREADPRIVATE(aeronh3,aeronlay,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      logical,save :: calllott_nonoro
64      logical,save :: gwd_convective_source
65!$OMP THREADPRIVATE(calllott_nonoro,gwd_convective_source)
66      logical,save :: global1d
67      real,save    :: szangle
68!$OMP THREADPRIVATE(global1d,szangle)
69
70      integer,save :: iddist
71      integer,save :: iaervar
72      integer,save :: iradia
73      integer,save :: startype
74      integer,save :: versH2H2cia
75      integer,save :: nlayaero
76!$OMP THREADPRIVATE(iddist,iaervar,iradia,startype,versH2H2cia,nlayaero)
77      integer,dimension(:),allocatable,save :: aeronlay_choice
78!$OMP THREADPRIVATE(aeronlay_choice)
79
80      character(64),save :: optprop_back2lay_vis
81      character(64),save :: optprop_back2lay_ir
82      character(64),dimension(:),allocatable,save :: optprop_aeronlay_vis
83      character(64),dimension(:),allocatable,save :: optprop_aeronlay_ir
84!$OMP THREADPRIVATE(optprop_back2lay_vis,optprop_back2lay_ir,optprop_aeronlay_vis,optprop_aeronlay_ir)
85
86      real,save :: tplanckmin
87      real,save :: tplanckmax
88      real,save :: dtplanck
89!$OMP THREADPRIVATE(tplanckmin,tplanckmax,dtplanck)
90      real,save :: topdustref
91      real,save :: Nmix_co2
92      real,save :: dusttau
93      real,save :: Fat1AU
94      real,save :: stelTbb
95!$OMP THREADPRIVATE(topdustref,Nmix_co2,dusttau,Fat1AU,stelTbb)
96      real,save :: Tstrat
97      real,save :: tplanet
98      real,save :: obs_tau_col_tropo
99      real,save :: obs_tau_col_strato
100!$OMP THREADPRIVATE(Tstrat,tplanet,obs_tau_col_tropo,obs_tau_col_strato)
101      real,save :: pres_bottom_tropo
102      real,save :: pres_top_tropo
103      real,save :: pres_bottom_strato
104      real,save :: pres_top_strato
105!$OMP THREADPRIVATE(pres_bottom_tropo,pres_top_tropo,pres_bottom_strato,pres_top_strato)
106      real,save :: size_tropo
107      real,save :: size_strato
108      real,save :: satval
109      real,save :: CLFfixval
110      real,save :: n2mixratio
111!$OMP THREADPRIVATE(size_tropo,size_strato,satval,CLFfixval,n2mixratio)
112      real,save :: size_nh3_cloud
113      real,save :: pres_nh3_cloud
114      real,save :: tau_nh3_cloud
115!$OMP THREADPRIVATE(size_nh3_cloud, pres_nh3_cloud, tau_nh3_cloud)
116      real,dimension(:),allocatable,save :: aeronlay_tauref
117      real,dimension(:),allocatable,save :: aeronlay_lamref
118      real,dimension(:),allocatable,save :: aeronlay_ptop
119      real,dimension(:),allocatable,save :: aeronlay_pbot
120      real,dimension(:),allocatable,save :: aeronlay_sclhght
121      real,dimension(:),allocatable,save :: aeronlay_size
122      real,dimension(:),allocatable,save :: aeronlay_nueff
123!$OMP THREADPRIVATE(aeronlay_tauref,aeronlay_lamref,aeronlay_ptop,aeronlay_pbot,aeronlay_sclhght,aeronlay_size,aeronlay_nueff)
124      real,save :: co2supsat
125      real,save :: pceil
126      real,save :: albedosnow
127      real,save :: alb_ocean
128      real,save :: albedoco2ice
129      real,save :: maxicethick
130!$OMP THREADPRIVATE(co2supsat,pceil,albedosnow,alb_ocean,albedoco2ice,maxicethick)
131      real,save :: Tsaldiff
132      real,save :: tau_relax
133      real,save :: cloudlvl
134      real,save :: icetstep
135      real,save :: intheat
136!$OMP THREADPRIVATE(Tsaldiff,tau_relax,cloudlvl,icetstep,intheat)
137      real,save :: flatten
138      real,save :: Rmean
139      real,save :: J2
140      real,save :: MassPlanet
141!$OMP THREADPRIVATE(flatten,Rmean,J2,MassPlanet)
142      real,save :: surfalbedo
143      real,save :: surfemis
144!$OMP THREADPRIVATE(surfalbedo,surfemis)
145      real,save :: epflux_max
146!$OMP THREADPRIVATE(epflux_max)
147      real,save :: noseason_day
148!$OMP THREADPRIVATE(noseason_day)
149      real,save :: kmixmin
150!$OMP THREADPRIVATE(kmixmin)
151     
152      logical,save :: iscallphys=.false.!existence of callphys.def
153!$OMP THREADPRIVATE(iscallphys)
154
155      ! do we read a startphy.nc file (default=.true.)
156      logical,save :: startphy_file=.true.
157!$OMP THREADPRIVATE(startphy_file)
158
159END MODULE callkeys_mod
Note: See TracBrowser for help on using the repository browser.