1 | ! |
---|
2 | ! For Fortran 77/Fortran 90 compliance always use line continuation |
---|
3 | ! symbols '&' in columns 73 and 6 |
---|
4 | ! |
---|
5 | ! NB: to keep commons aligned, it is better to split them in groups |
---|
6 | ! of given types (logical, integer, real, ...) |
---|
7 | |
---|
8 | COMMON/callkeys_l/callrad,calldifv,calladj,callcond,callsoil & |
---|
9 | & ,season,diurnal,lwrite,calllott,calleofdump & |
---|
10 | & ,callnirco2,callnlte,callthermos,callconduct,calleuv & |
---|
11 | & ,callmolvis,callmoldiff,thermochem,thermoswater,callemis & |
---|
12 | & ,callg2d,linear,rayleigh & |
---|
13 | & ,scavenging,sedimentation & |
---|
14 | & ,activice,water,microphys,supersat,caps,photochem & |
---|
15 | & ,calltherm,callrichsl,callslope,tituscap,callyamada4,co2clouds & |
---|
16 | & ,co2useh2o,meteo_flux,activeco2ice,CLFvaryingCO2,spantCO2 & |
---|
17 | & ,CLFvarying,satindexco2,rdstorm,topflows,calllott_nonoro & |
---|
18 | & ,latentheat_surfwater,gwd_convective_source,startphy_file & |
---|
19 | & ,hdo,hdofrac,cst_cap_albedo,temp_dependent_m,refill_watercap & |
---|
20 | & ,cloud_adapt_ts,callatke,surfaceice_tifeedback & |
---|
21 | & , poreice_tifeedback |
---|
22 | !$OMP THREADPRIVATE(/callkeys_l/) |
---|
23 | |
---|
24 | |
---|
25 | COMMON/callkeys_i/iradia,iaervar,ilwd,ilwb,ilwn,ncouche & |
---|
26 | & ,nltemodel,nircorr,solvarmod,solvaryear,dustinjection |
---|
27 | !$OMP THREADPRIVATE(/callkeys_i/) |
---|
28 | |
---|
29 | COMMON/callkeys_r/semi,alphan,euveff, & |
---|
30 | & tke_heat_flux,dustrefir,fixed_euv_value,CLFfixval, & |
---|
31 | & coeff_injection,ti_injection,tf_injection,coeff_detrainment |
---|
32 | !$OMP THREADPRIVATE(/callkeys_r/) |
---|
33 | |
---|
34 | LOGICAL callrad,calldifv,calladj,callcond,callsoil, & |
---|
35 | & season,diurnal,lwrite,calllott,calllott_nonoro & |
---|
36 | & ,calleofdump & |
---|
37 | & ,callnirco2,callnlte,callthermos,callconduct, & |
---|
38 | & calleuv,callmolvis,callmoldiff,thermochem,thermoswater & |
---|
39 | & ,calltherm,callrichsl,callslope,tituscap,callyamada4,callatke |
---|
40 | |
---|
41 | COMMON/aeroutput/dustiropacity |
---|
42 | !$OMP THREADPRIVATE(/aeroutput/) |
---|
43 | |
---|
44 | logical startphy_file |
---|
45 | |
---|
46 | logical callemis |
---|
47 | logical callg2d |
---|
48 | logical linear |
---|
49 | logical gwd_convective_source |
---|
50 | |
---|
51 | real semi |
---|
52 | real alphan |
---|
53 | real fixed_euv_value |
---|
54 | real euveff |
---|
55 | real tke_heat_flux |
---|
56 | real coeff_injection ! dust injection scheme coefficient |
---|
57 | real ti_injection ! local time of beginning injection |
---|
58 | real tf_injection ! local time of end injection |
---|
59 | real coeff_detrainment ! rocket dust detrainment coefficient |
---|
60 | real CLFfixval |
---|
61 | |
---|
62 | integer iaervar |
---|
63 | integer iradia |
---|
64 | integer ilwd |
---|
65 | integer ilwb |
---|
66 | integer ilwn |
---|
67 | integer ncouche |
---|
68 | integer solvarmod ! model for solar EUV variation |
---|
69 | integer solvaryear ! mars year for realisticly varying solar EUV |
---|
70 | integer dustinjection ! dust injection scheme number |
---|
71 | |
---|
72 | logical rayleigh |
---|
73 | logical scavenging |
---|
74 | logical rdstorm ! rocket dust storm parametrization |
---|
75 | logical topflows ! entrainment by mountain top dust flows parametrization |
---|
76 | logical latentheat_surfwater ! latent heat release from ground water ice sublimation/condensation |
---|
77 | logical cst_cap_albedo ! polar cap albedo remains unchanged by water frost deposition |
---|
78 | logical temp_dependent_m ! temperature-dependent water contact parameter |
---|
79 | logical refill_watercap ! h2o_ice_s is converted to watercap when above threshold |
---|
80 | logical cloud_adapt_ts ! adaptative timestep for cloud microphysics |
---|
81 | logical sedimentation |
---|
82 | logical activice,surfaceice_tifeedback,supersat,caps |
---|
83 | logical poreice_tifeedback |
---|
84 | logical co2clouds,co2useh2o,meteo_flux,CLFvaryingCO2,satindexco2 |
---|
85 | logical activeco2ice |
---|
86 | integer spantCO2 |
---|
87 | logical CLFvarying |
---|
88 | logical water |
---|
89 | logical hdo |
---|
90 | logical hdofrac |
---|
91 | logical microphys |
---|
92 | logical photochem |
---|
93 | integer nltemodel |
---|
94 | integer nircorr |
---|
95 | |
---|
96 | character(len=100) dustiropacity |
---|
97 | real dustrefir |
---|
98 | |
---|
99 | integer swrtype ! type of short wave (solar wavelength) radiative |
---|
100 | ! transfer to use 1: Fouquart 2: Toon. |
---|
101 | parameter (swrtype=2) |
---|
102 | ! parameter (swrtype=2) |
---|