PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
modd_param_lima_mixed.F90
Go to the documentation of this file.
1! ############################
3
4!$ACDC methods
5
6! ###########################{
7!
8!!**** *MODD_PARAM_LIMA_MIXED* - declaration of some descriptive parameters and
9!! microphysical factors extensively used in
10!! the LIMA mixed scheme.
11!! AUTHOR
12!! ------
13!! J.-P. Pinty *Laboratoire d'Aerologie*
14!! S. Berthet * Laboratoire d'Aerologie*
15!! B. Vié * Laboratoire d'Aerologie*
16!!
17!! MODIFICATIONS
18!! -------------
19!! Original ??/??/13
20!! C. Barthe 14/03/2022 add CIBU and RDSF
21! J. Wurtz 03/2022: new snow characteristics
22! M. Taufour 07/2022: add concentration for snow, graupel, hail
23! I. Vongpaseut 01/2024: add dependance on temperature for RDSF
24!!
25!-------------------------------------------------------------------------------
26!
27IMPLICIT NONE
29!
30!* 1. DESCRIPTIVE PARAMETERS
31! ----------------------
32!
33! Declaration of microphysical constants, including the descriptive
34! parameters for the raindrop and the ice crystal habits, and the
35! parameters relevant of the dimensional distributions.
36!
37! m(D) = XAx * D**XBx : Mass-MaxDim relationship
38! v(D) = XCx * D**XDx : Fallspeed-MaxDim relationship
39! N(Lbda) = XCCx * Lbda**XCXx : NumberConc-Slopeparam relationship
40! XF0x, XF1x, XF2x : Ventilation factors
41! XC1x : Shape parameter for deposition
42!
43! and
44!
45! XALPHAx, XNUx : Generalized GAMMA law
46! Lbda = XLBx * (r_x*rho_dref)**XLBEXx : Slope parameter of the
47! distribution law
48!
49REAL :: xag,xbg,xcg,xdg,xccg,xcxg,xf0g,xf1g,xc1g ! Graupel charact.
50REAL :: xlbexg,xlbg,xng ! Graupel distribution parameters
51REAL :: xlbdag_max ! Max values allowed for the shape
52 ! parameter of graupeln
53!
54REAL :: xah,xbh,xch,xdh,xcch,xcxh,xf0h,xf1h,xc1h ! Hail charact.
55REAL :: xalphah,xnuh,xlbexh,xlbh ! Hail distribution parameters
56!
57!-------------------------------------------------------------------------------
58!
59!* 2. MICROPHYSICAL FACTORS - CIBU and RDSF
60! -------------------------------------
61!
62! Constants for ice-ice collision : CIBU
63!
64REAL :: xdcslim_cibu_min, & ! aggregates min diam. : 0.2 mm
65 xdcslim_cibu_max, & ! aggregates max diam. : 1.0 mm
66 xdcglim_cibu_min, & ! graupel min diam. : 2 mm
67 xgaminc_bound_cibu_smin, & ! Min val. of Lbda_s*dlim
68 xgaminc_bound_cibu_smax, & ! Max val. of Lbda_s*dlim
69 xgaminc_bound_cibu_gmin, & ! Min val. of Lbda_g*dlim
70 xgaminc_bound_cibu_gmax, & ! Max val. of Lbda_g*dlim
72 xcibuintp2_s, & !
74 xfactor_cibu_ni,xfactor_cibu_ri, & ! Factor for final CIBU Eq.
75 xmomgg_cibu_1,xmomgg_cibu_2, & ! Moment computation
78!
79REAL, DIMENSION(:,:) , ALLOCATABLE &
80 :: xgaminc_cibu_s, & ! Tab.incomplete Gamma function
81 xgaminc_cibu_g ! Tab.incomplete Gamma function
82!
83! Constants for raindrop shattering : RDSF
84!
85REAL :: xdcrlim_rdsf_min, & ! Raindrops min diam. : 0.2 mm
86 xgaminc_bound_rdsf_rmin, & ! Min val. of Lbda_r*dlim
87 xgaminc_bound_rdsf_rmax, & ! Max val. of Lbda_r*dlim
89 xfactor_rdsf_ni, & ! Factor for final RDSF Eq.
91 xtm_psh, & ! Mean Temperature of shattering probability normal distribution
92 xsig_psh ! SIGMA of shattering probability normal distribution
93!
94REAL, DIMENSION(:) , ALLOCATABLE &
95 :: xgaminc_rdsf_r ! Tab.incomplete Gamma function
96!
97!
98!* 3. MICROPHYSICAL FACTORS - Graupel
99! -------------------------------
100!
101REAL :: xfsedg, xexsedg, xfsedrg, xfsedcg ! Sedimentation fluxes of Graupel
102!
103REAL :: x0depg,x1depg,xex0depg,xex1depg ! Deposition on graupel
104!
105REAL :: xhmtmin,xhmtmax,xhm1,xhm2, & ! Constants for the
106 xhm_yield,xhm_collcs,xhm_facts, & ! revised
107 xhm_collcg,xhm_factg, & ! Hallett-Mossop process
108 xgaminc_hmc_bound_min, & ! Min val. of Lbda_c for HMC
109 xgaminc_hmc_bound_max, & ! Max val. of Lbda_c for HMC
110 xhmsintp1,xhmsintp2, & ! (this is no more used !)
112!
113REAL :: xdcslim,xcolcs, & ! Constants for the riming of
114 xexcrimss,xcrimss, & ! the aggregates : RIM
115 xexcrimsg,xcrimsg, & !
116 xexsrimcg,xsrimcg, & !
117 xsrimcg2, xsrimcg3, xexsrimcg2, & ! Murakami 1990
118 xgaminc_bound_min, & ! Min val. of Lbda_s for RIM
119 xgaminc_bound_max, & ! Max val. of Lbda_s for RIM
120 xrimintp1,xrimintp2 ! Csts for lin. interpol. of
121 ! the tab. incomplete Gamma law
122INTEGER :: ngaminc ! Number of tab. Lbda_s
123REAL, DIMENSION(:) , ALLOCATABLE &
124 :: xgaminc_rim1, & ! Tab. incomplete Gamma funct.
125 xgaminc_rim2, & ! for XDS+2 and for XBS
126 xgaminc_rim4, & ! Murakami
127 xgaminc_hmc ! and for the HM process
128!
129REAL :: xfraccss, & ! Constants for the accretion
130 xfnraccss, & ! Constants for the accretion
131 xlbraccs1,xlbraccs2,xlbraccs3, & ! raindrops onto the aggregates
132 xlbnraccs1,xlbnraccs2,xlbnraccs3, & ! raindrops onto the aggregates
133 xfsaccrg, & ! ACC (processes RACCSS and
134 xfnsaccrg, & ! ACC (processes RACCSS and
135 xlbsaccr1,xlbsaccr2,xlbsaccr3, & ! SACCRG)
136 xlbnsaccr1,xlbnsaccr2,xlbnsaccr3, & ! SACCRG)
137 xsclbdas_min, & ! Min val. of Lbda_s for ACC
138 xsclbdas_max, & ! Max val. of Lbda_s for ACC
139 xacclbdas_min, & ! Min val. of Lbda_s for ACC
140 xacclbdas_max, & ! Max val. of Lbda_s for ACC
141 xacclbdar_min, & ! Min val. of Lbda_r for ACC
142 xacclbdar_max, & ! Max val. of Lbda_r for ACC
143 xaccintp1s,xaccintp2s, & ! Csts for bilin. interpol. of
144 xaccintp1r,xaccintp2r ! Lbda_s and Lbda_r in the
145 ! XKER_RACCSS and XKER_SACCRG
146 ! tables
147INTEGER :: nacclbdas, & ! Number of Lbda_s values and
148 nacclbdar ! of Lbda_r values in the
149 ! XKER_RACCSS and XKER_SACCRG
150 ! tables
151REAL,DIMENSION(:,:) , ALLOCATABLE &
152 :: xker_raccss, & ! Normalized kernel for RACCSS
153 xker_raccs, & ! Normalized kernel for RACCS
154 xker_saccrg, & ! Normalized kernel for SACCRG
155 xker_n_raccss, & ! Normalized kernel for RACCSS
156 xker_n_raccs, & ! Normalized kernel for RACCS
157 xker_n_saccrg ! Normalized kernel for SACCRG
158REAL :: xfscvmg ! Melting-conversion factor of
159 ! the aggregates
160!
161REAL :: xcolir, & ! Constants for rain contact
162 xexrcfri,xrcfri, & ! freezing : CFR
164!
165REAL :: xfcdryg, & ! Constants for the dry growth
166 xcolcg, & ! of the graupeln :
168 xcolsg,xcolexsg,xfsdryg,xfnsdryg, & ! RCDRYG
169 xlbsdryg1,xlbsdryg2,xlbsdryg3, & ! RIDRYG
171 xfrdryg,xfnrdryg, & ! RSDRYG
172 xlbrdryg1,xlbrdryg2,xlbrdryg3, & ! RRDRYG
174 xdrylbdar_min, & ! Min val. of Lbda_r for DRY
175 xdrylbdar_max, & ! Max val. of Lbda_r for DRY
176 xdrylbdas_min, & ! Min val. of Lbda_s for DRY
177 xdrylbdas_max, & ! Max val. of Lbda_s for DRY
178 xdrylbdag_min, & ! Min val. of Lbda_g for DRY
179 xdrylbdag_max, & ! Max val. of Lbda_g for DRY
180 xdryintp1r,xdryintp2r, & ! Csts for bilin. interpol. of
181 xdryintp1s,xdryintp2s, & ! Lbda_r, Lbda_s and Lbda_g in
182 xdryintp1g,xdryintp2g, & ! the XKER_SDRYG and XKER_RDRYG tables
183 xmindg,xmaxlbdg ! Minimum graupel diameter for
184 ! graupel growth limitation and
185 ! corresponding max lambda
186INTEGER :: ndrylbdar, & ! Number of Lbda_r,
187 ndrylbdas, & ! of Lbda_s and
188 ndrylbdag ! of Lbda_g values in
189 ! the XKER_SDRYG and XKER_RDRYG
190 ! tables
191REAL,DIMENSION(:,:) , ALLOCATABLE &
192 :: xker_sdryg, & ! Normalized kernel for SDRYG
193 xker_rdryg, & ! Normalized kernel for RDRYG
194 xker_n_sdryg, & ! Normalized kernel for RDRYG
195 xker_n_rdryg ! Normalized kernel for RDRYG
196!
197!-------------------------------------------------------------------------------
198!
199!* 4. MICROPHYSICAL FACTORS - Hail
200! ----------------------------
201!
202REAL :: xfsedh,xexsedh,xfsedrh,xfsedch ! Constants for sedimentation
203!
204!
205REAL :: x0deph,x1deph,xex0deph,xex1deph ! Constants for deposition
206!
207REAL :: xfweth,xfsweth,xfnsweth, & ! Constants for the wet growth
208 xlbsweth1,xlbsweth2,xlbsweth3, & ! of the hailstones : WET
209 xlbnsweth1,xlbnsweth2,xlbnsweth3, & ! of the hailstones : WET
210 xfrweth, xfnrweth, & ! processes RSWETH
211 xlbrweth1,xlbrweth2,xlbrweth3, & ! RGWETH
213 xfgweth, xfngweth, & ! processes RSWETH
214 xlbgweth1,xlbgweth2,xlbgweth3, & ! RGWETH
216 xwetlbdas_min, & ! Min val. of Lbda_s for WET
217 xwetlbdas_max, & ! Max val. of Lbda_s for WET
218 xwetlbdar_min, & ! Min val. of Lbda_g for WET
219 xwetlbdar_max, & ! Max val. of Lbda_g for WET
220 xwetlbdag_min, & ! Min val. of Lbda_g for WET
221 xwetlbdag_max, & ! Max val. of Lbda_g for WET
222 xwetlbdah_min, & ! Min val. of Lbda_h for WET
223 xwetlbdah_max, & ! Max val. of Lbda_h for WET
224 xwetintp1s,xwetintp2s, & ! Csts for bilin. interpol. of
225 xwetintp1r,xwetintp2r, & ! Lbda_r, Lbda_s and Lbda_g in
226 xwetintp1g,xwetintp2g, & ! Lbda_r, Lbda_s and Lbda_g in
227 xwetintp1h,xwetintp2h ! the XKER_SWETH and XKER_GWETH
228 ! tables
229INTEGER :: nwetlbdas, & ! Number of Lbda_s,
230 nwetlbdar, & ! of Lbda_g and
231 nwetlbdag, & ! of Lbda_g and
232 nwetlbdah ! of Lbda_h values in
233 ! the XKER_SWETH and XKER_GWETH
234 ! tables
235REAL,DIMENSION(:,:), ALLOCATABLE &
236 :: xker_sweth, & ! Normalized kernel for SWETH
237 xker_rweth, & ! Normalized kernel for GWETH
238 xker_gweth, & ! Normalized kernel for GWETH
239 xker_n_sweth, & ! Normalized kernel for GWETH
240 xker_n_rweth, & ! Normalized kernel for GWETH
241 xker_n_gweth ! Normalized kernel for GWETH
242END TYPE param_lima_mixed_t
243!
245!
246REAL, POINTER :: xag => null(), &
247 xbg => null(), &
248 xcg => null(), &
249 xdg => null(), &
250 xccg => null(), &
251 xcxg => null(), &
252 xf0g => null(), &
253 xf1g => null(), &
254 xc1g => null(), &
255 xlbexg => null(), &
256 xlbg => null(), &
257 xng => null(), &
258 xlbdag_max => null(), &
259 xah => null(), &
260 xbh => null(), &
261 xch => null(), &
262 xdh => null(), &
263 xcch => null(), &
264 xcxh => null(), &
265 xf0h => null(), &
266 xf1h => null(), &
267 xc1h => null(), &
268 xalphah => null(), &
269 xnuh => null(), &
270 xlbexh => null(), &
271 xlbh => null(), &
272 xdcslim_cibu_min => null(), &
273 xdcslim_cibu_max => null(), &
274 xdcglim_cibu_min => null(), &
275 xgaminc_bound_cibu_smin => null(), &
276 xgaminc_bound_cibu_smax => null(), &
277 xgaminc_bound_cibu_gmin => null(), &
278 xgaminc_bound_cibu_gmax => null(), &
279 xcibuintp_s => null(), &
280 xcibuintp1_s => null(), &
281 xcibuintp2_s => null(), &
282 xcibuintp_g => null(), &
283 xcibuintp1_g => null(), &
284 xfactor_cibu_ni => null(), &
285 xfactor_cibu_ri => null(), &
286 xmomgg_cibu_1 => null(), &
287 xmomgg_cibu_2 => null(), &
288 xmomgs_cibu_1 => null(), &
289 xmomgs_cibu_2 => null(), &
290 xmomgs_cibu_3 => null(), &
291 xdcrlim_rdsf_min => null(), &
292 xgaminc_bound_rdsf_rmin => null(), &
293 xgaminc_bound_rdsf_rmax => null(), &
294 xrdsfintp_r => null(), &
295 xrdsfintp1_r => null(), &
296 xfactor_rdsf_ni => null(), &
297 xmomgr_rdsf => null(), &
298 xtm_psh => null(), &
299 xsig_psh => null(), &
300 xfsedg => null(), &
301 xexsedg => null(), &
302 xfsedrg => null(), &
303 xfsedcg => null(), &
304 x0depg => null(), &
305 x1depg => null(), &
306 xex0depg => null(), &
307 xex1depg => null(), &
308 xhmtmin => null(), &
309 xhmtmax => null(), &
310 xhm1 => null(), &
311 xhm2 => null(), &
312 xhm_yield => null(), &
313 xhm_collcs => null(), &
314 xhm_facts => null(), &
315 xhm_collcg => null(), &
316 xhm_factg => null(), &
317 xgaminc_hmc_bound_min => null(), &
318 xgaminc_hmc_bound_max => null(), &
319 xhmsintp1 => null(), &
320 xhmsintp2 => null(), &
321 xhmlintp1 => null(), &
322 xhmlintp2 => null(), &
323 xdcslim => null(), &
324 xcolcs => null(), &
325 xexcrimss => null(), &
326 xcrimss => null(), &
327 xexcrimsg => null(), &
328 xcrimsg => null(), &
329 xexsrimcg => null(), &
330 xsrimcg => null(), &
331 xsrimcg2 => null(), &
332 xsrimcg3 => null(), &
333 xexsrimcg2 => null(), &
334 xgaminc_bound_min => null(), &
335 xgaminc_bound_max => null(), &
336 xrimintp1 => null(), &
337 xrimintp2 => null(), &
338 xfraccss => null(), &
339 xfnraccss => null(), &
340 xlbraccs1 => null(), &
341 xlbraccs2 => null(), &
342 xlbraccs3 => null(), &
343 xlbnraccs1 => null(), &
344 xlbnraccs2 => null(), &
345 xlbnraccs3 => null(), &
346 xfsaccrg => null(), &
347 xfnsaccrg => null(), &
348 xlbsaccr1 => null(), &
349 xlbsaccr2 => null(), &
350 xlbsaccr3 => null(), &
351 xlbnsaccr1 => null(), &
352 xlbnsaccr2 => null(), &
353 xlbnsaccr3 => null(), &
354 xsclbdas_min => null(), &
355 xsclbdas_max => null(), &
356 xacclbdas_min => null(), &
357 xacclbdas_max => null(), &
358 xacclbdar_min => null(), &
359 xacclbdar_max => null(), &
360 xaccintp1s => null(), &
361 xaccintp2s => null(), &
362 xaccintp1r => null(), &
363 xaccintp2r => null(), &
364 xfscvmg => null(), &
365 xcolir => null(), &
366 xexrcfri => null(), &
367 xrcfri => null(), &
368 xexicfrr => null(), &
369 xicfrr => null(), &
370 xfcdryg => null(), &
371 xcolcg => null(), &
372 xcolig => null(), &
373 xcolexig => null(), &
374 xfidryg => null(), &
375 xcolsg => null(), &
376 xcolexsg => null(), &
377 xfsdryg => null(), &
378 xfnsdryg => null(), &
379 xlbsdryg1 => null(), &
380 xlbsdryg2 => null(), &
381 xlbsdryg3 => null(), &
382 xlbnsdryg1 => null(), &
383 xlbnsdryg2 => null(), &
384 xlbnsdryg3 => null(), &
385 xfrdryg => null(), &
386 xfnrdryg => null(), &
387 xlbrdryg1 => null(), &
388 xlbrdryg2 => null(), &
389 xlbrdryg3 => null(), &
390 xlbnrdryg1 => null(), &
391 xlbnrdryg2 => null(), &
392 xlbnrdryg3 => null(), &
393 xdrylbdar_min => null(), &
394 xdrylbdar_max => null(), &
395 xdrylbdas_min => null(), &
396 xdrylbdas_max => null(), &
397 xdrylbdag_min => null(), &
398 xdrylbdag_max => null(), &
399 xdryintp1r => null(), &
400 xdryintp2r => null(), &
401 xdryintp1s => null(), &
402 xdryintp2s => null(), &
403 xdryintp1g => null(), &
404 xdryintp2g => null(), &
405 xfsedh => null(), &
406 xexsedh => null(), &
407 xfsedrh => null(), &
408 xfsedch => null(), &
409 x0deph => null(), &
410 x1deph => null(), &
411 xex0deph => null(), &
412 xex1deph => null(), &
413 xfweth => null(), &
414 xfsweth => null(), &
415 xfnsweth => null(), &
416 xlbsweth1 => null(), &
417 xlbsweth2 => null(), &
418 xlbsweth3 => null(), &
419 xlbnsweth1 => null(), &
420 xlbnsweth2 => null(), &
421 xlbnsweth3 => null(), &
422 xfgweth => null(), &
423 xfngweth => null(), &
424 xlbgweth1 => null(), &
425 xlbgweth2 => null(), &
426 xlbgweth3 => null(), &
427 xlbngweth1 => null(), &
428 xlbngweth2 => null(), &
429 xlbngweth3 => null(), &
430 xfrweth => null(), &
431 xfnrweth => null(), &
432 xlbrweth1 => null(), &
433 xlbrweth2 => null(), &
434 xlbrweth3 => null(), &
435 xlbnrweth1 => null(), &
436 xlbnrweth2 => null(), &
437 xlbnrweth3 => null(), &
438 xwetlbdas_min => null(), &
439 xwetlbdas_max => null(), &
440 xwetlbdag_min => null(), &
441 xwetlbdag_max => null(), &
442 xwetlbdar_min => null(), &
443 xwetlbdar_max => null(), &
444 xwetlbdah_min => null(), &
445 xwetlbdah_max => null(), &
446 xwetintp1s => null(), &
447 xwetintp2s => null(), &
448 xwetintp1g => null(), &
449 xwetintp2g => null(), &
450 xwetintp1r => null(), &
451 xwetintp2r => null(), &
452 xwetintp1h => null(), &
453 xwetintp2h => null(), &
454 xmindg => null(), &
455 xmaxlbdg => null()
456
457INTEGER, POINTER :: ngaminc => null(), &
458 nacclbdas => null(), &
459 nacclbdar => null(), &
460 ndrylbdar => null(), &
461 ndrylbdas => null(), &
462 ndrylbdag => null(), &
463 nwetlbdas => null(), &
464 nwetlbdar => null(), &
465 nwetlbdag => null(), &
466 nwetlbdah => null()
467
468REAL, DIMENSION(:), POINTER :: xgaminc_rdsf_r => null(), &
469 xgaminc_rim1 => null(), &
470 xgaminc_rim2 => null(), &
471 xgaminc_rim4 => null(), &
472 xgaminc_hmc => null()
473REAL, DIMENSION(:,:), POINTER :: xgaminc_cibu_s => null(), &
474 xgaminc_cibu_g => null(), &
475 xker_raccss => null(), &
476 xker_raccs => null(), &
477 xker_saccrg => null(), &
478 xker_n_raccss => null(), &
479 xker_n_raccs => null(), &
480 xker_n_saccrg => null(), &
481 xker_sdryg => null(), &
482 xker_rdryg => null(), &
483 xker_n_sdryg => null(), &
484 xker_n_rdryg => null(), &
485 xker_sweth => null(), &
486 xker_rweth => null(), &
487 xker_gweth => null(), &
488 xker_n_sweth => null(), &
489 xker_n_rweth => null(), &
490 xker_n_gweth => null()
491CONTAINS
493USE yomhook, ONLY:lhook, dr_hook, jphook
494REAL(KIND=jphook) :: zhook_handle
495IF (lhook) CALL dr_hook('PARAM_LIMA_MIXED_ASSOCIATE', 0, zhook_handle)
496IF(.NOT. ASSOCIATED(xag)) THEN
497 xag => param_lima_mixed%XAG
498 xbg => param_lima_mixed%XBG
499 xcg => param_lima_mixed%XCG
500 xdg => param_lima_mixed%XDG
501 xccg => param_lima_mixed%XCCG
502 xcxg => param_lima_mixed%XCXG
503 xf0g => param_lima_mixed%XF0G
504 xf1g => param_lima_mixed%XF1G
505 xc1g => param_lima_mixed%XC1G
506 xlbexg => param_lima_mixed%XLBEXG
507 xlbg => param_lima_mixed%XLBG
508 xng => param_lima_mixed%XNG
509 xlbdag_max => param_lima_mixed%XLBDAG_MAX
510 xah => param_lima_mixed%XAH
511 xbh => param_lima_mixed%XBH
512 xch => param_lima_mixed%XCH
513 xdh => param_lima_mixed%XDH
514 xcch => param_lima_mixed%XCCH
515 xcxh => param_lima_mixed%XCXH
516 xf0h => param_lima_mixed%XF0H
517 xf1h => param_lima_mixed%XF1H
518 xc1h => param_lima_mixed%XC1H
519 xalphah => param_lima_mixed%XALPHAH
520 xnuh => param_lima_mixed%XNUH
521 xlbexh => param_lima_mixed%XLBEXH
522 xlbh => param_lima_mixed%XLBH
523 xdcslim_cibu_min => param_lima_mixed%XDCSLIM_CIBU_MIN
524 xdcslim_cibu_max => param_lima_mixed%XDCSLIM_CIBU_MAX
525 xdcglim_cibu_min => param_lima_mixed%XDCGLIM_CIBU_MIN
526 xgaminc_bound_cibu_smin => param_lima_mixed%XGAMINC_BOUND_CIBU_SMIN
527 xgaminc_bound_cibu_smax => param_lima_mixed%XGAMINC_BOUND_CIBU_SMAX
528 xgaminc_bound_cibu_gmin => param_lima_mixed%XGAMINC_BOUND_CIBU_GMIN
529 xgaminc_bound_cibu_gmax => param_lima_mixed%XGAMINC_BOUND_CIBU_GMAX
530 xcibuintp_s => param_lima_mixed%XCIBUINTP_S
531 xcibuintp1_s => param_lima_mixed%XCIBUINTP1_S
532 xcibuintp2_s => param_lima_mixed%XCIBUINTP2_S
533 xcibuintp_g => param_lima_mixed%XCIBUINTP_G
534 xcibuintp1_g => param_lima_mixed%XCIBUINTP1_G
535 xfactor_cibu_ni => param_lima_mixed%XFACTOR_CIBU_NI
536 xfactor_cibu_ri => param_lima_mixed%XFACTOR_CIBU_RI
537 xmomgg_cibu_1 => param_lima_mixed%XMOMGG_CIBU_1
538 xmomgg_cibu_2 => param_lima_mixed%XMOMGG_CIBU_2
539 xmomgs_cibu_1 => param_lima_mixed%XMOMGS_CIBU_1
540 xmomgs_cibu_2 => param_lima_mixed%XMOMGS_CIBU_2
541 xmomgs_cibu_3 => param_lima_mixed%XMOMGS_CIBU_3
542 xdcrlim_rdsf_min => param_lima_mixed%XDCRLIM_RDSF_MIN
543 xgaminc_bound_rdsf_rmin => param_lima_mixed%XGAMINC_BOUND_RDSF_RMIN
544 xgaminc_bound_rdsf_rmax => param_lima_mixed%XGAMINC_BOUND_RDSF_RMAX
545 xrdsfintp_r => param_lima_mixed%XRDSFINTP_R
546 xrdsfintp1_r => param_lima_mixed%XRDSFINTP1_R
547 xfactor_rdsf_ni => param_lima_mixed%XFACTOR_RDSF_NI
548 xmomgr_rdsf => param_lima_mixed%XMOMGR_RDSF
549 xtm_psh => param_lima_mixed%XTM_PSH
550 xsig_psh => param_lima_mixed%XSIG_PSH
551 xfsedg => param_lima_mixed%XFSEDG
552 xexsedg => param_lima_mixed%XEXSEDG
553 xfsedrg => param_lima_mixed%XFSEDRG
554 xfsedcg => param_lima_mixed%XFSEDCG
555 x0depg => param_lima_mixed%X0DEPG
556 x1depg => param_lima_mixed%X1DEPG
557 xex0depg => param_lima_mixed%XEX0DEPG
558 xex1depg => param_lima_mixed%XEX1DEPG
559 xhmtmin => param_lima_mixed%XHMTMIN
560 xhmtmax => param_lima_mixed%XHMTMAX
561 xhm1 => param_lima_mixed%XHM1
562 xhm2 => param_lima_mixed%XHM2
563 xhm_yield => param_lima_mixed%XHM_YIELD
564 xhm_collcs => param_lima_mixed%XHM_COLLCS
565 xhm_facts => param_lima_mixed%XHM_FACTS
566 xhm_collcg => param_lima_mixed%XHM_COLLCG
567 xhm_factg => param_lima_mixed%XHM_FACTG
568 xgaminc_hmc_bound_min => param_lima_mixed%XGAMINC_HMC_BOUND_MIN
569 xgaminc_hmc_bound_max => param_lima_mixed%XGAMINC_HMC_BOUND_MAX
570 xhmsintp1 => param_lima_mixed%XHMSINTP1
571 xhmsintp2 => param_lima_mixed%XHMSINTP2
572 xhmlintp1 => param_lima_mixed%XHMLINTP1
573 xhmlintp2 => param_lima_mixed%XHMLINTP2
574 xdcslim => param_lima_mixed%XDCSLIM
575 xcolcs => param_lima_mixed%XCOLCS
576 xexcrimss => param_lima_mixed%XEXCRIMSS
577 xcrimss => param_lima_mixed%XCRIMSS
578 xexcrimsg => param_lima_mixed%XEXCRIMSG
579 xcrimsg => param_lima_mixed%XCRIMSG
580 xexsrimcg => param_lima_mixed%XEXSRIMCG
581 xsrimcg => param_lima_mixed%XSRIMCG
582 xsrimcg2 => param_lima_mixed%XSRIMCG2
583 xsrimcg3 => param_lima_mixed%XSRIMCG3
584 xexsrimcg2 => param_lima_mixed%XEXSRIMCG2
585 xgaminc_bound_min => param_lima_mixed%XGAMINC_BOUND_MIN
586 xgaminc_bound_max => param_lima_mixed%XGAMINC_BOUND_MAX
587 xrimintp1 => param_lima_mixed%XRIMINTP1
588 xrimintp2 => param_lima_mixed%XRIMINTP2
589 xfraccss => param_lima_mixed%XFRACCSS
590 xfnraccss => param_lima_mixed%XFNRACCSS
591 xlbraccs1 => param_lima_mixed%XLBRACCS1
592 xlbraccs2 => param_lima_mixed%XLBRACCS2
593 xlbraccs3 => param_lima_mixed%XLBRACCS3
594 xlbnraccs1 => param_lima_mixed%XLBNRACCS1
595 xlbnraccs2 => param_lima_mixed%XLBNRACCS2
596 xlbnraccs3 => param_lima_mixed%XLBNRACCS3
597 xfsaccrg => param_lima_mixed%XFSACCRG
598 xfnsaccrg => param_lima_mixed%XFNSACCRG
599 xlbsaccr1 => param_lima_mixed%XLBSACCR1
600 xlbsaccr2 => param_lima_mixed%XLBSACCR2
601 xlbsaccr3 => param_lima_mixed%XLBSACCR3
602 xlbnsaccr1 => param_lima_mixed%XLBNSACCR1
603 xlbnsaccr2 => param_lima_mixed%XLBNSACCR2
604 xlbnsaccr3 => param_lima_mixed%XLBNSACCR3
605 xsclbdas_min => param_lima_mixed%XSCLBDAS_MIN
606 xsclbdas_max => param_lima_mixed%XSCLBDAS_MAX
607 xacclbdas_min => param_lima_mixed%XACCLBDAS_MIN
608 xacclbdas_max => param_lima_mixed%XACCLBDAS_MAX
609 xacclbdar_min => param_lima_mixed%XACCLBDAR_MIN
610 xacclbdar_max => param_lima_mixed%XACCLBDAR_MAX
611 xaccintp1s => param_lima_mixed%XACCINTP1S
612 xaccintp2s => param_lima_mixed%XACCINTP2S
613 xaccintp1r => param_lima_mixed%XACCINTP1R
614 xaccintp2r => param_lima_mixed%XACCINTP2R
615 xfscvmg => param_lima_mixed%XFSCVMG
616 xcolir => param_lima_mixed%XCOLIR
617 xexrcfri => param_lima_mixed%XEXRCFRI
618 xrcfri => param_lima_mixed%XRCFRI
619 xexicfrr => param_lima_mixed%XEXICFRR
620 xicfrr => param_lima_mixed%XICFRR
621 xfcdryg => param_lima_mixed%XFCDRYG
622 xcolcg => param_lima_mixed%XCOLCG
623 xcolig => param_lima_mixed%XCOLIG
624 xcolexig => param_lima_mixed%XCOLEXIG
625 xfidryg => param_lima_mixed%XFIDRYG
626 xcolsg => param_lima_mixed%XCOLSG
627 xcolexsg => param_lima_mixed%XCOLEXSG
628 xfsdryg => param_lima_mixed%XFSDRYG
629 xfnsdryg => param_lima_mixed%XFNSDRYG
630 xlbsdryg1 => param_lima_mixed%XLBSDRYG1
631 xlbsdryg2 => param_lima_mixed%XLBSDRYG2
632 xlbsdryg3 => param_lima_mixed%XLBSDRYG3
633 xlbnsdryg1 => param_lima_mixed%XLBNSDRYG1
634 xlbnsdryg2 => param_lima_mixed%XLBNSDRYG2
635 xlbnsdryg3 => param_lima_mixed%XLBNSDRYG3
636 xfrdryg => param_lima_mixed%XFRDRYG
637 xfnrdryg => param_lima_mixed%XFNRDRYG
638 xlbrdryg1 => param_lima_mixed%XLBRDRYG1
639 xlbrdryg2 => param_lima_mixed%XLBRDRYG2
640 xlbrdryg3 => param_lima_mixed%XLBRDRYG3
641 xlbnrdryg1 => param_lima_mixed%XLBNRDRYG1
642 xlbnrdryg2 => param_lima_mixed%XLBNRDRYG2
643 xlbnrdryg3 => param_lima_mixed%XLBNRDRYG3
644 xdrylbdar_min => param_lima_mixed%XDRYLBDAR_MIN
645 xdrylbdar_max => param_lima_mixed%XDRYLBDAR_MAX
646 xdrylbdas_min => param_lima_mixed%XDRYLBDAS_MIN
647 xdrylbdas_max => param_lima_mixed%XDRYLBDAS_MAX
648 xdrylbdag_min => param_lima_mixed%XDRYLBDAG_MIN
649 xdrylbdag_max => param_lima_mixed%XDRYLBDAG_MAX
650 xdryintp1r => param_lima_mixed%XDRYINTP1R
651 xdryintp2r => param_lima_mixed%XDRYINTP2R
652 xdryintp1s => param_lima_mixed%XDRYINTP1S
653 xdryintp2s => param_lima_mixed%XDRYINTP2S
654 xdryintp1g => param_lima_mixed%XDRYINTP1G
655 xdryintp2g => param_lima_mixed%XDRYINTP2G
656 xfsedh => param_lima_mixed%XFSEDH
657 xexsedh => param_lima_mixed%XEXSEDH
658 xfsedrh => param_lima_mixed%XFSEDRH
659 xfsedch => param_lima_mixed%XFSEDCH
660 x0deph => param_lima_mixed%X0DEPH
661 x1deph => param_lima_mixed%X1DEPH
662 xex0deph => param_lima_mixed%XEX0DEPH
663 xex1deph => param_lima_mixed%XEX1DEPH
664 xfweth => param_lima_mixed%XFWETH
665 xfsweth => param_lima_mixed%XFSWETH
666 xfnsweth => param_lima_mixed%XFNSWETH
667 xlbsweth1 => param_lima_mixed%XLBSWETH1
668 xlbsweth2 => param_lima_mixed%XLBSWETH2
669 xlbsweth3 => param_lima_mixed%XLBSWETH3
670 xlbnsweth1 => param_lima_mixed%XLBNSWETH1
671 xlbnsweth2 => param_lima_mixed%XLBNSWETH2
672 xlbnsweth3 => param_lima_mixed%XLBNSWETH3
673 xfgweth => param_lima_mixed%XFGWETH
674 xfngweth => param_lima_mixed%XFNGWETH
675 xlbgweth1 => param_lima_mixed%XLBGWETH1
676 xlbgweth2 => param_lima_mixed%XLBGWETH2
677 xlbgweth3 => param_lima_mixed%XLBGWETH3
678 xlbngweth1 => param_lima_mixed%XLBNGWETH1
679 xlbngweth2 => param_lima_mixed%XLBNGWETH2
680 xlbngweth3 => param_lima_mixed%XLBNGWETH3
681 xfrweth => param_lima_mixed%XFRWETH
682 xfnrweth => param_lima_mixed%XFNRWETH
683 xlbrweth1 => param_lima_mixed%XLBRWETH1
684 xlbrweth2 => param_lima_mixed%XLBRWETH2
685 xlbrweth3 => param_lima_mixed%XLBRWETH3
686 xlbnrweth1 => param_lima_mixed%XLBNRWETH1
687 xlbnrweth2 => param_lima_mixed%XLBNRWETH2
688 xlbnrweth3 => param_lima_mixed%XLBNRWETH3
689 xwetlbdas_min => param_lima_mixed%XWETLBDAS_MIN
690 xwetlbdas_max => param_lima_mixed%XWETLBDAS_MAX
691 xwetlbdag_min => param_lima_mixed%XWETLBDAG_MIN
692 xwetlbdag_max => param_lima_mixed%XWETLBDAG_MAX
693 xwetlbdar_min => param_lima_mixed%XWETLBDAR_MIN
694 xwetlbdar_max => param_lima_mixed%XWETLBDAR_MAX
695 xwetlbdah_min => param_lima_mixed%XWETLBDAH_MIN
696 xwetlbdah_max => param_lima_mixed%XWETLBDAH_MAX
697 xwetintp1s => param_lima_mixed%XWETINTP1S
698 xwetintp2s => param_lima_mixed%XWETINTP2S
699 xwetintp1r => param_lima_mixed%XWETINTP1R
700 xwetintp2r => param_lima_mixed%XWETINTP2R
701 xwetintp1g => param_lima_mixed%XWETINTP1G
702 xwetintp2g => param_lima_mixed%XWETINTP2G
703 xwetintp1h => param_lima_mixed%XWETINTP1H
704 xwetintp2h => param_lima_mixed%XWETINTP2H
705 xmindg => param_lima_mixed%XMINDG
706 xmaxlbdg => param_lima_mixed%XMAXLBDG
707
708 ngaminc => param_lima_mixed%NGAMINC
709 nacclbdas => param_lima_mixed%NACCLBDAS
710 nacclbdar => param_lima_mixed%NACCLBDAR
711 ndrylbdar => param_lima_mixed%NDRYLBDAR
712 ndrylbdas => param_lima_mixed%NDRYLBDAS
713 ndrylbdag => param_lima_mixed%NDRYLBDAG
714 nwetlbdas => param_lima_mixed%NWETLBDAS
715 nwetlbdar => param_lima_mixed%NWETLBDAR
716 nwetlbdag => param_lima_mixed%NWETLBDAG
717 nwetlbdah => param_lima_mixed%NWETLBDAH
718ENDIF
719IF (lhook) CALL dr_hook('PARAM_LIMA_MIXED_ASSOCIATE', 1, zhook_handle)
720END SUBROUTINE param_lima_mixed_associate
721!
722SUBROUTINE param_lima_mixed_allocate(HNAME, KDIM1, KDIM2)
723USE yomhook, ONLY:lhook, dr_hook, jphook
724 IMPLICIT NONE
725 CHARACTER(LEN=*), INTENT(IN) :: HNAME
726 INTEGER, INTENT(IN) :: KDIM1
727REAL(KIND=jphook) :: zhook_handle
728 INTEGER, OPTIONAL, INTENT(IN):: KDIM2
729
730 IF (lhook) CALL dr_hook('PARAM_LIMA_MIXED_ALLOCATE', 0, zhook_handle)
731 SELECT CASE(trim(hname))
732 !1d
733 CASE('XGAMINC_RDSF_R')
734 ALLOCATE(param_lima_mixed%XGAMINC_RDSF_R(kdim1))
735 xgaminc_rdsf_r => param_lima_mixed%XGAMINC_RDSF_R
736 CASE('XGAMINC_RIM1')
737 ALLOCATE(param_lima_mixed%XGAMINC_RIM1(kdim1))
738 xgaminc_rim1 => param_lima_mixed%XGAMINC_RIM1
739 CASE('XGAMINC_RIM2')
740 ALLOCATE(param_lima_mixed%XGAMINC_RIM2(kdim1))
741 xgaminc_rim2 => param_lima_mixed%XGAMINC_RIM2
742 CASE('XGAMINC_RIM4')
743 ALLOCATE(param_lima_mixed%XGAMINC_RIM4(kdim1))
744 xgaminc_rim4 => param_lima_mixed%XGAMINC_RIM4
745 CASE('XGAMINC_HMC')
746 ALLOCATE(param_lima_mixed%XGAMINC_HMC(kdim1))
747 xgaminc_hmc => param_lima_mixed%XGAMINC_HMC
748 !2d
749 CASE('XGAMINC_CIBU_S')
750 ALLOCATE(param_lima_mixed%XGAMINC_CIBU_S(kdim1, kdim2))
751 xgaminc_cibu_s => param_lima_mixed%XGAMINC_CIBU_S
752 CASE('XGAMINC_CIBU_G')
753 ALLOCATE(param_lima_mixed%XGAMINC_CIBU_G(kdim1, kdim2))
754 xgaminc_cibu_g => param_lima_mixed%XGAMINC_CIBU_G
755 CASE('XKER_RACCSS')
756 ALLOCATE(param_lima_mixed%XKER_RACCSS(kdim1, kdim2))
757 xker_raccss => param_lima_mixed%XKER_RACCSS
758 CASE('XKER_RACCS')
759 ALLOCATE(param_lima_mixed%XKER_RACCS(kdim1, kdim2))
760 xker_raccs => param_lima_mixed%XKER_RACCS
761 CASE('XKER_SACCRG')
762 ALLOCATE(param_lima_mixed%XKER_SACCRG(kdim1, kdim2))
763 xker_saccrg => param_lima_mixed%XKER_SACCRG
764 CASE('XKER_N_RACCSS')
765 ALLOCATE(param_lima_mixed%XKER_N_RACCSS(kdim1, kdim2))
766 xker_n_raccss => param_lima_mixed%XKER_N_RACCSS
767 CASE('XKER_N_RACCS')
768 ALLOCATE(param_lima_mixed%XKER_N_RACCS(kdim1, kdim2))
769 xker_n_raccs => param_lima_mixed%XKER_N_RACCS
770 CASE('XKER_N_SACCRG')
771 ALLOCATE(param_lima_mixed%XKER_N_SACCRG(kdim1, kdim2))
772 xker_n_saccrg => param_lima_mixed%XKER_N_SACCRG
773 CASE('XKER_SDRYG')
774 ALLOCATE(param_lima_mixed%XKER_SDRYG(kdim1, kdim2))
775 xker_sdryg => param_lima_mixed%XKER_SDRYG
776 CASE('XKER_RDRYG')
777 ALLOCATE(param_lima_mixed%XKER_RDRYG(kdim1, kdim2))
778 xker_rdryg => param_lima_mixed%XKER_RDRYG
779 CASE('XKER_N_SDRYG')
780 ALLOCATE(param_lima_mixed%XKER_N_SDRYG(kdim1, kdim2))
781 xker_n_sdryg => param_lima_mixed%XKER_N_SDRYG
782 CASE('XKER_N_RDRYG')
783 ALLOCATE(param_lima_mixed%XKER_N_RDRYG(kdim1, kdim2))
784 xker_n_rdryg => param_lima_mixed%XKER_N_RDRYG
785 CASE('XKER_SWETH')
786 ALLOCATE(param_lima_mixed%XKER_SWETH(kdim1, kdim2))
787 xker_sweth => param_lima_mixed%XKER_SWETH
788 CASE('XKER_GWETH')
789 ALLOCATE(param_lima_mixed%XKER_GWETH(kdim1, kdim2))
790 xker_gweth => param_lima_mixed%XKER_GWETH
791 CASE('XKER_RWETH')
792 ALLOCATE(param_lima_mixed%XKER_RWETH(kdim1, kdim2))
793 xker_rweth => param_lima_mixed%XKER_RWETH
794 CASE('XKER_N_SWETH')
795 ALLOCATE(param_lima_mixed%XKER_N_SWETH(kdim1, kdim2))
796 xker_n_sweth => param_lima_mixed%XKER_N_SWETH
797 CASE('XKER_N_GWETH')
798 ALLOCATE(param_lima_mixed%XKER_N_GWETH(kdim1, kdim2))
799 xker_n_gweth => param_lima_mixed%XKER_N_GWETH
800 CASE('XKER_N_RWETH')
801 ALLOCATE(param_lima_mixed%XKER_N_RWETH(kdim1, kdim2))
802 xker_n_rweth => param_lima_mixed%XKER_N_RWETH
803 END SELECT
804IF (lhook) CALL dr_hook('PARAM_LIMA_MIXED_ALLOCATE', 1, zhook_handle)
805END SUBROUTINE param_lima_mixed_allocate
806!
807!-------------------------------------------------------------------------------
808!
809END MODULE modd_param_lima_mixed
real, dimension(:,:), pointer xker_rdryg
real, dimension(:,:), pointer xgaminc_cibu_s
type(param_lima_mixed_t), target param_lima_mixed
real, dimension(:,:), pointer xker_n_sweth
real, dimension(:,:), pointer xker_n_sdryg
real, dimension(:,:), pointer xker_n_rdryg
real, dimension(:), pointer xgaminc_rim4
real, dimension(:,:), pointer xker_n_rweth
real, dimension(:,:), pointer xker_n_raccss
real, dimension(:,:), pointer xker_raccss
real, dimension(:,:), pointer xker_saccrg
real, dimension(:), pointer xgaminc_rdsf_r
real, dimension(:), pointer xgaminc_hmc
real, dimension(:,:), pointer xgaminc_cibu_g
real, dimension(:,:), pointer xker_sdryg
real, dimension(:), pointer xgaminc_rim1
real, dimension(:,:), pointer xker_rweth
real, dimension(:,:), pointer xker_n_saccrg
real, dimension(:,:), pointer xker_n_gweth
subroutine param_lima_mixed_allocate(hname, kdim1, kdim2)
real, dimension(:,:), pointer xker_sweth
real, dimension(:,:), pointer xker_raccs
real, dimension(:), pointer xgaminc_rim2
real, dimension(:,:), pointer xker_n_raccs
real, dimension(:,:), pointer xker_gweth