PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
modd_param_lima_cold.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 2013-2024 CNRS, Meteo-France and Universite Paul Sabatier
2!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
3!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4!MNH_LIC for details. version 1.
5!-----------------------------------------------------------------
6! ###########################
8
9!$ACDC methods
10
11! ###########################
12!> @file
13!!**** *MODD_PARAM_LIMA_COLD* - declaration of some descriptive parameters and
14!! microphysical factors extensively used in
15!! the LIMA cold scheme.
16!! AUTHOR
17!! ------
18!! J.-P. Pinty *Laboratoire d'Aerologie*
19!! S. Berthet * Laboratoire d'Aerologie*
20!! B. Vié * Laboratoire d'Aerologie*
21!!
22!! MODIFICATIONS
23!! -------------
24!! Original ??/??/13
25!! C. Barthe 14/03/2022 add CIBU and RDSF
26! J. Wurtz 03/2022: new snow characteristics
27! M. Taufour 07/2022: add concentration for snow, graupel, hail
28! C. Barthe 01/2024: add several ice crystal shapes
29!! M. Taufour 03/2024: add ice crystal self collection (ISC)
30!!
31!-------------------------------------------------------------------------------
33!
34IMPLICIT NONE
35!
36!* 1. DESCRIPTIVE PARAMETERS
37! ----------------------
38!
39! Declaration of microphysical constants, including the descriptive
40! parameters for the raindrop and the ice crystal habits, and the
41! parameters relevant of the dimensional distributions.
42!
43! m(D) = XAx * D**XBx : Mass-MaxDim relationship
44! v(D) = XCx * D**XDx : Fallspeed-MaxDim relationship
45! N(Lbda) = XCCx * Lbda**XCXx : NumberConc-Slopeparam relationship
46! XF0x, XF1x, XF2x : Ventilation factors
47! XC1x : Shape parameter for deposition
48!
49! and
50!
51! XALPHAx, XNUx : Generalized GAMMA law
52! Lbda = XLBx * (r_x*rho_dref)**XLBEXx : Slope parameter of the
53! distribution law
54!
56REAL :: xlbexi,xlbi ! Prist. ice distribution parameters
57REAL :: xlbexs,xlbs,xns ! Snow/agg. distribution parameters
58!
59REAL :: xai,xbi,xc_i,xdi ,xf0i,xf2i,xc1i ! Cloud ice charact.
60REAL :: xf0is,xf1is ! (large Di vent. coef.)
61REAL :: xdeltai, xgammai ! cloud ice area-diameter parameters
62REAL :: xas,xbs,xcs,xds,xccs,xcxs,xf0s,xf1s,xc1s ! Snow/agg. charact.
63!
64REAL :: xlbdas_min, xlbdas_max ! Max values allowed for the shape parameter of snow
65REAL :: xfvelos ! Wurtz - snow fall speed parameterizaed after Thompson 2008
66REAL :: xtrans_mp_gammas ! Wurtz - change between lambda value for MP and gen. gamma
67!
68REAL :: xreffi ! constante for ice crystal effective radius for ecRad
69!
70REAL, DIMENSION(:), ALLOCATABLE :: xlbexi_shape, & ! pristine ice distrib. parameters
71 xlbi_shape ! when several shapes
72REAL, DIMENSION(:), ALLOCATABLE :: xai_shape, xbi_shape, & ! a and b parameters of the mass-diam relationship
73 xc_i_shape, xdi_shape, & ! c and d parameters of the fallspeed-diam relationship
74 xgammai_shape, xdeltai_shape, & ! g and d parameters of proj area-diam relationship
75 xc1i_shape !
76!-------------------------------------------------------------------------------
77!
78!* 2. MICROPHYSICAL FACTORS
79! ---------------------
80!
81REAL :: xfsedri,xfsedci, & ! Constants for sedimentation
82 xfsedrs,xfsedcs, & !
83 xfseds, xexseds ! fluxes of ice and snow
84!
85REAL :: xnuc_dep,xexsi_dep,xex_dep, & ! Constants for heterogeneous
86 xnuc_con,xextt_con,xex_con, & ! ice nucleation : DEP et CON
87 xmnu0 ! mass of nucleated ice crystal
88!
89REAL :: xrhoi_honh,xcexp_difvap_honh, & ! Constants for homogeneous
90 xcoef_difvap_honh,xrcoef_honh, & ! haze freezing : HHONI
95!
96REAL :: xc_honc,xr_honc, & ! Constants for homogeneous
97 xtexp1_honc,xtexp2_honc, & ! droplet freezing : CHONI
100!
102 xrhorsmin, &
103 xdscnvi_lim, xlbdascnvi_lim, & ! Constants for snow
104 xc0depsi,xc1depsi, & ! sublimation conversion to
105 xr0depsi,xr1depsi ! pristine ice : SCNVI
106!
107REAL :: xscfac, & ! Constants for the Bergeron
108 x0depi,x2depi, & ! Findeisen process and
109 x0deps,x1deps,xex0deps,xex1deps ! deposition
110!
111REAL :: xdicnvs_lim, xlbdaicnvs_lim, & ! Constants for pristine ice
112 xc0depis,xc1depis, & ! deposition conversion to
113 xr0depis,xr1depis ! snow : ICNVS
114!
115REAL :: xcolis, xcolexis, & ! Constants for snow
116 xaggs_clarge1,xaggs_clarge2, & ! aggregation : AGG
119!
120REAL :: xaccs1, xsponbuds1, xsponbuds2, & ! Constant for snow
121 xsponbuds3, xsponcoefs2 ! spontaneous break-up
122!
123!??????????????????
124REAL :: xker_zrnic_a1,xker_zrnic_a2 ! Long-Zrnic Kernels (ini_ice_coma)
125!
126REAL,DIMENSION(:,:), ALLOCATABLE :: xker_n_sscs
128 xlbnsscs1,xlbnsscs2, & ! Constants for snow self collection
130INTEGER :: nsclbdas !
131
132! for ice self-collection
133REAL,DIMENSION(:,:), ALLOCATABLE :: xker_n_isci
135 xlbnisci1,xlbnisci2, & ! Constants for ice self collection
138REAL, DIMENSION(:), ALLOCATABLE :: xfiscs, xlbiscs1, xlbiscs2, xlbiscs3
139REAL, DIMENSION(:,:,:), ALLOCATABLE :: xker_r_isci_shape
140REAL, DIMENSION(:,:,:,:), ALLOCATABLE :: xker_n_isci_shape
141INTEGER :: nsclbdai
142!
143REAL :: xauto3, xauto4, & ! Constants for pristine ice
144 xlauts, xlauts_threshold, & ! autoconversion : AUT
145 xitauts, xitauts_threshold, & ! (ini_ice_com)
147!
148REAL :: xconci_max ! Limitation of the pristine
149 ! ice concentration (init and grid-nesting)
150REAL :: xfreffi ! Factor to compute the cloud ice effective radius
151!
152! For ICE4 nucleation
153REAL :: xalpha1
154REAL :: xalpha2
155REAL :: xbeta1
156REAL :: xbeta2
157REAL :: xnu10
158REAL :: xnu20
159! For ice crystal shapes
160! pour le moment, on les met en allocatable. Peut-etre faudra t-il le modifier par la suite
161! Constants for sedimentation
162REAL, DIMENSION(:), ALLOCATABLE :: xfsedci_shape ! Constant per habit: N
163REAL, DIMENSION(:), ALLOCATABLE :: xfsedri_shape ! Constant per habit: mr
164REAL, DIMENSION(:), ALLOCATABLE :: xfsedri_tot_shape ! Constant per habit: mr
165! Constants for sublimation conversion to pristine ice
166REAL, DIMENSION(:), ALLOCATABLE :: xc0depsi_shape, xc1depsi_shape, & ! sublimation conversion to
167 xr0depsi_shape, xr1depsi_shape ! pristine ice : SCNVI
168! Constants for vapor deposition on ice
169REAL, DIMENSION(:), ALLOCATABLE :: x0depi_shape, & ! vapor deposition on ice
171! Constants for sublimation conversion to pristine ice
172REAL, DIMENSION(:), ALLOCATABLE :: xc0depis_shape, xc1depis_shape, & ! sublimation conversion to
173 xr0depis_shape, xr1depis_shape ! pristine ice : SCNVI
174! Constants for snow
175REAL, DIMENSION(:), ALLOCATABLE :: xaggs_rlarge1_shape, & ! Constants for snow
177!
178REAL, DIMENSION(:), ALLOCATABLE :: xfreffi_shape ! Factor to compute the cloud ice effective radius
179!
180END TYPE param_lima_cold_t
181!
182TYPE(param_lima_cold_t), TARGET, SAVE :: param_lima_cold
183!
184REAL, POINTER :: xlbexi => null(), &
185 xlbi => null(), &
186 xlbexs => null(), &
187 xlbs => null(), &
188 xns => null(), &
189 xai => null(), &
190 xbi => null(), &
191 xgammai => null(), &
192 xdeltai => null(), &
193 xc_i => null(), &
194 xdi => null(), &
195 xf0i => null(), &
196 xf2i => null(), &
197 xc1i => null(), &
198 xf0is => null(), &
199 xf1is => null(), &
200 xas => null(), &
201 xbs => null(), &
202 xcs => null(), &
203 xds => null(), &
204 xccs => null(), &
205 xcxs => null(), &
206 xf0s => null(), &
207 xf1s => null(), &
208 xc1s => null(), &
209 xlbdas_min => null(), &
210 xlbdas_max => null(), &
211 xfvelos => null(), &
212 xtrans_mp_gammas => null(), &
213 xreffi => null(), &
214 xfsedri => null(), &
215 xfsedci => null(), &
216 xfsedrs => null(), &
217 xfsedcs => null(), &
218 xfseds => null(), &
219 xexseds => null(), &
220 xnuc_dep => null(), &
221 xexsi_dep => null(), &
222 xex_dep => null(), &
223 xnuc_con => null(), &
224 xextt_con => null(), &
225 xex_con => null(), &
226 xmnu0 => null(), &
227 xrhoi_honh => null(), &
228 xcexp_difvap_honh => null(), &
229 xcoef_difvap_honh => null(), &
230 xrcoef_honh => null(), &
231 xcritsat1_honh => null(), &
232 xcritsat2_honh => null(), &
233 xtmin_honh => null(), &
234 xtmax_honh => null(), &
235 xdlnjodt1_honh => null(), &
236 xdlnjodt2_honh => null(), &
237 xc1_honh => null(), &
238 xc2_honh => null(), &
239 xc3_honh => null(), &
240 xc_honc => null(), &
241 xr_honc => null(), &
242 xtexp1_honc => null(), &
243 xtexp2_honc => null(), &
244 xtexp3_honc => null(), &
245 xtexp4_honc => null(), &
246 xtexp5_honc => null(), &
247 xcscnvi_max => null(), &
248 xlbdascnvi_max => null(), &
249 xrhorsmin => null(), &
250 xdscnvi_lim => null(), &
251 xlbdascnvi_lim => null(), &
252 xc0depsi => null(), &
253 xc1depsi => null(), &
254 xr0depsi => null(), &
255 xr1depsi => null(), &
256 xscfac => null(), &
257 x0depi => null(), &
258 x2depi => null(), &
259 x0deps => null(), &
260 x1deps => null(), &
261 xex0deps => null(), &
262 xex1deps => null(), &
263 xdicnvs_lim => null(), &
264 xlbdaicnvs_lim => null(), &
265 xc0depis => null(), &
266 xc1depis => null(), &
267 xr0depis => null(), &
268 xr1depis => null(), &
269 xcolis => null(), &
270 xcolexis => null(), &
271 xaggs_clarge1 => null(), &
272 xaggs_clarge2 => null(), &
273 xaggs_rlarge1 => null(), &
274 xaggs_rlarge2 => null(), &
275 xfiaggs => null(), &
276 xexiaggs => null(), &
277 xaccs1 => null(), &
278 xsponbuds1 => null(), &
279 xsponbuds2 => null(), &
280 xsponbuds3 => null(), &
281 xsponcoefs2 => null(), &
282 xker_zrnic_a1 => null(), &
283 xker_zrnic_a2 => null(), &
284 xselfi => null(), &
285 xcolss => null(), &
286 xcolexss => null(), &
287 xfnsscs => null(), &
288 xlbnsscs1 => null(), &
289 xlbnsscs2 => null(), &
290 xscintp1s => null(), &
291 xscintp2s => null(), &
292 xcolii => null(), &
293 xcolexii => null(), &
294 xfnisci => null(), &
295 xlbnisci1 => null(), &
296 xlbnisci2 => null(), &
297 xscintp1i => null(), &
298 xscintp2i => null(), &
299 xsclbdai_min => null(),&
300 xsclbdai_max => null(),&
301 xauto3 => null(), &
302 xauto4 => null(), &
303 xlauts => null(), &
304 xlauts_threshold => null(), &
305 xitauts => null(), &
306 xitauts_threshold => null(), &
307 xtexauti => null(), &
308 xtimauti => null(), &
309 xconci_max => null(), &
310 xfreffi => null(), &
311 xalpha1 => null(), &
312 xalpha2 => null(), &
313 xbeta1 => null(), &
314 xbeta2 => null(), &
315 xnu10 => null(), &
316 xnu20 => null()
317INTEGER, POINTER :: nsclbdas => null()
318REAL,DIMENSION(:,:),POINTER :: xker_n_sscs => null()
319! for ice self-collection
320INTEGER, POINTER :: nsclbdai => null()
321REAL,DIMENSION(:,:), POINTER :: xker_n_isci => null()
322REAL,DIMENSION(:), POINTER :: xlbiscs1 => null(), &
323 xlbiscs2 => null(), &
324 xlbiscs3 => null(), &
325 xfiscs => null()
326REAL,DIMENSION(:,:,:), POINTER :: xker_r_isci_shape => null()
327REAL,DIMENSION(:,:,:,:),POINTER :: xker_n_isci_shape => null()
328! For ice crystal shapes
329REAL, DIMENSION(:), POINTER :: xlbexi_shape => null()
330REAL, DIMENSION(:), POINTER :: xlbi_shape => null()
331REAL, DIMENSION(:), POINTER :: xai_shape => null()
332REAL, DIMENSION(:), POINTER :: xbi_shape => null()
333REAL, DIMENSION(:), POINTER :: xc_i_shape => null()
334REAL, DIMENSION(:), POINTER :: xdi_shape => null()
335REAL, DIMENSION(:), POINTER :: xgammai_shape => null()
336REAL, DIMENSION(:), POINTER :: xdeltai_shape => null()
337REAL, DIMENSION(:), POINTER :: xc1i_shape => null()
338REAL, DIMENSION(:), POINTER :: xfsedci_shape => null()
339REAL, DIMENSION(:), POINTER :: xfsedri_shape => null()
340REAL, DIMENSION(:), POINTER :: xfsedri_tot_shape => null()
341REAL, DIMENSION(:), POINTER :: xc0depsi_shape => null()
342REAL, DIMENSION(:), POINTER :: xc1depsi_shape => null()
343REAL, DIMENSION(:), POINTER :: xr0depsi_shape => null()
344REAL, DIMENSION(:), POINTER :: xr1depsi_shape => null()
345REAL, DIMENSION(:), POINTER :: x0depi_shape => null()
346REAL, DIMENSION(:), POINTER :: x2depi_shape => null()
347REAL, DIMENSION(:), POINTER :: xc0depis_shape => null()
348REAL, DIMENSION(:), POINTER :: xc1depis_shape => null()
349REAL, DIMENSION(:), POINTER :: xr0depis_shape => null()
350REAL, DIMENSION(:), POINTER :: xr1depis_shape => null()
351REAL, DIMENSION(:), POINTER :: xaggs_rlarge1_shape => null()
352REAL, DIMENSION(:), POINTER :: xaggs_rlarge2_shape => null()
353REAL, DIMENSION(:), POINTER :: xfreffi_shape => null()
354!--cb--
355CHARACTER(LEN=JPSVNAMELGTMAX),DIMENSION(8),PARAMETER &
356 :: clima_cold_names=(/'CICE ','CSNOW ','CGRAUPEL','CHAIL ',&
357 'CIFNFREE','CIFNNUCL', &
358 'CCNINIMM','CCCNNUCL'/)
359 ! basenames of the SV articles stored
360 ! in the binary files
361 !with IF:Ice-nuclei Free (nonactivated IFN by Dep/Cond)
362 ! IN:Ice-nuclei Nucleated (activated IFN by Dep/Cond)
363 ! NI:Nuclei Immersed (activated IFN by Imm)
364 ! HF:Homogeneous Freezing
365CHARACTER(LEN=JPSVNAMELGTMAX),DIMENSION(8),PARAMETER &
366 :: clima_cold_conc=(/'NI ','NS ','NG ','NH ','NIF','NIN','NNI','NNH'/)!for DIAG
367CHARACTER(LEN=JPSVNAMELGTMAX),DIMENSION(4),PARAMETER &
368 :: clima_shape_names=(/'CICE ','CICE2 ','CICE3 ','CICE4 '/)
369 ! basenames of the SV articles stored
370 ! in the binary files
371 !with 1 - PLA : plates
372 ! 2 - COL : Columns
373 ! 3 - BUR : bullet-rosettes
374 ! 4 - POL : droxtals
375CHARACTER(LEN=5),DIMENSION(4),PARAMETER &
376 :: clima_shape_conc=(/'N_001','N_002','N_003','N_004'/)!for DIAG
377
378!
379CONTAINS
381USE yomhook, ONLY:lhook, dr_hook, jphook
382IMPLICIT NONE
383REAL(KIND=jphook) :: zhook_handle
384IF (lhook) CALL dr_hook('PARAM_LIMA_COLD_ASSOCIATE', 0, zhook_handle)
385IF(.NOT. ASSOCIATED(xlbexi)) THEN
386 xlbexi => param_lima_cold%XLBEXI
387 xlbi => param_lima_cold%XLBI
388 xlbexs => param_lima_cold%XLBEXS
389 xlbs => param_lima_cold%XLBS
390 xns => param_lima_cold%XNS
391 xai => param_lima_cold%XAI
392 xbi => param_lima_cold%XBI
393 xgammai => param_lima_cold%XGAMMAI
394 xdeltai => param_lima_cold%XDELTAI
395 xc_i => param_lima_cold%XC_I
396 xdi => param_lima_cold%XDI
397 xf0i => param_lima_cold%XF0I
398 xf2i => param_lima_cold%XF2I
399 xc1i => param_lima_cold%XC1I
400 xf0is => param_lima_cold%XF0IS
401 xf1is => param_lima_cold%XF1IS
402 xas => param_lima_cold%XAS
403 xbs => param_lima_cold%XBS
404 xcs => param_lima_cold%XCS
405 xds => param_lima_cold%XDS
406 xccs => param_lima_cold%XCCS
407 xcxs => param_lima_cold%XCXS
408 xf0s => param_lima_cold%XF0S
409 xf1s => param_lima_cold%XF1S
410 xc1s => param_lima_cold%XC1S
411 xlbdas_min => param_lima_cold%XLBDAS_MIN
412 xlbdas_max => param_lima_cold%XLBDAS_MAX
413 xfvelos => param_lima_cold%XFVELOS
414 xtrans_mp_gammas => param_lima_cold%XTRANS_MP_GAMMAS
415 xreffi => param_lima_cold%XREFFI
416 xfsedri => param_lima_cold%XFSEDRI
417 xfsedci => param_lima_cold%XFSEDCI
418 xfsedrs => param_lima_cold%XFSEDRS
419 xfsedcs => param_lima_cold%XFSEDCS
420 xfseds => param_lima_cold%XFSEDS
421 xexseds => param_lima_cold%XEXSEDS
422 xnuc_dep => param_lima_cold%XNUC_DEP
423 xexsi_dep => param_lima_cold%XEXSI_DEP
424 xex_dep => param_lima_cold%XEX_DEP
425 xnuc_con => param_lima_cold%XNUC_CON
426 xextt_con => param_lima_cold%XEXTT_CON
427 xex_con => param_lima_cold%XEX_CON
428 xmnu0 => param_lima_cold%XMNU0
429 xrhoi_honh => param_lima_cold%XRHOI_HONH
430 xcexp_difvap_honh => param_lima_cold%XCEXP_DIFVAP_HONH
431 xcoef_difvap_honh => param_lima_cold%XCOEF_DIFVAP_HONH
432 xrcoef_honh => param_lima_cold%XRCOEF_HONH
433 xcritsat1_honh => param_lima_cold%XCRITSAT1_HONH
434 xcritsat2_honh => param_lima_cold%XCRITSAT2_HONH
435 xtmin_honh => param_lima_cold%XTMIN_HONH
436 xtmax_honh => param_lima_cold%XTMAX_HONH
437 xdlnjodt1_honh => param_lima_cold%XDLNJODT1_HONH
438 xdlnjodt2_honh => param_lima_cold%XDLNJODT2_HONH
439 xc1_honh => param_lima_cold%XC1_HONH
440 xc2_honh => param_lima_cold%XC2_HONH
441 xc3_honh => param_lima_cold%XC3_HONH
442 xc_honc => param_lima_cold%XC_HONC
443 xr_honc => param_lima_cold%XR_HONC
444 xtexp1_honc => param_lima_cold%XTEXP1_HONC
445 xtexp2_honc => param_lima_cold%XTEXP2_HONC
446 xtexp3_honc => param_lima_cold%XTEXP3_HONC
447 xtexp4_honc => param_lima_cold%XTEXP4_HONC
448 xtexp5_honc => param_lima_cold%XTEXP5_HONC
449 xcscnvi_max => param_lima_cold%XCSCNVI_MAX
450 xlbdascnvi_max => param_lima_cold%XLBDASCNVI_MAX
451 xrhorsmin => param_lima_cold%XRHORSMIN
452 xdscnvi_lim => param_lima_cold%XDSCNVI_LIM
453 xlbdascnvi_lim => param_lima_cold%XLBDASCNVI_LIM
454 xc0depsi => param_lima_cold%XC0DEPSI
455 xc1depsi => param_lima_cold%XC1DEPSI
456 xr0depsi => param_lima_cold%XR0DEPSI
457 xr1depsi => param_lima_cold%XR1DEPSI
458 xscfac => param_lima_cold%XSCFAC
459 x0depi => param_lima_cold%X0DEPI
460 x2depi => param_lima_cold%X2DEPI
461 x0deps => param_lima_cold%X0DEPS
462 x1deps => param_lima_cold%X1DEPS
463 xex0deps => param_lima_cold%XEX0DEPS
464 xex1deps => param_lima_cold%XEX1DEPS
465 xdicnvs_lim => param_lima_cold%XDICNVS_LIM
466 xlbdaicnvs_lim => param_lima_cold%XLBDAICNVS_LIM
467 xc0depis => param_lima_cold%XC0DEPIS
468 xc1depis => param_lima_cold%XC1DEPIS
469 xr0depis => param_lima_cold%XR0DEPIS
470 xr1depis => param_lima_cold%XR1DEPIS
471 xcolis => param_lima_cold%XCOLIS
472 xcolexis => param_lima_cold%XCOLEXIS
473 xaggs_clarge1 => param_lima_cold%XAGGS_CLARGE1
474 xaggs_clarge2 => param_lima_cold%XAGGS_CLARGE2
475 xaggs_rlarge1 => param_lima_cold%XAGGS_RLARGE1
476 xaggs_rlarge2 => param_lima_cold%XAGGS_RLARGE2
477 xfiaggs => param_lima_cold%XFIAGGS
478 xexiaggs => param_lima_cold%XEXIAGGS
479 xaccs1 => param_lima_cold%XACCS1
480 xsponbuds1 => param_lima_cold%XSPONBUDS1
481 xsponbuds2 => param_lima_cold%XSPONBUDS2
482 xsponbuds3 => param_lima_cold%XSPONBUDS3
483 xsponcoefs2 => param_lima_cold%XSPONCOEFS2
484 xker_zrnic_a1 => param_lima_cold%XKER_ZRNIC_A1
485 xker_zrnic_a2 => param_lima_cold%XKER_ZRNIC_A2
486 xselfi => param_lima_cold%XSELFI
487 xcolss => param_lima_cold%XCOLSS
488 xcolexss => param_lima_cold%XCOLEXSS
489 xfnsscs => param_lima_cold%XFNSSCS
490 xlbnsscs1 => param_lima_cold%XLBNSSCS1
491 xlbnsscs2 => param_lima_cold%XLBNSSCS2
492 xscintp1s => param_lima_cold%XSCINTP1S
493 xscintp2s => param_lima_cold%XSCINTP2S
494 xauto3 => param_lima_cold%XAUTO3
495 xauto4 => param_lima_cold%XAUTO4
496 xlauts => param_lima_cold%XLAUTS
497 xlauts_threshold => param_lima_cold%XLAUTS_THRESHOLD
498 xitauts => param_lima_cold%XITAUTS
499 xitauts_threshold => param_lima_cold%XITAUTS_THRESHOLD
500 xtexauti => param_lima_cold%XTEXAUTI
501 xtimauti => param_lima_cold%XTIMAUTI
502 xconci_max => param_lima_cold%XCONCI_MAX
503 xfreffi => param_lima_cold%XFREFFI
504 xalpha1 => param_lima_cold%XALPHA1
505 xalpha2 => param_lima_cold%XALPHA2
506 xbeta1 => param_lima_cold%XBETA1
507 xbeta2 => param_lima_cold%XBETA2
508 xnu10 => param_lima_cold%XNU10
509 xnu20 => param_lima_cold%XNU20
510 nsclbdas => param_lima_cold%NSCLBDAS
511 xcolii => param_lima_cold%XCOLII
512 xcolexii => param_lima_cold%XCOLEXII
513 xfnisci => param_lima_cold%XFNISCI
514 xlbnisci1 => param_lima_cold%XLBNISCI1
515 xlbnisci2 => param_lima_cold%XLBNISCI2
516 nsclbdai => param_lima_cold%NSCLBDAI
517 xsclbdai_min => param_lima_cold%XSCLBDAI_MIN
518 xsclbdai_max => param_lima_cold%XSCLBDAI_MAX
519 xscintp1i => param_lima_cold%XSCINTP1I
520 xscintp2i => param_lima_cold%XSCINTP2I
521ENDIF
522IF (lhook) CALL dr_hook('PARAM_LIMA_COLD_ASSOCIATE', 1, zhook_handle)
523END SUBROUTINE param_lima_cold_associate
524!
525SUBROUTINE param_lima_cold_allocate(HNAME, KDIM1, KDIM2)
526USE yomhook, ONLY:lhook, dr_hook, jphook
527 IMPLICIT NONE
528 CHARACTER(LEN=*), INTENT(IN) :: HNAME
529 INTEGER, INTENT(IN) :: KDIM1
530REAL(KIND=jphook) :: zhook_handle
531 INTEGER, INTENT(IN) :: KDIM2
532
533 IF (lhook) CALL dr_hook('PARAM_LIMA_COLD_ALLOCATE', 0, zhook_handle)
534 SELECT CASE(trim(hname))
535 CASE('XKER_N_SSCS')
536 ALLOCATE(param_lima_cold%XKER_N_SSCS(kdim1, kdim2))
537 xker_n_sscs => param_lima_cold%XKER_N_SSCS
538 END SELECT
539 SELECT CASE(trim(hname))
540 CASE('XKER_N_ISCI')
541 ALLOCATE(param_lima_cold%XKER_N_ISCI(kdim1, kdim2))
542 xker_n_isci => param_lima_cold%XKER_N_ISCI
543 END SELECT
544IF (lhook) CALL dr_hook('PARAM_LIMA_COLD_ALLOCATE', 1, zhook_handle)
545END SUBROUTINE param_lima_cold_allocate
546!
547! 24/01/24
548SUBROUTINE param_lima_cold_allocate_1d(HNAME, KDIM1)
549 IMPLICIT NONE
550 CHARACTER(LEN=*), INTENT(IN) :: HNAME
551 INTEGER, INTENT(IN) :: KDIM1
552
553 SELECT CASE(trim(hname))
554 CASE('XLBEXI_SHAPE')
555 ALLOCATE(param_lima_cold%XLBEXI_SHAPE(kdim1))
556 xlbexi_shape => param_lima_cold%XLBEXI_SHAPE
557 CASE('XLBI_SHAPE')
558 ALLOCATE(param_lima_cold%XLBI_SHAPE(kdim1))
559 xlbi_shape => param_lima_cold%XLBI_SHAPE
560 CASE('XAI_SHAPE')
561 ALLOCATE(param_lima_cold%XAI_SHAPE(kdim1))
562 xai_shape => param_lima_cold%XAI_SHAPE
563 CASE('XBI_SHAPE')
564 ALLOCATE(param_lima_cold%XBI_SHAPE(kdim1))
565 xbi_shape => param_lima_cold%XBI_SHAPE
566 CASE('XC_I_SHAPE')
567 ALLOCATE(param_lima_cold%XC_I_SHAPE(kdim1))
568 xc_i_shape => param_lima_cold%XC_I_SHAPE
569 CASE('XDI_SHAPE')
570 ALLOCATE(param_lima_cold%XDI_SHAPE(kdim1))
571 xdi_shape => param_lima_cold%XDI_SHAPE
572 CASE('XGAMMAI_SHAPE')
573 ALLOCATE(param_lima_cold%XGAMMAI_SHAPE(kdim1))
574 xgammai_shape => param_lima_cold%XGAMMAI_SHAPE
575 CASE('XDELTAI_SHAPE')
576 ALLOCATE(param_lima_cold%XDELTAI_SHAPE(kdim1))
577 xdeltai_shape => param_lima_cold%XDELTAI_SHAPE
578 CASE('XC1I_SHAPE')
579 ALLOCATE(param_lima_cold%XC1I_SHAPE(kdim1))
580 xc1i_shape => param_lima_cold%XC1I_SHAPE
581 CASE('XFSEDCI_SHAPE')
582 ALLOCATE(param_lima_cold%XFSEDCI_SHAPE(kdim1))
583 xfsedci_shape => param_lima_cold%XFSEDCI_SHAPE
584 CASE('XFSEDRI_SHAPE')
585 ALLOCATE(param_lima_cold%XFSEDRI_SHAPE(kdim1))
586 xfsedri_shape => param_lima_cold%XFSEDRI_SHAPE
587 CASE('XFSEDRI_TOT_SHAPE')
588 ALLOCATE(param_lima_cold%XFSEDRI_TOT_SHAPE(kdim1))
589 xfsedri_tot_shape => param_lima_cold%XFSEDRI_TOT_SHAPE
590 CASE('XC0DEPSI_SHAPE')
591 ALLOCATE(param_lima_cold%XC0DEPSI_SHAPE(kdim1))
592 xc0depsi_shape => param_lima_cold%XC0DEPSI_SHAPE
593 CASE('XC1DEPSI_SHAPE')
594 ALLOCATE(param_lima_cold%XC1DEPSI_SHAPE(kdim1))
595 xc1depsi_shape => param_lima_cold%XC1DEPSI_SHAPE
596 CASE('XR0DEPSI_SHAPE')
597 ALLOCATE(param_lima_cold%XR0DEPSI_SHAPE(kdim1))
598 xr0depsi_shape => param_lima_cold%XR0DEPSI_SHAPE
599 CASE('XR1DEPSI_SHAPE')
600 ALLOCATE(param_lima_cold%XR1DEPSI_SHAPE(kdim1))
601 xr1depsi_shape => param_lima_cold%XR1DEPSI_SHAPE
602 CASE('X0DEPI_SHAPE')
603 ALLOCATE(param_lima_cold%X0DEPI_SHAPE(kdim1))
604 x0depi_shape => param_lima_cold%X0DEPI_SHAPE
605 CASE('X2DEPI_SHAPE')
606 ALLOCATE(param_lima_cold%X2DEPI_SHAPE(kdim1))
607 x2depi_shape => param_lima_cold%X2DEPI_SHAPE
608 CASE('XC0DEPIS_SHAPE')
609 ALLOCATE(param_lima_cold%XC0DEPIS_SHAPE(kdim1))
610 xc0depis_shape => param_lima_cold%XC0DEPIS_SHAPE
611 CASE('XC1DEPIS_SHAPE')
612 ALLOCATE(param_lima_cold%XC1DEPIS_SHAPE(kdim1))
613 xc1depis_shape => param_lima_cold%XC1DEPIS_SHAPE
614 CASE('XR0DEPIS_SHAPE')
615 ALLOCATE(param_lima_cold%XR0DEPIS_SHAPE(kdim1))
616 xr0depis_shape => param_lima_cold%XR0DEPIS_SHAPE
617 CASE('XR1DEPIS_SHAPE')
618 ALLOCATE(param_lima_cold%XR1DEPIS_SHAPE(kdim1))
619 xr1depis_shape => param_lima_cold%XR1DEPIS_SHAPE
620 CASE('XAGGS_RLARGE1_SHAPE')
621 ALLOCATE(param_lima_cold%XAGGS_RLARGE1_SHAPE(kdim1))
622 xaggs_rlarge1_shape => param_lima_cold%XAGGS_RLARGE1_SHAPE
623 CASE('XAGGS_RLARGE2_SHAPE')
624 ALLOCATE(param_lima_cold%XAGGS_RLARGE2_SHAPE(kdim1))
625 xaggs_rlarge2_shape => param_lima_cold%XAGGS_RLARGE2_SHAPE
626 CASE('XFREFFI_SHAPE')
627 ALLOCATE(param_lima_cold%XFREFFI_SHAPE(kdim1))
628 xfreffi_shape => param_lima_cold%XFREFFI_SHAPE
629 !
630 CASE('XLBISCS1')
631 ALLOCATE(param_lima_cold%XLBISCS1(kdim1))
632 xlbiscs1 => param_lima_cold%XLBISCS1
633 CASE('XLBISCS2')
634 ALLOCATE(param_lima_cold%XLBISCS2(kdim1))
635 xlbiscs2 => param_lima_cold%XLBISCS2
636 CASE('XLBISCS3')
637 ALLOCATE(param_lima_cold%XLBISCS3(kdim1))
638 xlbiscs3 => param_lima_cold%XLBISCS3
639 CASE('XFISCS')
640 ALLOCATE(param_lima_cold%XFISCS(kdim1))
641 xfiscs => param_lima_cold%XFISCS
642 !
643 END SELECT
644END SUBROUTINE param_lima_cold_allocate_1d
645!
646!
647SUBROUTINE param_lima_cold_allocate_3d(HNAME, KDIM1, KDIM2, KDIM3)
648 IMPLICIT NONE
649 CHARACTER(LEN=*), INTENT(IN) :: HNAME
650 INTEGER, INTENT(IN) :: KDIM1
651 INTEGER, INTENT(IN) :: KDIM2
652 INTEGER, INTENT(IN) :: KDIM3
653
654 SELECT CASE(trim(hname))
655 CASE('XKER_R_ISCI_SHAPE')
656 ALLOCATE(param_lima_cold%XKER_R_ISCI_SHAPE(kdim1, kdim2, kdim3))
657 xker_r_isci_shape => param_lima_cold%XKER_R_ISCI_SHAPE
658 END SELECT
659END SUBROUTINE param_lima_cold_allocate_3d
660!
661SUBROUTINE param_lima_cold_allocate_4d(HNAME, KDIM1, KDIM2, KDIM3, KDIM4)
662 IMPLICIT NONE
663 CHARACTER(LEN=*), INTENT(IN) :: HNAME
664 INTEGER, INTENT(IN) :: KDIM1
665 INTEGER, INTENT(IN) :: KDIM2
666 INTEGER, INTENT(IN) :: KDIM3
667 INTEGER, INTENT(IN) :: KDIM4
668
669 SELECT CASE(trim(hname))
670 CASE('XKER_N_ISCI_SHAPE')
671 ALLOCATE(param_lima_cold%XKER_N_ISCI_SHAPE(kdim1, kdim2, kdim3, kdim4))
672 xker_n_isci_shape => param_lima_cold%XKER_N_ISCI_SHAPE
673 END SELECT
674END SUBROUTINE param_lima_cold_allocate_4d
675!
676!-------------------------------------------------------------------------------
677!
678END MODULE modd_param_lima_cold
real, dimension(:), pointer xc1depis_shape
subroutine param_lima_cold_allocate_3d(hname, kdim1, kdim2, kdim3)
real, dimension(:), pointer x0depi_shape
real, dimension(:,:,:,:), pointer xker_n_isci_shape
real, dimension(:), pointer xdeltai_shape
character(len=jpsvnamelgtmax), dimension(8), parameter clima_cold_conc
real, dimension(:), pointer xfreffi_shape
type(param_lima_cold_t), target, save param_lima_cold
real, dimension(:), pointer xc_i_shape
real, dimension(:), pointer xlbiscs3
real, dimension(:), pointer xc0depis_shape
real, dimension(:), pointer xlbi_shape
subroutine param_lima_cold_allocate_1d(hname, kdim1)
real, dimension(:,:), pointer xker_n_sscs
real, dimension(:), pointer xfsedri_shape
character(len=jpsvnamelgtmax), dimension(8), parameter clima_cold_names
real, dimension(:), pointer xc0depsi_shape
real, dimension(:), pointer xai_shape
real, dimension(:), pointer xdi_shape
real, dimension(:), pointer xfiscs
real, dimension(:), pointer xlbiscs2
real, dimension(:), pointer xc1i_shape
real, dimension(:,:,:), pointer xker_r_isci_shape
real, dimension(:), pointer xfsedri_tot_shape
real, dimension(:), pointer xaggs_rlarge2_shape
real, dimension(:), pointer xbi_shape
real, dimension(:), pointer xc1depsi_shape
real, dimension(:), pointer xaggs_rlarge1_shape
real, dimension(:), pointer xr0depis_shape
real, dimension(:), pointer xfsedci_shape
subroutine param_lima_cold_allocate(hname, kdim1, kdim2)
real, dimension(:), pointer xgammai_shape
real, dimension(:), pointer xr1depis_shape
subroutine param_lima_cold_allocate_4d(hname, kdim1, kdim2, kdim3, kdim4)
real, dimension(:,:), pointer xker_n_isci
real, dimension(:), pointer xlbexi_shape
real, dimension(:), pointer xr1depsi_shape
character(len=jpsvnamelgtmax), dimension(4), parameter clima_shape_names
real, dimension(:), pointer x2depi_shape
real, dimension(:), pointer xlbiscs1
character(len=5), dimension(4), parameter clima_shape_conc
real, dimension(:), pointer xr0depsi_shape
integer, parameter jpsvnamelgtmax