PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
mode_turb_hor_splt.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 1994-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.
6IMPLICIT NONE
7CONTAINS
8 SUBROUTINE turb_hor_splt(D,CST,CSTURB,TURBN,NEBN,TLES, &
9 KSPLIT, KRR,KRRL,KRRI,KSV, KSV_LGBEG,KSV_LGEND,&
10 PTSTEP,HLBCX,HLBCY, OFLAT, O2D, ONOMIXLG, &
11 OOCEAN,OCOMPUTE_SRC,OBLOWSNOW,PRSNOW, &
12 TPFILE, KHALO, &
13 PDXX,PDYY,PDZZ,PDZX,PDZY,PZZ, &
14 PDIRCOSXW,PDIRCOSYW,PDIRCOSZW, &
15 PCOSSLOPE,PSINSLOPE, &
16 PRHODJ,PTHVREF, &
17 PSFTHM,PSFRM,PSFSVM, &
18 PCDUEFF,PTAU11M,PTAU12M,PTAU22M,PTAU33M, &
19 PUM,PVM,PWM,PUSLOPEM,PVSLOPEM,PTHLM,PRM,PSVM, &
20 PTKEM,PLM,PLEPS, &
21 PLOCPEXNM,PATHETA,PAMOIST,PSRCM,PFRAC_ICE, &
22 PTURB_SPP,PDP,PTP,PSIGS, &
23 PTRH, &
24 PRUS,PRVS,PRWS,PRTHLS,PRRS,PRSVS )
25! ################################################################
26!
27!
28!!**** *TURB_HOR* -routine to compute the source terms in the meso-NH
29!! model equations due to the non-vertical turbulent fluxes.
30!!
31!! PURPOSE
32!! -------
33! The purpose of this routine is to compute the non-vertical
34! turbulent fluxes of the evolutive variables and give back the
35! source terms to the main program.
36!
37!!** METHOD
38!! ------
39!! Complementary 3D calculations when running at high resolution;
40!! The non-vertical turbulent fluxes are computed explicitly. The
41!! contributions are cumulated in PRvarS and in DP and TP of TKE
42!
43! d(rho*T) = -d(rho*u'T'/dxx) -d(-rho*u'T'*dzx/dxx/dzz)
44! / dt / dx /dz
45!!
46!!
47!! Near the bottom of the model, uncentred evaluation of vertical
48!! gradients are required because no field values are available under
49!! the level where the gradient must be evaluated. In this case, the
50!! gradient is computed with a second order accurate uncentred scheme
51!! according to:
52!!
53!! D FF dzz3 (dzz3+dzz4)
54!! ---- = - ----------------- FF(4) + ----------------- FF(3)
55!! D z (dzz3+dzz4) dzz4 dzz3 dzz4
56!!
57!! dzz4 + 2 dzz3
58!! - ----------------- FF(2)
59!! (dzz3+dzz4) dzz3
60!!
61!! where the values are taken from:
62!!
63!! ----- FF(5)
64!! |
65!! | dzz5
66!! |
67!! ----- FF(4)
68!! |
69!! | dzz4
70!! |
71!! ----- FF(3)
72!! |
73!! | dzz3
74!! |
75!! ----- FF(2) , (D FF / DZ)
76!! | dzz2 * 0.5
77!! ----- ground
78!!
79!!
80!!
81!! EXTERNAL
82!! --------
83!! GX_M_U, GY_M_V
84!! GX_M_M, GY_M_M, GZ_M_M
85!! GY_U_UV,GX_V_UV
86!! GX_U_M, GY_V_M, GZ_W_M
87!! GX_W_UW,GY_W_UW
88!! : Cartesian vertical gradient operators
89!!
90!!
91!! MXM,MXF,MYM,MYF,MZM,MZF
92!! : Shuman functions (mean operators)
93!! DXM,DXF.DYM,DYF,DZM,DZF
94!! : Shuman functions (difference operators)
95!!
96!!
97!! IMPLICIT ARGUMENTS
98!! ------------------
99!! Module MODD_CST : contains physical constants
100!!
101!! XG : gravity constant
102!!
103!! Module MODD_CTURB: contains the set of constants for
104!! the turbulence scheme
105!!
106!! XCMFS,XCMFB : cts for the momentum flux
107!! XCSHF : ct for the sensible heat flux
108!! XCHF : ct for the moisture flux
109!! XCTV,XCHV : cts for the T and moisture variances
110!!
111!! Module MODD_PARAMETERS
112!!
113!! JPVEXT : number of vertical external points
114!!
115!! HPROGRAM
116!!
117!!
118!! REFERENCE
119!! ---------
120!! Book 2 of documentation (routine TURB_HOR)
121!! Book 1 of documentation (Chapter: Turbulence)
122!!
123!! AUTHOR
124!! ------
125!! Joan Cuxart * INM and Meteo-France *
126!!
127!! MODIFICATIONS
128!! -------------
129!! Original Aug 29, 1994
130!! Modifications: Feb 14, 1995 (J.Cuxart and J.Stein)
131!! Doctorization and Optimization
132!! March 21, 1995 (J.M. Carriere)
133!! Introduction of cloud water
134!! June 14, 1995 (J. Stein)
135!! rm the ZVTPV computation + bug in the all
136!! or nothing condens. case
137!! June 28, 1995 (J.Cuxart) Add the LES tools
138!! Sept 19, 1995 (J. Stein) change the surface flux
139!! computations
140!! Nov 13, 1995 (J. Stein) include the tangential fluxes
141!! bug in <u'w'> at the surface
142!! Nov 27, 1997 (V. Saravane) spliting of the routine
143!! Nov 27, 1997 (V. Masson) clearing of the routine
144!! Mar 07, 2001 (V. Masson and J. Stein) time splitting
145!! + major bugs correction for slopes
146!! Nov 06, 2002 (V. Masson) LES budgets
147!! Feb 20, 2003 (JP Pinty) Add PFRAC_ICE
148!! Oct.2009 (C.Lac) Introduction of different PTSTEP according to the
149!! advection schemes
150!! J.Escobar : 15/09/2015 : WENO5 & JPHEXT <> 1
151!! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
152! P. Wautelet 20/05/2019: add name argument to ADDnFIELD_ll + new ADD4DFIELD_ll subroutine
153!! --------------------------------------------------------------------------
154!
155!* 0. DECLARATIONS
156! ------------
157!
158USE modd_cst, ONLY: cst_t
159USE modd_cturb, ONLY: csturb_t
160USE modd_dimphyex, ONLY : dimphyex_t
161USE modd_les, ONLY: tles_t
162USE modd_turb_n, ONLY: turb_t, nturb_s
163USE modd_neb_n, ONLY: neb_t
164!
165USE modd_io, ONLY: tfiledata
166USE modd_parameters, ONLY: jpvext
167!
168!
169USE mode_turb_hor, ONLY: turb_hor
172!
173USE modd_argslist_ll, ONLY : list_ll
174USE mode_ll, ONLY: cleanlist_ll
176!
177IMPLICIT NONE
178!
179!
180!* 0.1 declaration of arguments
181!
182!
183TYPE(dimphyex_t), INTENT(IN) :: D
184TYPE(cst_t), INTENT(IN) :: CST
185TYPE(csturb_t), INTENT(IN) :: CSTURB
186TYPE(turb_t), INTENT(IN) :: TURBN
187TYPE(neb_t), INTENT(IN) :: NEBN
188TYPE(tles_t), INTENT(INOUT):: TLES ! modd_les structure
189INTEGER, INTENT(IN) :: KSPLIT ! number of time splitting
190INTEGER, INTENT(IN) :: KRR ! number of moist var.
191INTEGER, INTENT(IN) :: KRRL ! number of liquid water var.
192INTEGER, INTENT(IN) :: KRRI ! number of ice water var.
193INTEGER, INTENT(IN) :: KSV,KSV_LGBEG,KSV_LGEND ! number of sv var.
194REAL, INTENT(IN) :: PTSTEP ! timestep
195CHARACTER (LEN=*), DIMENSION(:), INTENT(IN) :: HLBCX,HLBCY
196LOGICAL, INTENT(IN) :: OFLAT ! Logical for zero ororography
197LOGICAL, INTENT(IN) :: ONOMIXLG ! to use turbulence for lagrangian variables (modd_conf)
198LOGICAL, INTENT(IN) :: O2D ! Logical for 2D model version (modd_conf)
199LOGICAL, INTENT(IN) :: OOCEAN ! switch for Ocean model version
200LOGICAL, INTENT(IN) :: OCOMPUTE_SRC ! flag to define dimensions of SIGS and SRCT variables
201LOGICAL, INTENT(IN) :: OBLOWSNOW ! switch to activate pronostic blowing snow
202INTEGER, INTENT(IN) :: KHALO ! Size of the halo for parallel distribution
203REAL, INTENT(IN) :: PRSNOW ! Ratio for diffusion coeff. scalar (blowing snow)
204TYPE(tfiledata), INTENT(INOUT) :: TPFILE ! Output file
205!
206REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PDXX, PDYY, PDZZ, PDZX, PDZY
207 ! Metric coefficients
208REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PZZ ! vertical grid
209REAL, DIMENSION(D%NIJT), INTENT(IN) :: PDIRCOSXW, PDIRCOSYW, PDIRCOSZW
210! Director Cosinus along x, y and z directions at surface w-point
211REAL, DIMENSION(D%NIJT), INTENT(IN) :: PCOSSLOPE ! cosinus of the angle
212 ! between i and the slope vector
213REAL, DIMENSION(D%NIJT), INTENT(IN) :: PSINSLOPE ! sinus of the angle
214 ! between i and the slope vector
215REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PRHODJ ! density * grid volume
216REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PTHVREF ! ref. state VPT
217!
218REAL, DIMENSION(D%NIJT), INTENT(IN) :: PSFTHM,PSFRM
219REAL, DIMENSION(D%NIJT,KSV), INTENT(IN) :: PSFSVM ! surface fluxes
220!
221REAL, DIMENSION(D%NIJT), INTENT(IN) :: PCDUEFF ! Cd * || u || at time t
222REAL, DIMENSION(D%NIJT), INTENT(IN) :: PTAU11M ! <uu> in the axes linked
223 ! to the maximum slope direction and the surface normal and the binormal
224 ! at time t - dt
225REAL, DIMENSION(D%NIJT), INTENT(IN) :: PTAU12M ! <uv> in the same axes
226REAL, DIMENSION(D%NIJT), INTENT(IN) :: PTAU22M ! <vv> in the same axes
227REAL, DIMENSION(D%NIJT), INTENT(IN) :: PTAU33M ! <ww> in the same axes
228!
229! Variables at t-1
230REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PUM,PVM,PWM,PTHLM
231REAL, DIMENSION(D%NIJT,D%NKT,KRR), INTENT(IN) :: PRM ! mixing ratios at t-1,
232 ! where PRM(:,:,:,1) = conservative mixing ratio
233REAL, DIMENSION(D%NIJT,D%NKT,KSV), INTENT(IN) :: PSVM ! scalar var. at t-1
234REAL, DIMENSION(D%NIJT), INTENT(IN) :: PUSLOPEM ! wind component along the
235 ! maximum slope direction
236REAL, DIMENSION(D%NIJT), INTENT(IN) :: PVSLOPEM ! wind component along the
237 ! direction normal to the maximum slope one
238!
239REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PTKEM ! TKE at time t- dt
240REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PLM ! Turb. mixing length
241REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PLEPS ! dissipative length
242REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PLOCPEXNM ! Lv(T)/Cp/Exner at time t-1
243REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PATHETA ! coefficients between
244REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PAMOIST ! s and Thetal and Rnp
245
246REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PSRCM
247 ! normalized 2nd-order flux
248 ! s'r'c/2Sigma_s2 at t-1 multiplied by Lambda_3
249!
250REAL, DIMENSION(D%NIJT,D%NKT), INTENT(IN) :: PFRAC_ICE ! ri fraction of rc+ri
251!
252REAL, DIMENSION(D%NIJT,D%NKT,NTURB_S), INTENT(IN) :: PTURB_SPP ! SPP for turbulence
253REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PRUS, PRVS, PRWS, PRTHLS
254REAL, DIMENSION(D%NIJT,D%NKT,KRR), INTENT(INOUT) :: PRRS ! var. at t+1 -split-
255REAL, DIMENSION(D%NIJT,D%NKT,KSV), INTENT(INOUT) :: PRSVS ! var. at t+1 -split-
256REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PDP,PTP ! TKE production terms
257REAL, DIMENSION(D%NIJT,D%NKT), INTENT(OUT) :: PTRH
258REAL, DIMENSION(D%NIJT,D%NKT), INTENT(INOUT) :: PSIGS
259 ! IN: Vertical part of Sigma_s at t
260 ! OUT: Total Sigma_s at t
261!
262!
263!
264!* 0.2 declaration of local variables
265!
266REAL, DIMENSION(D%NIJT,D%NKT) :: ZK ! Turbulent diffusion doef.
267 ! ZK = PLM * SQRT(PTKEM)
268REAL, DIMENSION(D%NIJT,D%NKT):: ZINV_PDXX ! 1./PDXX
269REAL, DIMENSION(D%NIJT,D%NKT) :: ZINV_PDYY ! 1./PDYY
270REAL, DIMENSION(D%NIJT,D%NKT):: ZINV_PDZZ ! 1./PDZZ
271REAL, DIMENSION(D%NIJT,D%NKT) :: ZMZM_PRHODJ ! MZM(PRHODJ)
272!
273INTEGER :: JSPLT ! current split
274!
275INTEGER :: IKB, IKE, IIJB, IIJE, IIJT, IKT
276INTEGER :: JRR, JSV
277!
278LOGICAL :: LDOUPDATE
279!
280REAL, DIMENSION(D%NIJT,D%NKT) :: ZUM, ZVM, ZWM, ZTHLM, ZTKEM
281REAL, DIMENSION(D%NIJT,D%NKT,KRR) :: ZRM
282REAL, DIMENSION(D%NIJT,D%NKT,KSV) :: ZSVM
283REAL, DIMENSION(D%NIJT,D%NKT) :: ZRUS, ZRVS, ZRWS, ZRTHLS
284REAL, DIMENSION(D%NIJT,D%NKT,KRR) :: ZRRS
285REAL, DIMENSION(D%NIJT,D%NKT,KSV) :: ZRSVS
286!
287!
288TYPE(list_ll), POINTER, SAVE :: TZFIELDS_ll
289!
290! ---------------------------------------------------------------------------
291!
292!* 1. PRELIMINARY COMPUTATIONS
293! ------------------------
294!
295ikb = 1.+jpvext
296ike = SIZE(pum,2) - jpvext
297ikt=d%NKT
298iijt=d%NIJT
299iijb=d%NIJB
300iije=d%NIJE
301!
302!$acc kernels present_cr(ZINV_PDXX,ZINV_PDYY,ZINV_PDZZ,ZK)
303zinv_pdxx = 1./pdxx
304zinv_pdyy = 1./pdyy
305zinv_pdzz = 1./pdzz
306!
307zk(:,:) = plm(:,:) * sqrt(ptkem(:,:))
308!$acc end kernels
309zmzm_prhodj = mzm(prhodj)
310!
311NULLIFY(tzfields_ll)
312!
313!--------------------------------------------------------------------
314!
315!* 2. SPLIT PROCESS LOOP
316! ------------------
317!
318IF (ksplit>1) THEN
319!
320!
321!* 2.2 list for parallel exchanges
322! ---------------------------
323!
324 CALL add3dfield_ll_phy(d, tzfields_ll, zum, 'TURB_HOR_SPLT::ZUM' )
325 CALL add3dfield_ll_phy(d, tzfields_ll, zvm, 'TURB_HOR_SPLT::ZVM' )
326 CALL add3dfield_ll_phy(d, tzfields_ll, zwm, 'TURB_HOR_SPLT::ZWM' )
327 CALL add3dfield_ll_phy(d, tzfields_ll, zthlm, 'TURB_HOR_SPLT::ZTHLM' )
328 CALL add3dfield_ll_phy(d, tzfields_ll, ztkem, 'TURB_HOR_SPLT::ZTKEM' )
329 CALL add4dfield_ll_phy(d, tzfields_ll, zsvm(:,:,1:ksv), 'TURB_HOR_SPLT::ZSVM(:,:,:,1:KSV)' )
330 CALL add4dfield_ll_phy(d, tzfields_ll, zrm(:,:,1:krr), 'TURB_HOR_SPLT::ZRM(:,:,:,1:KRR)' )
331!
332!
333!* 2.3 initializations
334! ---------------
335!
336!
337 !$acc kernels present_cr(ZSVM,ZRM,ZUM,ZVM,ZWM,ZTHLM,ZTKEM,ZRUS,ZRVS,ZRWS) &
338 !$acc present_cr(ZRSVS,zrthls,zrrs)
339 zum=pum
340 zvm=pvm
341 zwm=pwm
342 IF (ksv>0) zsvm=psvm
343 zthlm=pthlm
344 ztkem=ptkem
345 IF (krr>0) zrm=prm
346 !
347 zrus=prus*ksplit
348 zrvs=prvs*ksplit
349 zrws=prws*ksplit
350 IF (ksv>0) zrsvs=prsvs*ksplit
351 zrthls=prthls*ksplit
352 IF (krr>0) zrrs=prrs*ksplit
353 !$acc end kernels
354
355!
356!* 2.4 split process
357! -------------
358!
359 DO jsplt=1,ksplit
360!
361! compute the turbulent tendencies for the small time step
362 CALL turb_hor(d,cst,csturb,turbn,nebn,tles, &
363 jsplt, krr, krrl, krri, ptstep, &
364 ksv, ksv_lgbeg, ksv_lgend, oflat,o2d, onomixlg,&
365 oocean,ocompute_src,oblowsnow, &
366 tpfile, &
367 pdxx,pdyy,pdzz,pdzx,pdzy,pzz,prsnow, &
368 pdircosxw,pdircosyw,pdircoszw, &
369 pcosslope,psinslope, &
370 zinv_pdxx, zinv_pdyy, zinv_pdzz, zmzm_prhodj, &
371 zk, &
372 prhodj,pthvref, &
373 psfthm,psfrm,psfsvm, &
374 pcdueff,ptau11m,ptau12m,ptau22m,ptau33m, &
375 zum,zvm,zwm,puslopem,pvslopem,zthlm,zrm,zsvm, &
376 ptkem,plm,pleps, &
377 plocpexnm,patheta,pamoist,psrcm,pfrac_ice, &
378 pturb_spp,pdp,ptp,psigs, &
379 zrus,zrvs,zrws,zrthls,zrrs,zrsvs )
380!
381! horizontal transport of Tke
382!
383 CALL turb_hor_tke(d, jsplt,tles,oflat,o2d, &
384 pdxx,pdyy,pdzz,pdzx,pdzy, &
385 zinv_pdxx, zinv_pdyy, zinv_pdzz, zmzm_prhodj, &
386 zk, prhodj, ztkem, &
387 ptrh )
388!
389!
390! split temporal advance
391
392 zum=pum+(zrus/ksplit-prus)/mxm(prhodj)*ptstep
393 zvm=pvm+(zrvs/ksplit-prvs)/mym(prhodj)*ptstep
394!$acc kernels present_cr(ZSVM,ZRM,ztkem)
395 zwm=pwm+(zrws/ksplit-prws)/zmzm_prhodj*ptstep
396 DO jsv=1,ksv
397 zsvm(:,:,jsv)=psvm(:,:,jsv)+ &
398 (zrsvs(:,:,jsv)/ksplit-prsvs(:,:,jsv))/prhodj(:,:)*ptstep
399 END DO
400 zthlm=pthlm+(zrthls/ksplit-prthls)/prhodj*ptstep
401 ztkem=ztkem+ptrh*ptstep/ksplit
402 DO jrr=1,krr
403 zrm(:,:,jrr)=prm(:,:,jrr)+ &
404 (zrrs(:,:,jrr)/ksplit-prrs(:,:,jrr))/prhodj(:,:)*ptstep
405 END DO
406!$acc end kernels
407!
408! reinforce boundary conditions
409 ldoupdate=jsplt<ksplit-khalo+1
410 CALL turb_hor_update_halo(d, hlbcx, hlbcy, ldoupdate, tzfields_ll, krr, ksv, &
411 zum, zvm, zwm, zthlm, ztkem, zrm, zsvm)
412
413 END DO
414!
415!* 2.5 update the complete tendencies
416! ------------------------------
417!
418!$acc kernels present_cr(zrus,zrvs,zrws,zrsvs,zrthls,zrrs,ztkem)
419 prus=zrus/ksplit
420 prvs=zrvs/ksplit
421 prws=zrws/ksplit
422 IF (ksv>0) prsvs=zrsvs/ksplit
423 prthls=zrthls/ksplit
424 IF (krr>0) prrs=zrrs/ksplit
425 ptrh=(ztkem-ptkem)/ptstep
426!$acc end kernels
427!
428 !
429 CALL cleanlist_ll(tzfields_ll)
430!
431!-------------------------------------------------------------------
432!
433!* 4. NO SPLIT PROCESS CASE
434! ---------------------
435!
436ELSE
437!
438 CALL turb_hor(d,cst,csturb,turbn,nebn,tles, &
439 1, krr, krrl, krri, ptstep, &
440 ksv, ksv_lgbeg, ksv_lgend, oflat,o2d, onomixlg,&
441 oocean,ocompute_src,oblowsnow, &
442 tpfile, &
443 pdxx,pdyy,pdzz,pdzx,pdzy,pzz,prsnow, &
444 pdircosxw,pdircosyw,pdircoszw, &
445 pcosslope,psinslope, &
446 zinv_pdxx, zinv_pdyy, zinv_pdzz, zmzm_prhodj, &
447 zk, &
448 prhodj,pthvref, &
449 psfthm,psfrm,psfsvm, &
450 pcdueff,ptau11m,ptau12m,ptau22m,ptau33m, &
451 pum,pvm,pwm,puslopem,pvslopem,pthlm,prm,psvm, &
452 ptkem,plm,pleps, &
453 plocpexnm,patheta,pamoist,psrcm,pfrac_ice, &
454 pturb_spp,pdp,ptp,psigs, &
455 prus,prvs,prws,prthls,prrs,prsvs )
456
457! horizontal transport of Tke
458!
459
460 CALL turb_hor_tke(d, 1,tles,oflat,o2d, &
461 pdxx,pdyy,pdzz,pdzx,pdzy, &
462 zinv_pdxx, zinv_pdyy, zinv_pdzz, zmzm_prhodj, &
463 zk, prhodj, ptkem, &
464 ptrh )
465!
466END IF
467!--------------------------------------------------------------------
468!
469CONTAINS
470include "shugrad.h"
471END SUBROUTINE turb_hor_splt
472END MODULE mode_turb_hor_splt
integer, parameter jpvext
integer, parameter nturb_s
subroutine add3dfield_ll_phy(d, tplist, pfield, hname)
subroutine add4dfield_ll_phy(d, tplist, pfield, hname)
subroutine cleanlist_ll(tplist)
Definition mode_ll.F90:47
subroutine turb_hor_splt(d, cst, csturb, turbn, nebn, tles, ksplit, krr, krrl, krri, ksv, ksv_lgbeg, ksv_lgend, ptstep, hlbcx, hlbcy, oflat, o2d, onomixlg, oocean, ocompute_src, oblowsnow, prsnow, tpfile, khalo, pdxx, pdyy, pdzz, pdzx, pdzy, pzz, pdircosxw, pdircosyw, pdircoszw, pcosslope, psinslope, prhodj, pthvref, psfthm, psfrm, psfsvm, pcdueff, ptau11m, ptau12m, ptau22m, ptau33m, pum, pvm, pwm, puslopem, pvslopem, pthlm, prm, psvm, ptkem, plm, pleps, plocpexnm, patheta, pamoist, psrcm, pfrac_ice, pturb_spp, pdp, ptp, psigs, ptrh, prus, prvs, prws, prthls, prrs, prsvs)
subroutine turb_hor_tke(d, ksplt, tles, oflat, o2d, pdxx, pdyy, pdzz, pdzx, pdzy, pinv_pdxx, pinv_pdyy, pinv_pdzz, pmzm_prhodj, pk, prhodj, ptkem, ptrh)
subroutine turb_hor_update_halo(d, hlbcx, hlbcy, odoupdate, tzfields_ll, krr, ksv, pum, pvm, pwm, pthlm, ptkem, prm, psvm)
subroutine turb_hor(d, cst, csturb, turbn, nebn, tles, ksplt, krr, krrl, krri, ptstep, ksv, ksv_lgbeg, ksv_lgend, oflat, o2d, onomixlg, oocean, ocompute_src, oblowsnow, tpfile, pdxx, pdyy, pdzz, pdzx, pdzy, pzz, prsnow, pdircosxw, pdircosyw, pdircoszw, pcosslope, psinslope, pinv_pdxx, pinv_pdyy, pinv_pdzz, pmzm_prhodj, pk, prhodj, pthvref, psfthm, psfrm, psfsvm, pcdueff, ptau11m, ptau12m, ptau22m, ptau33m, pum, pvm, pwm, puslopem, pvslopem, pthlm, prm, psvm, ptkem, plm, pleps, plocpexnm, patheta, pamoist, psrcm, pfrac_ice, pturb_spp, pdp, ptp, psigs, prus, prvs, prws, prthls, prrs, prsvs)
real function, dimension(size(pin, 1), size(pin, 2)) mym(pin)
Definition shugrad.h:111
real function, dimension(size(pin, 1), size(pin, 2)) mxm(pin)
Definition shugrad.h:49
real function, dimension(size(pin, 1), size(pin, 2)) mzm(pin)
Definition shugrad.h:2