CCPP Scientific Documentation
v4.1.0
subroutine, public cs_conv::cs_conv_run ( integer, intent(in)  IM,
integer, intent(in)  IJSDIM,
integer, intent(in)  KMAX,
integer, intent(in)  ntracp1,
integer, intent(in)  NN,
integer, intent(in)  NTR,
integer, intent(in)  nctp,
logical, dimension(1:ntracp1,1:2), intent(in)  otspt,
integer, intent(in)  lat,
integer, intent(in)  kdt,
real(r8), dimension(im,kmax), intent(inout)  t,
real(r8), dimension(im,kmax), intent(inout)  q,
real(r8), dimension(ijsdim), intent(out)  rain1,
real(r8), dimension(im,kmax,nn), intent(inout)  clw,
real(r8), dimension(im,kmax), intent(in)  zm,
real(r8), dimension(im,kmax+1), intent(in)  zi,
real(r8), dimension(im,kmax), intent(in)  pap,
real(r8), dimension(im,kmax+1), intent(in)  paph,
real(r8), intent(in)  delta,
real(r8), intent(in)  delti,
real(r8), dimension(ijsdim,kmax), intent(inout)  ud_mf,
real(r8), dimension(ijsdim,kmax), intent(inout)  dd_mf,
real(r8), dimension(ijsdim,kmax), intent(inout)  dt_mf,
real(r8), dimension(im,kmax), intent(inout)  u,
real(r8), dimension(im,kmax), intent(inout)  v,
real(r8), dimension(ntr), intent(in)  fscav,
real(r8), dimension(ntr), intent(in)  fswtr,
real(r8), dimension(im,nctp), intent(inout)  cbmfx,
integer, intent(in)  mype,
real(r8), dimension(ijsdim), intent(in)  wcbmaxm,
real(r8), intent(in)  precz0in,
real(r8), intent(in)  preczhin,
real(r8), intent(in)  clmdin,
real(r8), dimension(im,kmax), intent(out)  sigma,
logical, intent(in)  do_aw,
logical, intent(in)  do_awdd,
logical, intent(in)  flx_form,
logical  lprnt,
integer  ipr,
integer, dimension(im), intent(inout)  kcnv,
real(r8), dimension(:,:), intent(out)  QLCN,
real(r8), dimension(:,:), intent(out)  QICN,
real(r8), dimension(:,:), intent(out)  w_upi,
real(r8), dimension(:,:), intent(out)  cf_upi,
real(r8), dimension(:,:), intent(out)  CNV_MFD,
real(r8), dimension(:,:), intent(out)  CNV_DQLDT,
real(r8), dimension(:,:), intent(out)  CLCN,
real(r8), dimension(:,:), intent(out)  CNV_FICE,
real(r8), dimension(:,:), intent(out)  CNV_NDROP,
real(r8), dimension(:,:), intent(out)  CNV_NICE,
integer, intent(in)  mp_phys,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)
  1. Following the Relaxed Arakawa Schubert Scheme (RAS; Moorthi and Suarez 1992 [127] ), separate total condensate between ice and water. The ratio of cloud ice to cloud water is determined by a linear function of temperature:

    \[ F_i(T)= (T_2-T)/(T_2-T_1) \]

    where T is temperature, and \(T_1\) and \(T_2\) are set as tcf=263.16 and tf= 233.16
  2. Calculate temperature at interfaces
  3. Initialize the sigma diagnostics
  4. Call cs_cumlus() for the main CS cumulus parameterization
  5. Multiply mass fluxes by the time step

References clmd, clmdpa, clmp, cs_cumlus(), gravi, imfxr, one, pa, precz0, preczh, and zero.

Here is the call graph for this function: