CCPP SciDoc for UFS-SRW v3.0.0  SRW v3.0.0
Common Community Physics Package Developed at DTC

◆ mp_nssl_run()

subroutine, public mp_nssl::mp_nssl_run ( integer, intent(in)  ncol,
integer, intent(in)  nlev,
real(kind_phys), intent(in)  con_g,
real(kind_phys), intent(in)  con_rd,
integer, intent(in)  mpirank,
real(kind_phys), dimension(:,:), intent(inout)  spechum,
real(kind_phys), dimension(:,:), intent(inout)  cccn,
real(kind_phys), dimension(:,:), intent(inout)  cccna,
real(kind_phys), dimension (:,:), intent(inout)  qc,
real(kind_phys), dimension (:,:), intent(inout)  qr,
real(kind_phys), dimension (:,:), intent(inout)  qi,
real(kind_phys), dimension (:,:), intent(inout)  qs,
real(kind_phys), dimension (:,:), intent(inout)  qh,
real(kind_phys), dimension(:,:), intent(inout)  qhl,
real(kind_phys), dimension(:,:), intent(inout)  ccw,
real(kind_phys), dimension(:,:), intent(inout)  crw,
real(kind_phys), dimension(:,:), intent(inout)  cci,
real(kind_phys), dimension(:,:), intent(inout)  csw,
real(kind_phys), dimension(:,:), intent(inout)  chw,
real(kind_phys), dimension(:,:), intent(inout)  chl,
real(kind_phys), dimension (:,:), intent(inout)  vh,
real(kind_phys), dimension(:,:), intent(inout)  vhl,
real(kind_phys), dimension (:,:), intent(inout)  tgrs,
real(kind_phys), dimension(:,:), intent(in)  prslk,
real(kind_phys), dimension (:,:), intent(in)  prsl,
real(kind_phys), dimension (:,:), intent(in)  phii,
real(kind_phys), dimension(:,:), intent(in)  omega,
real(kind_phys), intent(in)  dtp,
real(kind_phys), dimension (:), intent(out)  prcp,
real(kind_phys), dimension (:), intent(out)  rain,
real(kind_phys), dimension(:), intent(out)  graupel,
real(kind_phys), dimension (:), intent(out)  ice,
real(kind_phys), dimension (:), intent(out)  snow,
real(kind_phys), dimension (:), intent(out)  sr,
real(kind_phys), dimension(:,:), intent(inout)  refl_10cm,
logical, intent(in)  do_radar_ref,
logical, intent(in)  first_time_step,
logical, intent(in)  restart,
real(kind_phys), dimension(:,:), intent(inout)  re_cloud,
real(kind_phys), dimension(:,:), intent(inout)  re_ice,
real(kind_phys), dimension(:,:), intent(inout)  re_snow,
real(kind_phys), dimension(:,:), intent(inout)  re_rain,
integer, intent(in)  nleffr,
integer, intent(in)  nieffr,
integer, intent(in)  nseffr,
integer, intent(in)  nreffr,
integer, intent(in)  imp_physics,
logical, intent(in)  convert_dry_rho,
integer, intent(in)  imp_physics_nssl,
logical, intent(in)  nssl_ccn_on,
logical, intent(in)  nssl_hail_on,
logical, intent(in)  nssl_invertccn,
integer, intent(in)  ntccn,
integer, intent(in)  ntccna,
integer, intent(out)  errflg,
character(len=*), intent(out)  errmsg 
)

NSSL MP General Algorithm: interface to driver

Argument Table

  • Convert specific humidity/moist mixing ratios to dry mixing ratios
  • Density of air in kg m-3
  • Convert omega in Pa s-1 to vertical velocity w in m s-1
  • Layer thickness in m from geopotential in m2 s-2
  • Convert dry mixing ratios to specific humidity/moist mixing ratios
  • Convert rainfall deltas from mm to m (on physics timestep); add to inout variables

References module_mp_nssl_2mom::calcnfromq(), and module_mp_nssl_2mom::nssl_2mom_driver().

Here is the call graph for this function: