Namespace carbchemscheme_gocart_mod¶
Namespace List > carbchemscheme_gocart_mod
Public Functions¶
| Type | Name |
|---|---|
| subroutine, public | compute_gocart (integer, intent(in) num_layers, integer, intent(in) num_species, type(carbchemschemegocartconfig), intent(in) params, real(fp), intent(in) g0, 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) delp, real(fp), dimension(num_layers), intent(in) pmid, real(fp), intent(in) tstep, real(fp), dimension(:), intent(in) species_t_chem_loss, 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, real(fp), dimension(:,:), intent(inout), optional production_mass_per_species_per_level, real(fp), dimension(:), intent(inout), optional loss_flux_per_species, real(fp), dimension(:,:), intent(inout), optional phobictophilic_mass_per_species_per_level, real(fp), dimension(:), intent(inout), optional phobictophilic_flux_per_species, 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 carbchemscheme_gocart_mod::compute_gocart (
integer, intent(in) num_layers,
integer, intent(in) num_species,
type( carbchemschemegocartconfig ), intent(in) params,
real(fp), intent(in) g0,
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) delp,
real(fp), dimension(num_layers), intent(in) pmid,
real(fp), intent(in) tstep,
real(fp), dimension(:), intent(in) species_t_chem_loss,
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,
real(fp), dimension(:,:), intent(inout), optional production_mass_per_species_per_level,
real(fp), dimension(:), intent(inout), optional loss_flux_per_species,
real(fp), dimension(:,:), intent(inout), optional phobictophilic_mass_per_species_per_level,
real(fp), dimension(:), intent(inout), optional phobictophilic_flux_per_species,
integer, dimension(:), intent(in), optional diagnostic_species_id
)
This is a pure computational kernel implementing GOCART carbon species chemical production and loss 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 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]delpDELP field [appropriate units]pmidPMID field [appropriate units]tstepTime step [s] - retrieved from process interfacespecies_t_chem_lossSpecies t_chem_loss propertyspecies_short_nameSpecies short_name propertyspecies_concSpecies concentrations [mol/mol] (num_layers, num_species)species_tendenciesSpecies tendency terms [mol/mol/s] (num_layers, num_species)Production_mass_per_species_per_levelProduction mass (negative for loss) per species per level [kg/kg] (num_layers, num_species)loss_flux_per_specieschemical loss flux per species [kg/m2/s] (num_species)PhobicToPhilic_flux_per_speciesconversion flux from hydrophobic to hydrophilic per species [kg/m2/s] (num_species)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/carbchem/schemes/CarbChemScheme_GOCART_Mod.F90