Namespace so4chemscheme_gocart_mod¶
Namespace List > so4chemscheme_gocart_mod
Public Functions¶
| Type | Name |
|---|---|
| subroutine, public | compute_gocart (integer, intent(in) num_layers, integer, intent(in) num_species, type(so4chemschemegocartconfig), intent(in) params, real(fp), intent(in) g0, real(fp), intent(in) cpd, real(fp), intent(in) avo, real(fp), intent(in) von_karman, real(fp), intent(in) airmw, real(fp), intent(in) pi, integer, intent(in) year, integer, intent(in) month, integer, intent(in) day, integer, intent(in) hour, integer, intent(in) minute, integer, intent(in) second, real(fp), dimension(num_layers), intent(in) airden, real(fp), dimension(num_layers), intent(in) cldf, real(fp), dimension(num_layers), intent(in) delp, real(fp), intent(in) hflux, real(fp), intent(in) lat, real(fp), intent(in) lon, integer, intent(in) lwi, real(fp), intent(in) pblh, real(fp), dimension(num_layers), intent(in) pmid, real(fp), dimension(num_layers), intent(in) t, real(fp), intent(in) tstep, real(fp), intent(in) u10m, real(fp), intent(in) ustar, real(fp), intent(in) v10m, real(fp), dimension(num_layers+1), intent(in) z, real(fp), intent(in) z0h, real(fp), dimension(:), intent(in) species_mw_g, character(len=32), dimension(:), intent(in) species_short_name, real(fp), dimension(num_layers, num_species), intent(in) species_conc, real(fp), dimension(num_layers, num_species), intent(inout) species_tendencies, logical, intent(inout) firsttime, integer, intent(inout) nymd_last, integer, intent(inout) nhms_last_recycle, real(fp), dimension(:), intent(inout), allocatable xh2o2_init, real(fp), dimension(:,:), intent(inout), optional production_rate_per_species_per_level, real(fp), dimension(:), intent(inout), optional pso4_from_gaseous_so2_per_level, real(fp), dimension(:), intent(inout), optional pso4_from_aqueous_so2_per_level, real(fp), intent(inout), optional dms_emission_flux, integer, dimension(:), intent(in), optional diagnostic_species_id) Pure science computation for gocart scheme. |
Public Functions Documentation¶
function compute_gocart¶
Pure science computation for gocart scheme.
subroutine, public so4chemscheme_gocart_mod::compute_gocart (
integer, intent(in) num_layers,
integer, intent(in) num_species,
type( so4chemschemegocartconfig ), intent(in) params,
real(fp), intent(in) g0,
real(fp), intent(in) cpd,
real(fp), intent(in) avo,
real(fp), intent(in) von_karman,
real(fp), intent(in) airmw,
real(fp), intent(in) pi,
integer, intent(in) year,
integer, intent(in) month,
integer, intent(in) day,
integer, intent(in) hour,
integer, intent(in) minute,
integer, intent(in) second,
real(fp), dimension(num_layers), intent(in) airden,
real(fp), dimension(num_layers), intent(in) cldf,
real(fp), dimension(num_layers), intent(in) delp,
real(fp), intent(in) hflux,
real(fp), intent(in) lat,
real(fp), intent(in) lon,
integer, intent(in) lwi,
real(fp), intent(in) pblh,
real(fp), dimension(num_layers), intent(in) pmid,
real(fp), dimension(num_layers), intent(in) t,
real(fp), intent(in) tstep,
real(fp), intent(in) u10m,
real(fp), intent(in) ustar,
real(fp), intent(in) v10m,
real(fp), dimension(num_layers+1), intent(in) z,
real(fp), intent(in) z0h,
real(fp), dimension(:), intent(in) species_mw_g,
character(len=32), dimension(:), intent(in) species_short_name,
real(fp), dimension(num_layers, num_species), intent(in) species_conc,
real(fp), dimension(num_layers, num_species), intent(inout) species_tendencies,
logical, intent(inout) firsttime,
integer, intent(inout) nymd_last,
integer, intent(inout) nhms_last_recycle,
real(fp), dimension(:), intent(inout), allocatable xh2o2_init,
real(fp), dimension(:,:), intent(inout), optional production_rate_per_species_per_level,
real(fp), dimension(:), intent(inout), optional pso4_from_gaseous_so2_per_level,
real(fp), dimension(:), intent(inout), optional pso4_from_aqueous_so2_per_level,
real(fp), intent(inout), optional dms_emission_flux,
integer, dimension(:), intent(in), optional diagnostic_species_id
)
This is a pure computational kernel implementing GOCART SO2 to SO4 production scheme. NO error checking, validation, or infrastructure concerns. Host model must ensure all inputs are valid before calling.
Parameters:
num_layersNumber of vertical layersnum_speciesNumber of chemical speciesparamsScheme parameters (pre-validated by host)g0Required constant from Constants moduleCpdRequired constant from Constants moduleAVORequired constant from Constants moduleVON_KARMANRequired constant from Constants moduleAIRMWRequired constant from Constants modulePIRequired constant from Constants moduleyearTime parameter from TimeState (year)monthTime parameter from TimeState (month)dayTime parameter from TimeState (day)hourTime parameter from TimeState (hour)minuteTime parameter from TimeState (minute)secondTime parameter from TimeState (second)airdenAIRDEN field [appropriate units]cldfCLDF field [appropriate units]delpDELP field [appropriate units]hfluxHFLUX field [appropriate units]latLAT field [appropriate units]lonLON field [appropriate units]lwiLWI field [appropriate units]pblhPBLH field [appropriate units]pmidPMID field [appropriate units]tT field [appropriate units]tstepTime step [s] - retrieved from process interfaceu10mU10M field [appropriate units]ustarUSTAR field [appropriate units]v10mV10M field [appropriate units]zZ field [appropriate units]z0hZ0H field [appropriate units]species_mw_gSpecies mw_g propertyspecies_short_nameSpecies short_name propertyspecies_concSpecies concentrations [ppm or ug/kg] (num_layers, num_species)species_tendenciesSpecies tendency terms [mol/mol/s] (num_layers, num_species) Persistent state variables (per-column):firsttimeflag for first time stepnymd_lastlast day of H2O2 updatenhms_last_recyclelast time step of H2O2 recyclexh2o2_initH2O2 column initializationPSO4_from_SO2_per_leveltotal sulfate production rate from SO2 per level [kg/kg/s] (num_layers)PSO4_from_gaseous_SO2_per_levelsulfate production rate from gaseous SO2 per level [kg/kg/s] (num_layers)PSO4_from_aqueous_SO2_per_levelsulfate production rate from aqueous SO2 per level [kg/kg/s] (num_layers)PSO2_from_DMS_per_levelSO2 production rate from DMS per level [kg/kg/s] (num_layers)DMS_emission_fluxDMS emission flux at the surface [kg/m2/s]diagnostic_species_idIndices mapping diagnostic species to species array (optional, for per-species diagnostics)
The documentation for this class was generated from the following file src/process/so4chem/schemes/SO4chemScheme_GOCART_Mod.F90