CCPP SciDoc for UFS-SRW v2.2.0  SRW v2.2.0
Common Community Physics Package Developed at DTC

◆ cu_gf_sh_run()

subroutine cu_gf_sh::cu_gf_sh_run ( real(kind=kind_phys), dimension (its:ite,kts:kte), intent(in)  us,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(in)  vs,
real(kind=kind_phys), dimension (its:ite,kts:kte)  zo,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(in)  t,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  q,
real(kind=kind_phys), dimension (its:ite), intent(in)  z1,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(in)  tn,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  qo,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(in)  po,
real(kind=kind_phys), dimension (its:ite), intent(in)  psur,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(in)  dhdt,
integer, dimension (its:ite), intent(in)  kpbl,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(in)  rho,
real(kind=kind_phys), dimension (its:ite), intent(in)  hfx,
real(kind=kind_phys), dimension (its:ite), intent(in)  qfx,
real(kind=kind_phys), dimension (its:ite), intent(in)  xland,
integer, intent(in)  ichoice,
real(kind=kind_phys), intent(in)  tcrit,
real(kind=kind_phys), intent(in)  dtime,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  zuo,
real(kind=kind_phys), dimension (its:ite), intent(out)  xmb_out,
integer, dimension (its:ite), intent(out)  kbcon,
integer, dimension (its:ite), intent(out)  ktop,
integer, dimension (its:ite), intent(out)  k22,
integer, dimension (its:ite), intent(inout)  ierr,
character*50, dimension(its:ite)  ierrc,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  outt,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  outq,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  outqc,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  outu,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  outv,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  cnvwt,
real(kind=kind_phys), dimension (its:ite)  pre,
real(kind=kind_phys), dimension (its:ite,kts:kte), intent(inout)  cupclw,
integer, intent(in)  itf,
integer, intent(in)  ktf,
integer, intent(in)  its,
integer, intent(in)  ite,
integer, intent(in)  kts,
integer, intent(in)  kte,
integer, intent(in)  ipr,
integer, dimension (its:ite), intent(in)  tropics 
)
  • Initial detrainmentrates
  • Calculate zws for shallow convection closure (grant 2001)
  • Determin max height(m) above ground where updraft air can originate
  • Call cup_env() to calculate moist static energy, heights, qes
  • Call cup_env_clev() to calculate environmental values on cloud levels
  • Determine level with highest moist static energy content (k22)
  • Call get_cloud_bc() and cup_kbcon() to determine the level of convective cloud base (kbcon)
  • Call cup_minimi() and get_inversion_layers() to get inversion layers for cloud tops
  • Call rates_up_pdf() to get normalized mass flux profile
  • Call get_lateral_massflux() to calculate mass entrainment and detrainment

References cu_gf_deep::cup_env(), cu_gf_deep::cup_env_clev(), cu_gf_deep::cup_kbcon(), cu_gf_deep::cup_minimi(), cu_gf_deep::cup_up_aa0(), cu_gf_deep::get_cloud_bc(), cu_gf_deep::get_inversion_layers(), cu_gf_deep::get_lateral_massflux(), and cu_gf_deep::rates_up_pdf().

Referenced by cu_gf_driver::cu_gf_driver_run().

Here is the call graph for this function:
Here is the caller graph for this function: