Skip to content

Namespace drydepscheme_zhang_mod

Namespace List > drydepscheme_zhang_mod

Public Functions

Type Name
subroutine, public compute_zhang (integer, intent(in) num_layers, integer, intent(in) num_species, type(drydepschemezhangconfig), intent(in) params, real(fp), dimension(num_layers), intent(in) bxheight, real(fp), dimension(:), intent(in) frlanduse, integer, dimension(:), intent(in) iland, logical, intent(in) isice, logical, intent(in) issnow, character(len=255), intent(in) lucname, real(fp), intent(in) obk, real(fp), intent(in) ps, real(fp), dimension(num_layers), intent(in) rh, real(fp), intent(in) ts, real(fp), intent(in) tstep, real(fp), intent(in) u10m, real(fp), intent(in) ustar, real(fp), intent(in) v10m, real(fp), intent(in) z0, real(fp), dimension(num_species), intent(in) species_mw_g, real(fp), dimension(num_species), intent(in) species_radius, real(fp), dimension(num_species), intent(in) species_density, character(len=32), dimension(num_species), intent(in) species_short_name, real(fp), dimension(num_species), intent(in) species_dd_hstar, real(fp), dimension(num_species), intent(in) species_dd_dvzaersnow, real(fp), dimension(num_species), intent(in) species_dd_dvzminval_snow, real(fp), dimension(num_species), intent(in) species_dd_dvzminval_land, real(fp), dimension(num_species), intent(in) species_lower_radius, real(fp), dimension(num_species), intent(in) species_upper_radius, logical, dimension(num_species), intent(in) species_is_dust, logical, dimension(num_species), intent(in) species_is_seasalt, real(fp), dimension(num_layers, num_species), intent(in) species_conc, real(fp), dimension(num_layers, num_species), intent(inout) species_tendencies, logical, dimension(num_species), intent(in) is_gas, real(fp), dimension(:), intent(inout), optional drydep_con_per_species, real(fp), dimension(:), intent(inout), optional drydep_velocity_per_species, integer, dimension(:), intent(in), optional diagnostic_species_id)
Pure science computation for zhang scheme.

Public Functions Documentation

function compute_zhang

Pure science computation for zhang scheme.

subroutine, public drydepscheme_zhang_mod::compute_zhang (
    integer, intent(in) num_layers,
    integer, intent(in) num_species,
    type( drydepschemezhangconfig ), intent(in) params,
    real(fp), dimension(num_layers), intent(in) bxheight,
    real(fp), dimension(:), intent(in) frlanduse,
    integer, dimension(:), intent(in) iland,
    logical, intent(in) isice,
    logical, intent(in) issnow,
    character(len=255), intent(in) lucname,
    real(fp), intent(in) obk,
    real(fp), intent(in) ps,
    real(fp), dimension(num_layers), intent(in) rh,
    real(fp), intent(in) ts,
    real(fp), intent(in) tstep,
    real(fp), intent(in) u10m,
    real(fp), intent(in) ustar,
    real(fp), intent(in) v10m,
    real(fp), intent(in) z0,
    real(fp), dimension(num_species), intent(in) species_mw_g,
    real(fp), dimension(num_species), intent(in) species_radius,
    real(fp), dimension(num_species), intent(in) species_density,
    character(len=32), dimension(num_species), intent(in) species_short_name,
    real(fp), dimension(num_species), intent(in) species_dd_hstar,
    real(fp), dimension(num_species), intent(in) species_dd_dvzaersnow,
    real(fp), dimension(num_species), intent(in) species_dd_dvzminval_snow,
    real(fp), dimension(num_species), intent(in) species_dd_dvzminval_land,
    real(fp), dimension(num_species), intent(in) species_lower_radius,
    real(fp), dimension(num_species), intent(in) species_upper_radius,
    logical, dimension(num_species), intent(in) species_is_dust,
    logical, dimension(num_species), intent(in) species_is_seasalt,
    real(fp), dimension(num_layers, num_species), intent(in) species_conc,
    real(fp), dimension(num_layers, num_species), intent(inout) species_tendencies,
    logical, dimension(num_species), intent(in) is_gas,
    real(fp), dimension(:), intent(inout), optional drydep_con_per_species,
    real(fp), dimension(:), intent(inout), optional drydep_velocity_per_species,
    integer, dimension(:), intent(in), optional diagnostic_species_id
) 

This is a pure computational kernel implementing Zhang et al. [2001] scheme with Emerson et al. [2020] updates. NO error checking, validation, or infrastructure concerns. Host model must ensure all inputs are valid before calling.

Parameters:

  • num_layers Number of vertical layers
  • num_species Number of chemical species
  • params Scheme parameters (pre-validated by host)
  • bxheight BXHEIGHT field [appropriate units]
  • frlanduse FRLANDUSE field [appropriate units]
  • iland ILAND field [appropriate units]
  • isice IsIce field [appropriate units]
  • issnow IsSnow field [appropriate units]
  • lucname LUCNAME field [appropriate units]
  • obk OBK field [appropriate units]
  • ps PS field [appropriate units]
  • rh RH field [appropriate units]
  • ts TS field [appropriate units]
  • tstep Time step [s] - retrieved from process interface
  • u10m U10M field [appropriate units]
  • ustar USTAR field [appropriate units]
  • v10m V10M field [appropriate units]
  • z0 Z0 field [appropriate units]
  • species_mw_g Species mw_g property
  • species_radius Species radius property
  • species_density Species density property
  • species_short_name Species short_name property
  • species_dd_hstar Species dd_hstar property
  • species_dd_DvzAerSnow Species dd_DvzAerSnow property
  • species_dd_DvzMinVal_snow Species dd_DvzMinVal_snow property
  • species_dd_DvzMinVal_land Species dd_DvzMinVal_land property
  • species_lower_radius Species lower_radius property
  • species_upper_radius Species upper_radius property
  • species_is_dust Species is_dust property
  • species_is_seasalt Species is_seasalt property
  • species_conc Species concentrations [mol/mol] (num_layers, num_species)
  • species_tendencies Species tendency terms [mol/mol/s] (num_layers, num_species)
  • drydep_con_per_species Dry deposition concentration per species [ug/kg or ppm] (num_species)
  • drydep_velocity_per_species Dry deposition velocity [m/s] (num_species)
  • diagnostic_species_id Indices mapping diagnostic species to species array (optional, for per-species diagnostics)


The documentation for this class was generated from the following file src/process/drydep/schemes/DryDepScheme_ZHANG_Mod.F90