CCPP Scientific Documentation
v4.1.0

Functions/Subroutines

subroutine, public ini_micro (Dcs_, QCVAR_, ts_auto_ice_)
 This subroutine initializes constants for MG microphysics. More...
 
subroutine, public mmicro_pcond (lchnk, ncol, deltatin, tn, ttend, pcols, pver, qn, qtend, cwtend, qc, qi, nc, ni, fprcp, qrn, qsnw, nrn, nsnw, p, pdel, cldn, liqcldf, icecldf, cldo, pint, rpdel, zm, rate1ord_cw2pr_st, naai, npccnin, rndst, nacon, rhdfda, rhu00, fice, tlat, qvlat, qctend, qitend, nctend, nitend, effc, effc_fn, effi, prect, preci, nevapr, evapsnow, prain, prodsnow, cmeout, deffi, pgamrad, lamcrad, qsout2, dsout2, qrout2, drout2, qcsevap, qisevap, qvres, cmeiout, vtrmc, vtrmi, qcsedten, qisedten, prao, prco, mnuccco, mnuccto, msacwio, psacwso, bergso, bergo, melto, homoo, qcreso, prcio, praio, qireso, mnuccro, pracso, meltsdt, frzrdt, ncal, ncai, mnuccdo, nnuccto, nsout2, nrout2, ncnst, ninst, nimm, miu_disp, nsoot, rnsoot, ui_scale, dcrit, nnuccdo, nnuccco, nsacwio, nsubio, nprcio, npraio, npccno, npsacwso, nsubco, nprao, nprc1o, tlataux, nbincontactdust, lprint, xlat, xlon, rhc)
 This subroutine is the microphysics routine for each timestep goes here... More...
 
subroutine findsp1 (lchnk, ncol, q, t, p, tsp, qsp)
 This subroutine finds the wet bulb temperature for a given t and q in a longitude hight section. More...
 
subroutine findsp1_water (lchnk, ncol, q, t, p, tsp, qsp)
 This subroutine finds the wet bulb temperature for a given t and q in a longitude height section. More...
 
function, public derf (x)
 error function in single precision More...
 
real(r8) function mui_hemp (T)
 This subroutine. More...
 
real(r8) function mui_hemp_l (lambda)
 This function. More...
 
real(r8) function gamma_incomp (muice, x)
 This function. More...
 
real(r8) function, public gamma (X)
 

Variables

real(r8), parameter zero =0.0_r8
 
real(r8), parameter one =1.0_r8
 
real(r8), parameter two =2.0_r8
 
real(r8), parameter three =3.0_r8
 
real(r8), parameter four =4.0_r8
 
real(r8), parameter five =5.0_r8
 
real(r8), parameter half =0.5_r8
 
real(r8), parameter oneb3 =one/three
 
real(r8), parameter onebcp =one/cpair
 
integer, parameter iulog = 6
 
real(r8), parameter rhmini = 0.80_r8
 
real(r8), parameter rhmaxi = 1.1_r8
 
real(r8), parameter mwh2o = 18.016
 
real(r8), parameter rhoh2o = 1.000e3
 
logical ip = .true.
 
real(r8) tmn = 173.16_r8
 
real(r8) tmx = 375.16_r8
 
real(r8) trice = 35.00_r8
 
real(r8), parameter gravit = MAPL_GRAV
 
real(r8), parameter rair = MAPL_RGAS
 
real(r8), parameter tmelt = MAPL_TICE
 
real(r8), parameter cpair = MAPL_CP
 
real(r8), parameter rh2o = MAPL_RVAP
 
real(r8), parameter r_universal = MAPL_RUNIV
 
real(r8), parameter latvap = MAPL_ALHL
 
real(r8), parameter latice = MAPL_ALHF
 
real(r8), parameter epsilon = MAPL_VIREPS
 
logical, public liu_in = .false.
 
real(r8), private g
 
real(r8), private ginv
 
real(r8), private r
 
real(r8), private rv
 
real(r8), private cpp
 
real(r8), private rhow
 
real(r8), private pirhow
 
real(r8), private xxlv
 
real(r8), private xlf
 
real(r8), private xlfocp
 
real(r8), private cpoxlf
 
real(r8), private xxls
 
real(r8), private rhosn
 
real(r8), private pirhosn
 
real(r8), private rhoi
 
real(r8), private pirhoi
 
real(r8), private ac
 
real(r8), private bc
 
real(r8), private as
 
real(r8), private bs
 
real(r8), private ai
 
real(r8), private bi
 
real(r8), private ar
 
real(r8), private br
 
real(r8), private ci
 
real(r8), private di
 
real(r8), private oneodi
 
real(r8), private cs
 
real(r8), private ds
 
real(r8), private cr
 
real(r8), private dr
 
real(r8), private f1s
 
real(r8), private f2s
 
real(r8), private eii
 
real(r8), private ecc
 
real(r8), private ecr
 
real(r8), private f1r
 
real(r8), private f2r
 
real(r8), private dcs
 
real(r8), private ts_auto_ice
 
real(r8), private qsmall
 
real(r8), private qvsmall
 
real(r8), private bimm
 
real(r8), private aimm
 
real(r8), private rhosu
 
real(r8), private mi0
 
real(r8), private rin
 
real(r8), private qcvar
 
real(r8), private cons1
 
real(r8), private cons2
 
real(r8), private cons3
 
real(r8), private cons4
 
real(r8), private cons5
 
real(r8), private lammini
 
real(r8), private lammaxi
 
real(r8), private lamminr
 
real(r8), private lammaxr
 
real(r8), parameter, private tmax_fsnow = tmelt
 parameters for snow/rain fraction for convective clouds More...
 
real(r8), private tt0
 
real(r8), private csmin
 
real(r8), private csmax
 
real(r8), private minrefl
 
real(r8), private mindbz