CCPP Scientific Documentation
v5.0.0
cldmacro Module Reference

Functions/Subroutines

subroutine, public macro_cloud (IRUN, LM, DT, alf_fac, PP_dev, PPE_dev , QLWDTR_dev , TH_dev, Q_dev , QLW_LS_dev, QLW_AN_dev, QIW_LS_dev , QIW_AN_dev, ANVFRC_dev, CLDFRC_dev , PHYSPARAMS, SCLMFDFR , ALPHT_dev , CNV_FICE_dev , CNV_NDROP_dev, CNV_NICE_dev, SCICE_dev , NCPL_dev, NCPI_dev, PFRZ_dev , lprnt, ipr, rhc, pdfflag, qc_min)
 This subroutine is the cloud macrophysics scheme in MG micriphysics. More...
 
subroutine pdf_spread (K, LM, PP, ALPHA, ALPHT_DIAG, FRLAND, rhc)
 
subroutine, public fix_up_clouds_2m (QV, TE, QLC, QIC, CF, QLA, QIA, AF, NL, NI, qc_min)
 
subroutine, public update_cld (irun, lm, DT, ALPHA, qc_min, PDFSHAPE, PL, QV, QCl, QAl, QCi, QAi, TE, CF, AF, SCICE, NI, NL)
 This subroutine calculates the cloud fraction that would correspond to the current condensate. More...
 
subroutine hystpdf (DT, ALPHA, PDFSHAPE, qc_min, PL, QV, QCl, QAl, QCi, QAi, TE, CF, AF, SCICE, NI, NL)
 This subroutine calculates. More...
 
subroutine pdffrac (flag, qtmean, sigmaqt1, sigmaqt2, qstar, clfrac)
 This subroutine calculates. More...
 
subroutine pdfcondensate (flag, qtmean4, sigmaqt14, sigmaqt24, qstar4, condensate4, clfrac4)
 This subroutine calculates. More...
 
subroutine cnvsrc (DT, ICEPARAM, SCLMFDFR, MASS, iMASS, PL, TE, QV, DCF, DMF, QLA, QIA, CF, AF, QS, NL, NI, CNVFICE, CNVNDROP, CNVNICE)
 This subroutine calculates. More...
 
subroutine precip3 (K, LM, DT, FRLAND, RHCR3, QPl, QPi, QCl, QCi, TE, QV, mass, imass, PL, dZE, QDDF3, AA, BB, AREA, RAIN, SNOW, PFl_above, PFi_above, EVAP_DD_above, SUBL_DD_above, REVAP_DIAG, RSUBL_DIAG, ACRLL_DIAG, ACRIL_DIAG, PFL_DIAG, PFI_DIAG, VFALLRN, VFALLSN, FRZ_DIAG, ENVFC, DDRFC, AF, CF, PCBL, i)
 This subroutine calculates. More...
 
subroutine marshpalmq2 (RAIN, PR, DIAM3, NTOTAL, W, VE)
 This subroutine calculates. More...
 
subroutine micro_aa_bb_3 (TEMP, PR, Q_SAT, AA, BB)
 This subroutine calculates. More...
 
real function ldradius3 (PL, TE, QCL, NN)
 
real function ice_fraction (TEMP)
 
real function get_alhx3 (T)
 
real function icefrac (T, T_TRANS, T_FREEZ)
 
subroutine bergeron_iter (DTIME, PL, TE, QV, QILS, QICN,
 This subroutine calculates. More...
 
subroutine pfreezing (ALPHA, PL, TE, QV, QCl, QAl, QCi, QAi, SC_ICE, CF, AF, PF, pdfflag)
 This calculates the probability of finding a supersaturated parcel in the grid cell. SC_ICE is the effective freezing point for ice (Barahona and Nenes(2009) [14])
Modified 02/19/15. in situ nucleation only occurs in the non_convective part of the grid cell. More...
 
subroutine, public meltfrz_inst (IM, LM, TE, QCL, QAL, QCI, QAI, NL, NI)
 This subroutine calculates instantaneous freezing of condensate. More...
 
subroutine, public cloud_ptr_stubs ( SMAXL, SMAXI, WSUB, CCN01, CCN04, CCN1, NHET_NUC, NLIM_NUC, SO4, ORG, BCARBON, DUST, SEASALT, NCPL_VOL, NCPI_VOL, NRAIN, NSNOW, CDNC_NUC, INC_NUC, SAT_RAT, QSTOT, QRTOT, CLDREFFS, CLDREFFR, DQVDT_micro, DQIDT_micro, DQLDT_micro, DTDT_micro, RL_MASK, RI_MASK, KAPPA, SC_ICE, CFICE, CFLIQ, RHICE, RHLIQ, RAD_CF, RAD_QL, RAD_QI, RAD_QS, RAD_QR, RAD_QV, CLDREFFI, CLDREFFL, NHET_IMM, NHET_DEP, NHET_DHF, DUST_IMM, DUST_DEP, DUST_DHF, SCF, SCF_ALL, SIGW_GW, SIGW_CNV, SIGW_TURB, SIGW_RC, RHCmicro, DNHET_IMM, NONDUST_IMM, NONDUST_DEP, BERG, BERGSO, MELT, DNHET_CT, DTDT_macro, QCRES, DT_RASP, FRZPP_LS, SNOWMELT_LS, QIRES, AUTICE, PFRZ, DNCNUC, DNCHMSPLIT, DNCSUBL, DNCAUTICE, DNCACRIS, DNDCCN, DNDACRLS, DNDEVAPC, DNDACRLR, DNDAUTLIQ)
 
real function erf_app (x)
 REAL FUNCTION erf (overwrites previous versions) THIS SUBROUTINE CALCULATES THE ERROR FUNCTION USING A POLYNOMIAL APPROXIMATION. More...
 

Variables

integer nsmax
 
integer disable_rad
 
integer icefrpwr
 
real cnv_beta
 
real anv_beta
 
real ls_beta
 
real rh00
 
real c_00
 
real lwcrit
 
real c_acc
 
real c_ev_r
 
real c_ev_s
 
real cldvol2frc
 
real rhsup_ice
 
real shr_evap_fac
 
real min_cld_water
 
real cld_evp_eff
 
real ls_sdqv2
 
real ls_sdqv3
 
real ls_sdqvt1
 
real anv_sdqv2
 
real anv_sdqv3
 
real anv_sdqvt1
 
real anv_to_ls
 
real n_warm
 
real n_ice
 
real n_anvil
 
real n_pbl
 
real anv_icefall_c
 
real ls_icefall_c
 
real revap_off_p
 
real cnvenvfc
 
real wrhodep
 
real t_ice_all
 
real cnviceparam
 
real cnvddrfc
 
real anvddrfc
 
real lsddrfc
 
real turnrhcrit
 
real turnrhcrit_upper
 
real min_ri
 
real max_ri
 
real min_rl
 
real max_rl
 
real ri_anv
 
real, parameter t_ice_max = MAPL_TICE
 
real, parameter rho_w = 1.0e3
 
real, parameter min_cld_frac = 1.0e-8
 
real, parameter mapl_alhs = MAPL_ALHL+MAPL_ALHF
 
real, parameter alhlbcp = MAPL_ALHL/MAPL_CP
 
real omeps
 
real trinv
 
real t_ice_denom