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

◆ mp_thompson_init()

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,
real(kind_phys), intent(in) con_eps,
logical, intent(in) restart,
integer, intent(in) imp_physics,
integer, intent(in) imp_physics_thompson,
logical, intent(in) convert_dry_rho,
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,
logical, intent(in) merra2_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(in) aerfld,
type(mpi_comm), intent(in) mpicomm,
integer, intent(in) mpirank,
integer, intent(in) mpiroot,
integer, intent(in) threads,
logical, intent(in) ext_diag,
real(kind_phys), dimension(:,:,:), intent(in), optional diag3d,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

mp_thompson_init argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
ncolhorizontal_dimensionhorizontal dimensioncountinteger()in
nlevvertical_layer_dimensionnumber of vertical levelscountinteger()in
con_ggravitational_accelerationgravitational accelerationm s-2real()kind_physin
con_rdgas_constant_of_dry_airideal gas constant for dry airJ kg-1 K-1real()kind_physin
con_epsratio_of_dry_air_to_water_vapor_gas_constantsrd/rvnonereal()kind_physin
restartflag_for_restartflag for restart (warmstart) or coldstartflaglogical()in
imp_physicscontrol_for_microphysics_schemechoice of microphysics schemeflaginteger()in
imp_physics_thompsonidentifier_for_thompson_microphysics_schemechoice of Thompson microphysics schemeflaginteger()in
convert_dry_rhoflag_for_converting_hydrometeors_from_moist_to_dry_airflag for converting hydrometeors from moist to dry airflaglogical()in
spechumspecific_humiditywater vapor specific humiditykg kg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
qccloud_liquid_water_mixing_ratiocloud water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
qrrain_mixing_ratiorain water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
qicloud_ice_mixing_ratioice water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
qssnow_mixing_ratiosnow water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
qggraupel_mixing_ratiograupel mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
nimass_number_concentration_of_cloud_ice_water_crystals_in_airice number concentrationkg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
nrmass_number_concentration_of_rain_water_in_airrain number concentrationkg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
is_aerosol_awareflag_for_aerosol_physicsflag for aerosol-aware physicsflaglogical()in
merra2_aerosol_awaredo_merra2_aerosol_awarenessflag for merra2 aerosol-aware physics for example the thompson microphysicsflaglogical()in
ncmass_number_concentration_of_cloud_liquid_water_particles_in_aircloud droplet number concentrationkg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
nwfa2dtendency_of_hygroscopic_aerosols_at_surface_adjacent_layerinstantaneous fake water-friendly surface aerosol sourcekg-1 s-1real(ccpp_constant_one:horizontal_dimension)kind_physinout
nifa2dtendency_of_nonhygroscopic_ice_nucleating_aerosols_at_surface_adjacent_layerinstantaneous fake ice-friendly surface aerosol sourcekg-1 s-1real(ccpp_constant_one:horizontal_dimension)kind_physinout
nwfamass_number_concentration_of_hygroscopic_aerosolsnumber concentration of water-friendly aerosolskg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
nifamass_number_concentration_of_nonhygroscopic_ice_nucleating_aerosolsnumber concentration of ice-friendly aerosolskg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physinout
tgrsair_temperaturemodel layer mean temperatureKreal(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physin
prslair_pressuremean layer pressurePareal(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physin
philgeopotentialgeopotential at model layer centersm2 s-2real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension)kind_physin
areacell_areaarea of the grid cellm2real(ccpp_constant_one:horizontal_dimension)kind_physin
aerfldmass_mixing_ratio_of_aerosol_from_gocart_or_merra2mass mixing ratio of aerosol from gocart or merra2kg kg-1real(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_aerosol_tracers_MG)kind_physin
mpicommmpi_communicatorMPI communicatorindexMPI_Comm()MPI_Commin
mpirankmpi_rankcurrent MPI-rankindexinteger()in
mpirootmpi_rootmaster MPI-rankindexinteger()in
threadsnumber_of_openmp_threadsnumber of OpenMP threads available to schemecountinteger()in
ext_diagflag_for_extended_diagnostic_output_from_thompson_microphysicsflag for extended diagnostic output from thompson microphysicsflaglogical()in
diag3dextended_diagnostics_output_from_thompson_microphysicsset of 3d arrays for extended diagnostics output from thompson microphysicsnonereal(ccpp_constant_one:horizontal_dimension, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_3d_diagnostic_output_arrays_from_thompson_microphysics)kind_physin
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out
  • Convert specific humidity to water vapor mixing ratio.
  • Also, hydrometeor variables are mass or number mixing ratio
  • either kg of species per kg of dry air, or per kg of (dry + vapor).

Definition at line 35 of file mp_thompson.F90.

References module_mp_thompson_make_number_concentrations::make_dropletnumber(), module_mp_thompson_make_number_concentrations::make_icenumber(), module_mp_thompson_make_number_concentrations::make_rainnumber(), and module_mp_thompson::thompson_init().

Here is the call graph for this function: