CCPP Scientific Documentation
v4.1.0
subroutine mynnedmf_wrapper::mynnedmf_wrapper_run ( integer, intent(in)  ix,
integer, intent(in)  im,
integer, intent(in)  levs,
logical, intent(in)  flag_init,
logical, intent(in)  flag_restart,
logical, intent(in)  lssav,
logical, intent(in)  ldiag3d,
logical, intent(in)  lsidea,
real(kind=kind_phys), intent(in)  delt,
real(kind=kind_phys), intent(in)  dtf,
real(kind=kind_phys), dimension(im), intent(in)  dx,
real(kind=kind_phys), dimension(im), intent(in)  zorl,
real(kind=kind_phys), dimension(im,levs+1), intent(in)  phii,
real(kind=kind_phys), dimension(im,levs), intent(in)  u,
real(kind=kind_phys), dimension(im,levs), intent(in)  v,
real(kind=kind_phys), dimension(im,levs), intent(in)  omega,
real(kind=kind_phys), dimension(im,levs), intent(in)  t3d,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_water_vapor,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_liquid_cloud,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_ice_cloud,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_cloud_droplet_num_conc,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_cloud_ice_num_conc,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_ozone,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_water_aer_num_conc,
real(kind=kind_phys), dimension(im,levs), intent(in)  qgrs_ice_aer_num_conc,
real(kind=kind_phys), dimension(im,levs), intent(in)  prsl,
real(kind=kind_phys), dimension(im,levs), intent(in)  exner,
real(kind=kind_phys), dimension(im), intent(in)  slmsk,
real(kind=kind_phys), dimension(im), intent(in)  tsurf,
real(kind=kind_phys), dimension(im), intent(in)  qsfc,
real(kind=kind_phys), dimension(im), intent(in)  ps,
real(kind=kind_phys), dimension(im), intent(in)  ust,
real(kind=kind_phys), dimension(im), intent(out)  ch,
real(kind=kind_phys), dimension(im), intent(in)  hflx,
real(kind=kind_phys), dimension(im), intent(in)  qflx,
real(kind=kind_phys), dimension(im), intent(in)  wspd,
real(kind=kind_phys), dimension(im), intent(in)  rb,
real(kind=kind_phys), dimension(im), intent(out)  dtsfc1,
real(kind=kind_phys), dimension(im), intent(out)  dqsfc1,
real(kind=kind_phys), dimension(im), intent(out)  dtsfci_diag,
real(kind=kind_phys), dimension(im), intent(out)  dqsfci_diag,
real(kind=kind_phys), dimension(im), intent(out)  dtsfc_diag,
real(kind=kind_phys), dimension(im), intent(out)  dqsfc_diag,
real(kind=kind_phys), dimension(im), intent(in)  recmol,
real(kind=kind_phys), dimension(im,levs), intent(inout)  qke,
real(kind=kind_phys), dimension(im,levs), intent(inout)  qke_adv,
real(kind=kind_phys), dimension(im,levs), intent(out)  Tsq,
real(kind=kind_phys), dimension(im,levs), intent(out)  Qsq,
real(kind=kind_phys), dimension(im,levs), intent(out)  Cov,
real(kind=kind_phys), dimension(im,levs), intent(inout)  el_pbl,
real(kind=kind_phys), dimension(im,levs), intent(inout)  sh3d,
real(kind=kind_phys), dimension(im,levs), intent(out)  exch_h,
real(kind=kind_phys), dimension(im,levs), intent(out)  exch_m,
real(kind=kind_phys), dimension(im), intent(inout)  Pblh,
integer, dimension(im), intent(inout)  kpbl,
real(kind=kind_phys), dimension(im,levs), intent(inout)  qc_bl,
real(kind=kind_phys), dimension(im,levs), intent(inout)  cldfra_bl,
real(kind=kind_phys), dimension(im,levs), intent(inout)  edmf_a,
real(kind=kind_phys), dimension(im,levs), intent(inout)  edmf_w,
real(kind=kind_phys), dimension(im,levs), intent(inout)  edmf_qt,
real(kind=kind_phys), dimension(im,levs), intent(inout)  edmf_thl,
real(kind=kind_phys), dimension(im,levs), intent(inout)  edmf_ent,
real(kind=kind_phys), dimension(im,levs), intent(inout)  edmf_qc,
integer, dimension(im), intent(inout)  nupdraft,
real(kind=kind_phys), dimension(im), intent(out)  maxMF,
integer, dimension(im), intent(inout)  ktop_shallow,
real(kind=kind_phys), dimension(im,levs), intent(in)  RTHRATEN,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dudt,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dvdt,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dtdt,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_water_vapor,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_liquid_cloud,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_ice_cloud,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_ozone,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_cloud_droplet_num_conc,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_ice_num_conc,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_water_aer_num_conc,
real(kind=kind_phys), dimension(im,levs ), intent(inout)  dqdt_ice_aer_num_conc,
real(kind=kind_phys), dimension(:,:), intent(inout)  dt3dt,
real(kind=kind_phys), dimension(:,:), intent(inout)  du3dt_PBL,
real(kind=kind_phys), dimension(:,:), intent(inout)  du3dt_OGWD,
real(kind=kind_phys), dimension(:,:), intent(inout)  dv3dt_PBL,
real(kind=kind_phys), dimension(:,:), intent(inout)  dv3dt_OGWD,
real(kind=kind_phys), dimension(im, levs), intent(in)  htrsw,
real(kind=kind_phys), dimension(im, levs), intent(in)  htrlw,
real(kind=kind_phys), dimension(im), intent(in)  xmu,
integer, intent(in)  grav_settling,
integer, intent(in)  bl_mynn_tkebudget,
logical, intent(in)  bl_mynn_tkeadvect,
integer, intent(in)  bl_mynn_cloudpdf,
integer, intent(in)  bl_mynn_mixlength,
integer, intent(in)  bl_mynn_edmf,
integer, intent(in)  bl_mynn_edmf_mom,
integer, intent(in)  bl_mynn_edmf_tke,
integer, intent(in)  bl_mynn_edmf_part,
integer, intent(in)  bl_mynn_cloudmix,
integer, intent(in)  bl_mynn_mixqt,
integer, intent(in)  icloud_bl,
logical, intent(in)  do_mynnsfclay,
integer, intent(in)  imp_physics,
integer, intent(in)  imp_physics_gfdl,
integer, intent(in)  imp_physics_thompson,
integer, intent(in)  imp_physics_wsm6,
logical, intent(in)  ltaerosol,
logical, intent(in)  lprnt,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

mynnedmf_wrapper_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintentoptional
ixhorizontal_dimensionhorizontal dimensioncountinteger()inFalse
imhorizontal_loop_extenthorizontal loop extentcountinteger()inFalse
levsvertical_dimensionvertical layer dimensioncountinteger()inFalse
flag_initflag_for_first_time_stepflag signaling first time step for time integration loopflaglogical()inFalse
flag_restartflag_for_restartflag for restart (warmstart) or coldstartflaglogical()inFalse
lssavflag_diagnosticslogical flag for storing diagnosticsflaglogical()inFalse
ldiag3dflag_diagnostics_3Dflag for 3d diagnostic fieldsflaglogical()inFalse
lsideaflag_idealized_physicsflag for idealized physicsflaglogical()inFalse
delttime_step_for_physicstime step for physicssreal()kind_physinFalse
dtftime_step_for_dynamicsdynamics timestepsreal()kind_physinFalse
dxcell_sizesize of the grid cellmreal(horizontal_dimension)kind_physinFalse
zorlsurface_roughness_lengthsurface roughness length in cmcmreal(horizontal_dimension)kind_physinFalse
phiigeopotential_at_interfacegeopotential at model layer interfacesm2 s-2real(horizontal_dimension, vertical_dimension_plus_one)kind_physinFalse
Ux_windx component of layer windm s-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
Vy_windy component of layer windm s-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
omegaomegalayer mean vertical velocityPa s-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
T3Dair_temperaturelayer mean air temperatureKreal(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_water_vaporwater_vapor_specific_humiditywater vapor specific humiditykg kg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_liquid_cloudcloud_condensed_water_mixing_ratiomoist (dry+vapor, no condensates) mixing ratio of cloud water (condensate)kg kg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_ice_cloudice_water_mixing_ratiomoist (dry+vapor, no condensates) mixing ratio of ice waterkg kg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_cloud_droplet_num_conccloud_droplet_number_concentrationnumber concentration of cloud droplets (liquid)kg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_cloud_ice_num_concice_number_concentrationnumber concentration of icekg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_ozoneozone_mixing_ratioozone mixing ratiokg kg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_water_aer_num_concwater_friendly_aerosol_number_concentrationnumber concentration of water-friendly aerosolskg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
qgrs_ice_aer_num_concice_friendly_aerosol_number_concentrationnumber concentration of ice-friendly aerosolskg-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
prslair_pressuremean layer pressurePareal(horizontal_dimension, vertical_dimension)kind_physinFalse
exnerdimensionless_exner_function_at_model_layersExner function at layersnonereal(horizontal_dimension, vertical_dimension)kind_physinFalse
slmsksea_land_ice_mask_reallandmask: sea/land/ice=0/1/2flagreal(horizontal_dimension)kind_physinFalse
tsurfsurface_skin_temperaturesurface temperatureKreal(horizontal_dimension)kind_physinFalse
qsfcsurface_specific_humiditysurface air saturation specific humiditykg kg-1real(horizontal_dimension)kind_physinFalse
pssurface_air_pressuresurface pressurePareal(horizontal_dimension)kind_physinFalse
ustsurface_friction_velocityboundary layer parameterm s-1real(horizontal_dimension)kind_physinFalse
chsurface_drag_wind_speed_for_momentum_in_airmomentum exchange coefficientm s-1real(horizontal_dimension)kind_physoutFalse
hflxkinematic_surface_upward_sensible_heat_fluxkinematic surface upward sensible heat fluxK m s-1real(horizontal_dimension)kind_physinFalse
qflxkinematic_surface_upward_latent_heat_fluxkinematic surface upward latent heat fluxkg kg-1 m s-1real(horizontal_dimension)kind_physinFalse
wspdwind_speed_at_lowest_model_layerwind speed at lowest model levelm s-1real(horizontal_dimension)kind_physinFalse
rbbulk_richardson_number_at_lowest_model_levelbulk Richardson number at the surfacenonereal(horizontal_dimension)kind_physinFalse
dtsfc1instantaneous_surface_upward_sensible_heat_fluxsurface upward sensible heat flux valid for current callW m-2real(horizontal_dimension)kind_physoutFalse
dqsfc1instantaneous_surface_upward_latent_heat_fluxsurface upward latent heat flux valid for current callW m-2real(horizontal_dimension)kind_physoutFalse
dtsfci_diaginstantaneous_surface_upward_sensible_heat_flux_for_diaginstantaneous sfc sensible heat flux multiplied by timestepW m-2real(horizontal_dimension)kind_physoutFalse
dqsfci_diaginstantaneous_surface_upward_latent_heat_flux_for_diaginstantaneous sfc latent heat flux multiplied by timestepW m-2real(horizontal_dimension)kind_physoutFalse
dtsfc_diagcumulative_surface_upward_sensible_heat_flux_for_diag_multiplied_by_timestepcumulative sfc sensible heat flux multiplied by timestepW m-2 sreal(horizontal_dimension)kind_physoutFalse
dqsfc_diagcumulative_surface_upward_latent_heat_flux_for_diag_multiplied_by_timestepcumulative sfc latent heat flux multiplied by timestepW m-2 sreal(horizontal_dimension)kind_physoutFalse
recmolreciprocal_of_obukhov_lengthone over obukhov lengthm-1real(horizontal_dimension)kind_physinFalse
qketke_at_mass_points2 x tke at mass pointsm2 s-2real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
qke_advturbulent_kinetic_energyturbulent kinetic energyJreal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
tsqt_prime_squaredtemperature fluctuation squaredK2real(horizontal_dimension, vertical_dimension)kind_physoutFalse
qsqq_prime_squaredwater vapor fluctuation squaredkg2 kg-2real(horizontal_dimension, vertical_dimension)kind_physoutFalse
covt_prime_q_primecovariance of temperature and moistureK kg kg-1real(horizontal_dimension, vertical_dimension)kind_physoutFalse
el_pblmixing_lengthmixing length in metersmreal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
Sh3Dstability_function_for_heatstability function for heatnonereal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
exch_hatmosphere_heat_diffusivity_for_mynnpbldiffusivity for heat for MYNN PBL (defined for all mass levels)m2 s-1real(horizontal_dimension, vertical_dimension)kind_physoutFalse
exch_matmosphere_momentum_diffusivity_for_mynnpbldiffusivity for momentum for MYNN PBL (defined for all mass levels)m2 s-1real(horizontal_dimension, vertical_dimension)kind_physoutFalse
PBLHatmosphere_boundary_layer_thicknessPBL thicknessmreal(horizontal_dimension)kind_physinoutFalse
kpblvertical_index_at_top_of_atmosphere_boundary_layerPBL top model level indexindexinteger(horizontal_dimension)inoutFalse
QC_BLsubgrid_cloud_mixing_ratio_pblsubgrid cloud cloud mixing ratio from PBL schemekg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
CLDFRA_BLsubgrid_cloud_fraction_pblsubgrid cloud fraction from PBL schemefracreal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
edmf_aemdf_updraft_areaupdraft area from mass flux schemefracreal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
edmf_wemdf_updraft_vertical_velocityupdraft vertical velocity from mass flux schemem s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
edmf_qtemdf_updraft_total_waterupdraft total water from mass flux schemekg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
edmf_thlemdf_updraft_theta_lupdraft theta-l from mass flux schemeKreal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
edmf_entemdf_updraft_entrainment_rateupdraft entrainment rate from mass flux schemes-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
edmf_qcemdf_updraft_cloud_waterupdraft cloud water from mass flux schemekg kg-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
nupdraftnumber_of_plumesnumber of plumes per grid columncountinteger(horizontal_dimension)inoutFalse
maxMFmaximum_mass_fluxmaximum mass flux within a columnm s-1real(horizontal_dimension)kind_physoutFalse
ktop_shallowk_level_of_highest_reaching_plumek-level of highest reaching plumecountinteger(horizontal_dimension)inoutFalse
RTHRATENtendency_of_air_temperature_due_to_longwave_heating_on_radiation_time_steptotal sky longwave heating rateK s-1real(horizontal_dimension, adjusted_vertical_layer_dimension_for_radiation)kind_physinFalse
dudttendency_of_x_wind_due_to_model_physicsupdated tendency of the x windm s-2real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dvdttendency_of_y_wind_due_to_model_physicsupdated tendency of the y windm s-2real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dtdttendency_of_air_temperature_due_to_model_physicsupdated tendency of the temperatureK s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_water_vaportendency_of_water_vapor_specific_humidity_due_to_model_physicswater vapor specific humidity tendency due to model physicskg kg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_liquid_cloudtendency_of_liquid_cloud_water_mixing_ratio_due_to_model_physicscloud condensed water mixing ratio tendency due to model physicskg kg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_ice_cloudtendency_of_ice_cloud_water_mixing_ratio_due_to_model_physicscloud condensed water mixing ratio tendency due to model physicskg kg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_ozonetendency_of_ozone_mixing_ratio_due_to_model_physicsozone mixing ratio tendency due to model physicskg kg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_cloud_droplet_num_conctendency_of_cloud_droplet_number_concentration_due_to_model_physicsnumber conc. of cloud droplets (liquid) tendency due to model physicskg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_ice_num_conctendency_of_ice_number_concentration_due_to_model_physicsnumber conc. of ice tendency due to model physicskg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_water_aer_num_conctendency_of_water_friendly_aerosol_number_concentration_due_to_model_physicsnumber conc. of water-friendly aerosols tendency due to model physicskg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dqdt_ice_aer_num_conctendency_of_ice_friendly_aerosol_number_concentration_due_to_model_physicsnumber conc. of ice-friendly aerosols tendency due to model physicskg-1 s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dt3dtcumulative_change_in_temperature_due_to_PBLcumulative change in temperature due to PBLKreal(horizontal_dimension, vertical_dimension)kind_physinoutFalse
du3dt_PBLcumulative_change_in_x_wind_due_to_PBLcumulative change in x wind due to PBLm s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
du3dt_OGWDcumulative_change_in_x_wind_due_to_orographic_gravity_wave_dragcumulative change in x wind due to orographic gravity wave dragm s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dv3dt_PBLcumulative_change_in_y_wind_due_to_PBLcumulative change in y wind due to PBLm s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
dv3dt_OGWDcumulative_change_in_y_wind_due_to_orographic_gravity_wave_dragcumulative change in y wind due to orographic gravity wave dragm s-1real(horizontal_dimension, vertical_dimension)kind_physinoutFalse
htrswtendency_of_air_temperature_due_to_shortwave_heating_on_radiation_timesteptotal sky sw heating rateK s-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
htrlwtendency_of_air_temperature_due_to_longwave_heating_on_radiation_timesteptotal sky lw heating rateK s-1real(horizontal_dimension, vertical_dimension)kind_physinFalse
xmuzenith_angle_temporal_adjustment_factor_for_shortwave_fluxeszenith angle temporal adjustment factor for shortwavenonereal(horizontal_dimension)kind_physinFalse
grav_settlinggrav_settlingflag to activate gravitational setting of fogflaginteger()inFalse
bl_mynn_tkebudgettke_budgetflag for activating TKE budgetflaginteger()inFalse
bl_mynn_tkeadvecttke_advectflag for activating TKE advectflaglogical()inFalse
bl_mynn_cloudpdfcloudpdfflag to determine which cloud PDF to useflaginteger()inFalse
bl_mynn_mixlengthmixing_length_flagflag to determine which mixing length form to useflaginteger()inFalse
bl_mynn_edmfedmf_flagflag to activate the mass-flux schemeflaginteger()inFalse
bl_mynn_edmf_momedmf_momentum_transport_flagflag to activate the transport of momentumflaginteger()inFalse
bl_mynn_edmf_tkeedmf_tke_transport_flagflag to activate the transport of TKEflaginteger()inFalse
bl_mynn_edmf_partedmf_partition_flagflag to partitioning of the MF and ED areasflaginteger()inFalse
bl_mynn_cloudmixcloud_specie_mix_flagflag to activate mixing of cloud speciesflaginteger()inFalse
bl_mynn_mixqtmix_total_water_flagflag to mix total water or individual speciesflaginteger()inFalse
icloud_blcouple_sgs_clouds_to_radiation_flagflag for coupling sgs clouds to radiationflaginteger()inFalse
do_mynnsfclaydo_mynnsfclayflag to activate MYNN surface layerflaglogical()inFalse
imp_physicsflag_for_microphysics_schemechoice of microphysics schemeflaginteger()inFalse
imp_physics_gfdlflag_for_gfdl_microphysics_schemechoice of GFDL microphysics schemeflaginteger()inFalse
imp_physics_thompsonflag_for_thompson_microphysics_schemechoice of Thompson microphysics schemeflaginteger()inFalse
imp_physics_wsm6flag_for_wsm6_microphysics_schemechoice of WSM6 microphysics schemeflaginteger()inFalse
ltaerosolflag_for_aerosol_physicsflag for aerosol physicsflaglogical()inFalse
lprntflag_printcontrol flag for diagnostic print outflaglogical()inFalse
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*outFalse
errflgccpp_error_flagerror flag for error handling in CCPPflaginteger()outFalse

References physcons::con_cliq, physcons::con_cp, physcons::con_csol, physcons::con_cvap, physcons::con_eps, physcons::con_fvirt, physcons::con_g, physcons::con_hfus, physcons::con_hvap, physcons::con_rd, physcons::con_rocp, physcons::con_rv, and module_bl_mynn::mynn_bl_driver().

Here is the call graph for this function: