PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
rain_ice.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 1995-2025 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! ######spl
7 SUBROUTINE rain_ice ( D, CST, PARAMI, ICEP, ICED, ELECP, ELECD, BUCONF, &
8 LIMAP, LIMAC, LIMAM, &
9 OELEC, OSEDIM_BEARD, PTHVREFZIKB, &
10 PTSTEP, KRR, PEXN, &
11 PDZZ, PRHODJ, PRHODREF, PEXNREF, PPABST, PCIT, PCLDFR,&
12 PICLDFR, PSSIO, PSSIU, PIFR, &
13 PHLC_HRC, PHLC_HCF, PHLI_HRI, PHLI_HCF, &
14 PTHT, PRT, PTHS, PRS, &
15 PINPRC, PINPRR, PEVAP3D, &
16 PINPRS, PINPRG, PINDEP, PRAINFR, PSIGS, &
17 TBUDGETS, KBUDGETS, &
18 PQPIT, PQCT, PQRT, PQIT, PQST, PQGT, PQNIT, &
19 PQPIS, PQCS, PQRS, PQIS, PQSS, PQGS, PQNIS, &
20 PEFIELDW, PLATHAM_IAGGS, &
21 PSEA, PTOWN, PCONC3D, &
22 PINPRH, PFPR, PQHT, PQHS, &
23 PICENU, PRCRIAUTI, PRCRIAUTC )
24! #############################################################################
25!
26!!**** * - compute the explicit microphysical sources
27!!
28!! PURPOSE
29!! -------
30!! The purpose of this routine is to compute the slow microphysical sources
31!! which can be computed explicitly
32!!
33!!
34!!** METHOD
35!! ------
36!! The autoconversion computation follows Kessler (1969).
37!! The sedimentation rate is computed with a time spliting technique and
38!! an upstream scheme, written as a difference of non-advective fluxes. This
39!! source term is added to the future instant ( split-implicit process ).
40!! The others microphysical processes are evaluated at the central instant
41!! (split-explicit process ): autoconversion, accretion and rain evaporation.
42!! These last 3 terms are bounded in order not to create negative values
43!! for the water species at the future instant.
44!!
45!! EXTERNAL
46!! --------
47!! None
48!!
49!!
50!! IMPLICIT ARGUMENTS
51!! ------------------
52!! Module MODD_CST
53!! XP00 ! Reference pressure
54!! XRD,XRV ! Gaz constant for dry air, vapor
55!! XMD,XMV ! Molecular weight for dry air, vapor
56!! XCPD ! Cpd (dry air)
57!! XCL ! Cl (liquid)
58!! XCI ! Ci (solid)
59!! XTT ! Triple point temperature
60!! XLVTT ! Vaporization heat constant
61!! XALPW,XBETAW,XGAMW ! Constants for saturation vapor pressure
62!! function over liquid water
63!! XALPI,XBETAI,XGAMI ! Constants for saturation vapor pressure
64!! function over solid ice
65!!
66!! REFERENCE
67!! ---------
68!!
69!! Book1 and Book2 of documentation ( routine RAIN_ICE )
70!!
71!! AUTHOR
72!! ------
73!! J.-P. Pinty * Laboratoire d'Aerologie*
74!!
75!! MODIFICATIONS
76!! -------------
77!! Original 02/11/95
78!! (J.Viviand) 04/02/97 debug accumulated prcipitation & convert
79!! precipitation rate in m/s
80!! (J.-P. Pinty) 17/02/97 add budget calls
81!! (J.-P. Pinty) 17/11/97 set ice sedim. for cirrus ice, reset RCHONI
82!! and RRHONG, reverse order for DEALLOCATE
83!! (J.-P. Pinty) 11/02/98 correction of the air dynamical viscosity and
84!! add advance of the budget calls
85!! (J.-P. Pinty) 18/05/98 correction of the air density in the RIAUTS
86!! process
87!! (J.-P. Pinty) 18/11/98 split the main routine
88!! (V. Masson) 18/11/98 bug in IVEC1 and IVEC2 upper limits
89!! (J. Escobar & J.-P. Pinty)
90!! 11/12/98 contains and rewrite count+pack
91!! (J. Stein & J.-P. Pinty)
92!! 14/10/99 correction for very small RIT
93!! (J. Escobar & J.-P. Pinty)
94!! 24/07/00 correction for very samll m.r. in
95!! the sedimentation subroutine
96!! (M. Tomasini) 11/05/01 Autoconversion of rc into rr modification to take
97!! into account the subgrid variance
98!! (cf Redelsperger & Sommeria JAS 86)
99!! (G. Molinie) 21/05/99 bug in RRCFRIG process, RHODREF**(-1) missing
100!! in RSRIMCG
101!! (G. Molinie & J.-P. Pinty)
102!! 21/06/99 bug in RACCS process
103!! (P. Jabouille) 27/05/04 safety test for case where esw/i(T)> pabs (~Z>40km)
104!! (J-.P. Chaboureau) 12/02/05 temperature depending ice-to-snow autocon-
105!! version threshold (Chaboureau and Pinty GRL 2006)
106!! (J.-P. Pinty) 01/01/O1 add the hail category and correction of the
107!! wet growth rate of the graupeln
108!! (S.Remy & C.Lac) 06/06 Add the cloud sedimentation
109!! (S.Remy & C.Lac) 06/06 Sedimentation becoming the last process
110!! to settle the precipitating species created during the current time step
111!! (S.Remy & C.Lac) 06/06 Modification of the algorithm of sedimentation
112!! to settle n times the precipitating species created during Dt/n instead
113!! of Dt
114!! (C.Lac) 11/06 Optimization of the sedimentation loop for NEC
115!! (J.Escobar) 18/01/2008 Parallel Bug in Budget when IMICRO >= 1
116!! --> Path inhibit this test by IMICRO >= 0 allway true
117!! (Y.Seity) 03/2008 Add Statistic sedimentation
118!! (Y.Seity) 10/2009 Added condition for the raindrop accretion of the aggregates
119!! into graupeln process (5.2.6) to avoid negative graupel mixing ratio
120!! (V.Masson, C.Lac) 09/2010 Correction in split sedimentation for
121!! reproducibility
122!! (S. Riette) Oct 2010 Better vectorisation of RAIN_ICE_SEDIMENTATION_STAT
123!! (Y. Seity), 02-2012 add possibility to run with reversed vertical levels
124!! (L. Bengtsson), 02-2013 Passing in land/sea mask and town fraction in
125!! order to use different cloud droplet number conc. over
126!! land, sea and urban areas in the cloud sedimentation.
127!! (D. Degrauwe), 2013-11: Export upper-air precipitation fluxes PFPR.
128!! (S. Riette) Nov 2013 Protection against null sigma
129!! (C. Lac) FIT temporal scheme : instant M removed
130!! (JP Pinty), 01-2014 : ICE4 : partial reconversion of hail to graupel
131!! July, 2015 (O.Nuissier/F.Duffourg) Add microphysics diagnostic for
132!! aircraft, ballon and profiler
133!! J.Escobar : 15/09/2015 : WENO5 & JPHEXT <> 1
134!! C.Lac : 10/2016 : add droplet deposition
135!! C.Lac : 01/2017 : correction on droplet deposition
136!! J.Escobar : 10/2017 : for real*4 , limit exp() in RAIN_ICE_SLOW with XMNH_HUGE_12_LOG
137!! (C. Abiven, Y. Léauté, V. Seigner, S. Riette) Phasing of Turner rain subgrid param
138!! (S. Riette) Source code split into several files
139!! 02/2019 C.Lac add rain fraction as an output field
140!! P. Wautelet 10/04/2019: replace ABORT and STOP calls by Print_msg
141!! P. Wautelet 28/05/2019: move COUNTJV function to tools.f90
142!! P. Wautelet 29/05/2019: remove PACK/UNPACK intrinsics (to get more performance and better OpenACC support)
143!! P. Wautelet 17/01/2020: move Quicksort to tools.f90
144!! P. Wautelet 02/2020: use the new data structures and subroutines for budgets
145!! P. Wautelet 25/02/2020: bugfix: add missing budget: WETH_BU_RRG
146!! R. El Khatib 24-Aug-2021 Optimizations
147! J. Wurtz 03/2022: New snow characteristics with LSNOW_T
148! C. Barthe 03/2023: Add call to cloud electrification
149! C. Barthe 06/2023: Add retroaction of electric field on IAGGS
150! C. Barthe 07/2023: use new data structures for electricity
151!! S. Riette Sept 23: e from ice4_tendencies
152!-----------------------------------------------------------------
153!
154!* 0. DECLARATIONS
155! ------------
156!
157USE yomhook , ONLY : lhook, dr_hook, jphook
158
159USE modd_dimphyex, ONLY: dimphyex_t
161USE modd_cst, ONLY: cst_t
168
169USE modi_rain_ice_part1, ONLY: rain_ice_part1
170USE modi_ice4_pack , ONLY: ice4_pack
171USE modi_rain_ice_part3, ONLY: rain_ice_part3
172!
176!
177IMPLICIT NONE
178!
179!* 0.1 Declarations of dummy arguments :
180!
181!
182!
183TYPE(dimphyex_t), INTENT(IN) :: D
184TYPE(cst_t), INTENT(IN) :: CST
185TYPE(param_ice_t), INTENT(IN) :: PARAMI
186TYPE(rain_ice_param_t), INTENT(IN) :: ICEP
187TYPE(rain_ice_descr_t), INTENT(IN) :: ICED
188TYPE(elec_param_t), INTENT(IN) :: ELECP ! electrical parameters
189TYPE(elec_descr_t), INTENT(IN) :: ELECD ! electrical descriptive csts
190TYPE(tbudgetconf_t), INTENT(IN) :: BUCONF
191TYPE(param_lima_t),INTENT(IN)::LIMAP
192TYPE(param_lima_cold_t),INTENT(IN)::LIMAC
193TYPE(param_lima_mixed_t),INTENT(IN)::LIMAM
194LOGICAL, INTENT(IN) :: OELEC ! Switch for cloud electricity
195LOGICAL, INTENT(IN) :: OSEDIM_BEARD ! Switch for effect of electrical forces on sedim.
196REAL, INTENT(IN) :: PTHVREFZIKB ! Reference thv at IKB for electricity
197REAL, INTENT(IN) :: PTSTEP ! Double Time step (single if cold start)
198INTEGER, INTENT(IN) :: KRR ! Number of moist variable
199!
200REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PEXN ! Exner function
201REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PDZZ ! Layer thikness (m)
202REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PRHODJ ! Dry density * Jacobian
203REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PRHODREF! Reference density
204REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PEXNREF ! Reference Exner function
205REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PPABST ! absolute pressure at t
206!
207REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PCIT ! Pristine ice n.c. at t
208REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PCLDFR ! Cloud fraction
209! OCND2
210REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PICLDFR ! Ice cloud fraction
211REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PSSIO ! Super-saturation with respect to ice in the supersaturated fraction
212REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PSSIU ! Sub-saturation with respect to ice in the subsaturated fraction
213REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PIFR ! Ratio cloud ice moist part to dry part
214
215REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PHLC_HRC
216REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PHLC_HCF
217REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PHLI_HRI
218REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PHLI_HCF
219!
220REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PTHT ! Theta at time t
221REAL, DIMENSION(D%NIJT,D%NKT,KRR), INTENT(IN) :: PRT ! m.r. at t
222!
223REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PTHS ! Theta source
224REAL, DIMENSION(D%NIJT,D%NKT,KRR), INTENT(INOUT) :: PRS ! m.r. source
225!
226REAL, DIMENSION(D%NIJT), INTENT(OUT) :: PINPRC! Cloud instant precip
227REAL, DIMENSION(D%NIJT), INTENT(OUT) :: PINPRR! Rain instant precip
228REAL, DIMENSION(D%NIJT,D%NKT), INTENT(OUT) :: PEVAP3D! Rain evap profile
229REAL, DIMENSION(D%NIJT), INTENT(OUT) :: PINPRS! Snow instant precip
230REAL, DIMENSION(D%NIJT), INTENT(OUT) :: PINPRG! Graupel instant precip
231REAL, DIMENSION(D%NIJT), INTENT(OUT) :: PINDEP ! Cloud instant deposition
232REAL, DIMENSION(D%NIJT,D%NKT), INTENT(OUT) :: PRAINFR !Precipitation fraction
233REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PSIGS ! Sigma_s at t
234!
235TYPE(tbudgetdata_ptr), DIMENSION(KBUDGETS), INTENT(INOUT) :: TBUDGETS
236INTEGER, INTENT(IN) :: KBUDGETS
237!
238! scalar variables for cloud electricity
239REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(IN) :: PQPIT ! Positive ion -
240REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQCT ! Cloud droplet |
241REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQRT ! Rain | electric
242REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQIT ! Ice crystals | charge
243REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQST ! Snow | at t
244REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQGT ! Graupel |
245REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(IN) :: PQNIT ! Negative ion -
246!
247REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQPIS ! Positive ion -
248REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQCS ! Cloud droplet |
249REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQRS ! Rain | electric
250REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQIS ! Ice crystals | charge
251REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQSS ! Snow | source
252REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQGS ! Graupel |
253REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQNIS ! Negative ion -
254!
255REAL, DIMENSION(MERGE(D%NIJT,0,OSEDIM_BEARD),MERGE(D%NKT,0,OSEDIM_BEARD)), OPTIONAL, INTENT(IN) :: PEFIELDW ! vertical elec. field
256REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(IN) :: PLATHAM_IAGGS ! E Function to simulate
257 ! enhancement of IAGGS
258!
259! optional variables
260REAL, DIMENSION(D%NIJT), OPTIONAL, INTENT(IN) :: PSEA ! Sea Mask
261REAL, DIMENSION(D%NIJT), OPTIONAL, INTENT(IN) :: PTOWN ! Fraction that is town
262REAL, DIMENSION(D%NIJT,D%NKT), OPTIONAL, INTENT(IN) :: PCONC3D ! Cloud droplet number concentration
263REAL, DIMENSION(D%NIJT), OPTIONAL, INTENT(OUT) :: PINPRH ! Hail instant precip
264REAL, DIMENSION(D%NIJT,D%NKT,KRR), OPTIONAL, INTENT(OUT) :: PFPR ! upper-air precipitation fluxes
265REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQHT ! Hail electric charge at t
266REAL, DIMENSION(MERGE(D%NIJT,0,OELEC),MERGE(D%NKT,0,OELEC)), OPTIONAL, INTENT(INOUT) :: PQHS ! Hail electric charge source
267!
268REAL, DIMENSION(D%NIJT), OPTIONAL, INTENT(IN) :: PICENU
269REAL, DIMENSION(D%NIJT), OPTIONAL, INTENT(IN) :: PRCRIAUTI
270REAL, DIMENSION(D%NIJT), OPTIONAL, INTENT(IN) :: PRCRIAUTC
271!
272!* 0.2 Local variable declarations
273!
274REAL(KIND=jphook) :: zhook_handle
275!
276REAL, DIMENSION(D%NIJT,D%NKT) :: ZT
277REAL, DIMENSION(D%NIJT,D%NKT) :: ZZ_LVFACT
278REAL, DIMENSION(D%NIJT,D%NKT) :: ZZ_LSFACT
279REAL, DIMENSION(D%NIJT,D%NKT,7) :: ZWR
280REAL, DIMENSION(D%NIJT,D%NKT) :: ZWTH
281REAL, DIMENSION(D%NIJT,D%NKT) :: ZCONC3D
282LOGICAL, DIMENSION(D%NIJT,D%NKT) :: LLMICRO
283REAL, DIMENSION(D%NIJT,D%NKT) :: ZZ_RVHENI
284REAL, DIMENSION(D%NIJT,D%NKT) :: ZZZZ
285REAL, DIMENSION(MERGE(D%NIJT,0,OELEC .OR. BUCONF%LBU_ENABLE), & MERGE(D%NKT,0,OELEC .OR. BUCONF%LBU_ENABLE), & MERGE(IBUNUM-IBUNUM_EXTRA,0,OELEC .OR. BUCONF%LBU_ENABLE)) :: &
286 ZBUDGETS
287!
288!-------------------------------------------------------------------------------
289IF (lhook) CALL dr_hook('RAIN_ICE', 0, zhook_handle)
290!
291CALL rain_ice_part1 ( d, cst, parami, icep, iced, elecp, elecd, buconf, &
292 oelec, osedim_beard, pthvrefzikb, &
293 ptstep, krr, pexn, &
294 pdzz, prhodj, prhodref, ppabst, pcit, pcldfr, &
295 picldfr, pssio, &
296 phlc_hrc, phlc_hcf, phli_hri, phli_hcf, &
297 ptht, prt, pths, prs, &
298 pinprc, pinprr, pevap3d, &
299 pinprs, pinprg, prainfr, psigs, &
300 prcriauti, prcriautc, &
301 tbudgets, kbudgets, &
302 pqct, pqrt, pqit, pqst, pqgt, &
303 pqcs, pqrs, pqis, pqss, pqgs, &
304 pefieldw, &
305 psea, ptown, pconc3d, &
306 pinprh, pfpr, pqht, pqhs, &
307 zt, zz_lvfact, zz_lsfact, zwr, zwth, zconc3d, llmicro,&
308 zz_rvheni, zzzz )
309!
310CALL ice4_pack(d, cst, parami, icep, iced, buconf, &
311 ptstep, krr, oelec, llmicro, oelec, pexn, &
312 prhodref, ppabst, pcit, pcldfr, &
313 phlc_hcf, phlc_hrc, phli_hcf, phli_hri, &
314 pths, prs, &
315 pevap3d, &
316 prainfr, psigs, zwth, zwr, &
317 picldfr, zzzz, zconc3d, &
318 pssio, pssiu, pifr, &
319 zbudgets, platham_iaggs, prcriauti, prcriautc, &
320 picenu)
321!
322CALL rain_ice_part3 ( d, cst, parami, icep, iced, elecp, elecd, buconf, &
323 limap, limac, limam, &
324 oelec, osedim_beard, pthvrefzikb, &
325 ptstep, krr, &
326 pdzz, prhodj, prhodref, pexnref, ppabst, pcit, &
327 ptht, prt, pths, prs, &
328 pinprc, pinprr, &
329 pinprs, pinprg, pindep, prainfr, &
330 tbudgets, kbudgets, &
331 pqpit, pqct, pqrt, pqit, pqst, pqgt, pqnit, &
332 pqpis, pqcs, pqrs, pqis, pqss, pqgs, pqnis, &
333 pefieldw, &
334 psea, ptown, &
335 pinprh, pfpr, pqht, pqhs, &
336 zt, zz_lvfact, zz_lsfact, zwr, zwth, zconc3d, &
337 zz_rvheni, zbudgets )
338!
339IF (lhook) CALL dr_hook('RAIN_ICE', 1, zhook_handle)
340!
341END SUBROUTINE rain_ice
342
subroutine ice4_pack(d, cst, parami, icep, iced, buconf, ptstep, krr, osave_micro, ldmicro, oelec, pexn, prhodref, ppabst, pcit, pcldfr, phlc_hcf, phlc_hrc, phli_hcf, phli_hri, pths, prs, prrevav, prainfr, psigs, ptht, prt, picldfr, pzzz, pconc3d, pssio, pssiu, pifr, pbudgets, platham_iaggs, prcriauti, prcriautc, picenu)
Definition ice4_pack.F90:13
integer, parameter ibunum_extra
integer, parameter ibunum
subroutine rain_ice(d, cst, parami, icep, iced, elecp, elecd, buconf, limap, limac, limam, oelec, osedim_beard, pthvrefzikb, ptstep, krr, pexn, pdzz, prhodj, prhodref, pexnref, ppabst, pcit, pcldfr, picldfr, pssio, pssiu, pifr, phlc_hrc, phlc_hcf, phli_hri, phli_hcf, ptht, prt, pths, prs, pinprc, pinprr, pevap3d, pinprs, pinprg, pindep, prainfr, psigs, tbudgets, kbudgets, pqpit, pqct, pqrt, pqit, pqst, pqgt, pqnit, pqpis, pqcs, pqrs, pqis, pqss, pqgs, pqnis, pefieldw, platham_iaggs, psea, ptown, pconc3d, pinprh, pfpr, pqht, pqhs, picenu, prcriauti, prcriautc)
Definition rain_ice.F90:24
subroutine rain_ice_part1(d, cst, parami, icep, iced, elecp, elecd, buconf, oelec, osedim_beard, pthvrefzikb, ptstep, krr, pexn, pdzz, prhodj, prhodref, ppabst, pcit, pcldfr, picldfr, pssio, phlc_hrc, phlc_hcf, phli_hri, phli_hcf, ptht, prt, pths, prs, pinprc, pinprr, pevap3d, pinprs, pinprg, prainfr, psigs, prcriauti, prcriautc, tbudgets, kbudgets, pqct, pqrt, pqit, pqst, pqgt, pqcs, pqrs, pqis, pqss, pqgs, pefieldw, psea, ptown, pconc3d, pinprh, pfpr, pqht, pqhs, pt, plvfact, plsfact, pwr, pwth, pzconc3d, omicro, prvheni, pzzzz)
subroutine rain_ice_part3(d, cst, parami, icep, iced, elecp, elecd, buconf, limap, limac, limam, oelec, osedim_beard, pthvrefzikb, ptstep, krr, pdzz, prhodj, prhodref, pexnref, ppabst, pcit, ptht, prt, pths, prs, pinprc, pinprr, pinprs, pinprg, pindep, prainfr, tbudgets, kbudgets, pqpit, pqct, pqrt, pqit, pqst, pqgt, pqnit, pqpis, pqcs, pqrs, pqis, pqss, pqgs, pqnis, pefieldw, psea, ptown, pinprh, pfpr, pqht, pqhs, pt, plvfact, plsfact, pwr, pwth, pconc3d, prvheni, zbudgets)