CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches

◆ cu_c3_sh_run()

subroutine cu_c3_sh::cu_c3_sh_run ( real(kind=kind_phys), dimension (its:,kts:), intent(in) us,
real(kind=kind_phys), dimension (its:,kts:), intent(in) vs,
real(kind=kind_phys), dimension (its:ite,kts:kte) zo,
real(kind=kind_phys), dimension (its:,kts:), intent(in) t,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) q,
real(kind=kind_phys), dimension (its:), intent(in) z1,
real(kind=kind_phys), dimension (its:,kts:), intent(in) tn,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) qo,
real(kind=kind_phys), dimension (its:,kts:), intent(in) po,
real(kind=kind_phys), dimension (its:), intent(in) psur,
real(kind=kind_phys), dimension (its:,kts:), intent(in) dhdt,
integer, dimension (its:), intent(in) kpbl,
real(kind=kind_phys), dimension (its:,kts:), intent(in) rho,
real(kind=kind_phys), dimension (its:), intent(in) hfx,
real(kind=kind_phys), dimension (its:), intent(in) qfx,
real(kind=kind_phys), dimension (its:), 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:,kts:), intent(inout) zuo,
real(kind=kind_phys), dimension (its:), intent(out) xmb_out,
integer, dimension (its:), intent(out) kbcon,
integer, dimension (its:), intent(out) ktop,
integer, dimension (its:), intent(out) k22,
integer, dimension (its:), intent(inout) ierr,
character*50, dimension(its:) ierrc,
logical, intent(in) flag_init,
logical, intent(in) flag_restart,
real(kind=kind_phys), intent(in) fv,
real(kind=kind_phys), intent(in) r_d,
real(kind=kind_phys), dimension (its:,kts:), intent(in) delp,
real(kind=kind_phys), dimension (its:,kts:), intent(in) tmf,
real(kind=kind_phys), dimension (its:,kts:), intent(in), optional qmicro,
real(kind=kind_phys), dimension (its:,kts:), intent(in), optional forceqv_spechum,
real(kind=kind_phys), intent(in) betascu,
real(kind=kind_phys), intent(in) betamcu,
real(kind=kind_phys), intent(in) betadcu,
real(kind=kind_phys), dimension (its:,kts:), intent(in), optional sigmain,
real(kind=kind_phys), dimension (its:,kts:), intent(out), optional sigmaout,
logical, intent(in) progsigma,
real(kind=kind_phys), dimension (its:), intent(in) dx,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) outt,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) outq,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) outqc,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) outu,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) outv,
real(kind=kind_phys), dimension (its:,kts:), intent(inout) cnvwt,
real(kind=kind_phys), dimension (its:ite) pre,
real(kind=kind_phys), dimension (its:,kts:), 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:), 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
  • From Bengtsson et al. (2022) [20] prognostic closure scheme,

Definition at line 66 of file cu_c3_sh.F90.

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

Referenced by cu_c3_driver::cu_c3_driver_run().

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