CCPP Scientific Documentation
v5.0.0
subroutine, public mp_thompson::mp_thompson_init ( integer, intent(in)  ncol,
integer, intent(in)  nlev,
real(kind_phys), intent(in)  con_g,
real(kind_phys), intent(in)  con_rd,
logical, intent(in)  restart,
integer, intent(in)  imp_physics,
integer, intent(in)  imp_physics_thompson,
real(kind_phys), dimension(:,:), intent(inout)  spechum,
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)  qg,
real(kind_phys), dimension(:,:), intent(inout)  ni,
real(kind_phys), dimension(:,:), intent(inout)  nr,
logical, intent(in)  is_aerosol_aware,
real(kind_phys), dimension(:,:), intent(inout), optional  nc,
real(kind_phys), dimension(:), intent(inout), optional  nwfa2d,
real(kind_phys), dimension(:), intent(inout), optional  nifa2d,
real(kind_phys), dimension(:,:), intent(inout), optional  nwfa,
real(kind_phys), dimension(:,:), intent(inout), optional  nifa,
real(kind_phys), dimension(:,:), intent(in)  tgrs,
real(kind_phys), dimension(:,:), intent(in)  prsl,
real(kind_phys), dimension(:,:), intent(in)  phil,
real(kind_phys), dimension(:), intent(in)  area,
real(kind_phys), dimension(:,:), intent(out), optional  re_cloud,
real(kind_phys), dimension(:,:), intent(out), optional  re_ice,
real(kind_phys), dimension(:,:), intent(out), optional  re_snow,
integer, intent(in)  mpicomm,
integer, intent(in)  mpirank,
integer, intent(in)  mpiroot,
integer, intent(in)  threads,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

mp_thompson_init argument table
local_namestandard_namelong_nameunitstypedimensionskindintentoptional
ncolhorizontal_loop_extenthorizontal loop extentcountinteger()inFalse
nlevvertical_dimensionnumber of vertical levelscountinteger()inFalse
con_ggravitational_accelerationgravitational accelerationm s-2real()kind_physinFalse
con_rdgas_constant_dry_airideal gas constant for dry airJ kg-1 K-1real()kind_physinFalse
restartflag_for_restartflag for restart (warmstart) or coldstartflaglogical()inFalse
imp_physicsflag_for_microphysics_schemechoice of microphysics schemeflaginteger()inFalse
imp_physics_thompsonflag_for_thompson_microphysics_schemechoice of Thompson microphysics schemeflaginteger()inFalse
spechumwater_vapor_specific_humiditywater vapor specific humiditykg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
qccloud_condensed_water_mixing_ratiocloud water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
qrrain_water_mixing_ratiorain water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
qiice_water_mixing_ratioice water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
qssnow_water_mixing_ratiosnow water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
qggraupel_mixing_ratiograupel mixing ratio wrt dry+vapor (no condensates)kg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
niice_number_concentrationice number concentrationkg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
nrrain_number_concentrationrain number concentrationkg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
is_aerosol_awareflag_for_aerosol_physicsflag for aerosol-aware physicsflaglogical()inFalse
nccloud_droplet_number_concentrationcloud droplet number concentrationkg-1real(horizontal_dimension, vertical_dimension)kind_physinoutTrue
nwfa2dtendency_of_water_friendly_aerosols_at_surfaceinstantaneous fake water-friendly surface aerosol sourcekg-1 s-1real(horizontal_dimension)kind_physinoutTrue
nifa2dtendency_of_ice_friendly_aerosols_at_surfaceinstantaneous fake ice-friendly surface aerosol sourcekg-1 s-1real(horizontal_dimension)kind_physinoutTrue
nwfawater_friendly_aerosol_number_concentrationnumber concentration of water-friendly aerosolskg-1real(horizontal_dimension, vertical_dimension)kind_physinoutTrue
nifaice_friendly_aerosol_number_concentrationnumber concentration of ice-friendly aerosolskg-1real(horizontal_dimension, vertical_dimension)kind_physinoutTrue
tgrsair_temperaturemodel layer mean temperatureKreal(horizontal_dimension, vertical_dimension)kind_physinFalse
prslair_pressuremean layer pressurePareal(horizontal_dimension, vertical_dimension)kind_physinFalse
philgeopotentialgeopotential at model layer centersm2 s-2real(horizontal_dimension, vertical_dimension)kind_physinFalse
areacell_areaarea of the grid cellm2real(horizontal_dimension)kind_physinFalse
re_cloudeffective_radius_of_stratiform_cloud_liquid_water_particle_in_umeff. radius of cloud liquid water particle in micrometermreal(horizontal_dimension, vertical_dimension)kind_physinoutTrue
re_iceeffective_radius_of_stratiform_cloud_ice_particle_in_umeff. radius of cloud ice water particle in micrometermreal(horizontal_dimension, vertical_dimension)kind_physinoutTrue
re_snoweffective_radius_of_stratiform_cloud_snow_particle_in_umeffective radius of cloud snow particle in micrometermreal(horizontal_dimension, vertical_dimension)kind_physinoutTrue
mpicommmpi_commMPI communicatorindexinteger()inFalse
mpirankmpi_rankcurrent MPI-rankindexinteger()inFalse
mpirootmpi_rootmaster MPI-rankindexinteger()inFalse
threadsomp_threadsnumber of OpenMP threads available to schemecountinteger()inFalse
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*outFalse
errflgccpp_error_flagerror flag for error handling in CCPPflaginteger()outFalse
  • Convert specific humidity/moist mixing ratios to dry mixing ratios
  • Convert number concentrations from moist to dry
  • Convert number concentrations from dry to moist

References module_mp_thompson::eps, is_initialized, module_mp_thompson_make_number_concentrations::make_dropletnumber(), module_mp_thompson_make_number_concentrations::make_icenumber(), module_mp_thompson_make_number_concentrations::make_rainnumber(), module_mp_thompson::naccn0, module_mp_thompson::naccn1, module_mp_thompson::nain0, module_mp_thompson::nain1, and module_mp_thompson::nt_c.

Here is the call graph for this function: