Namespace settlingscheme_gocart_mod¶
Namespace List > settlingscheme_gocart_mod
Public Functions¶
| Type | Name |
|---|---|
| subroutine, public | compute_gocart (integer, intent(in) num_layers, integer, intent(in) num_species, type(settlingschemegocartconfig), intent(in) params, 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), dimension(num_layers), intent(in) rh, real(fp), dimension(num_layers), intent(in) t, real(fp), intent(in) tstep, real(fp), dimension(num_layers+1), intent(in) z, character(len=32), dimension(:), intent(in) species_short_name, type(gocart2g_mie), dimension(:), intent(in) mie_data, integer, dimension(num_species), intent(in) species_mie_map, real(fp), dimension(:), intent(in) species_radius, real(fp), dimension(:), intent(in) species_density, 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 settling_velocity_per_species_per_level, real(fp), dimension(:), intent(inout), optional settling_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 settlingscheme_gocart_mod::compute_gocart (
integer, intent(in) num_layers,
integer, intent(in) num_species,
type( settlingschemegocartconfig ), intent(in) params,
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), dimension(num_layers), intent(in) rh,
real(fp), dimension(num_layers), intent(in) t,
real(fp), intent(in) tstep,
real(fp), dimension(num_layers+1), intent(in) z,
character(len=32), dimension(:), intent(in) species_short_name,
type(gocart2g_mie), dimension(:), intent(in) mie_data,
integer, dimension(num_species), intent(in) species_mie_map,
real(fp), dimension(:), intent(in) species_radius,
real(fp), dimension(:), intent(in) species_density,
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 settling_velocity_per_species_per_level,
real(fp), dimension(:), intent(inout), optional settling_flux_per_species,
integer, dimension(:), intent(in), optional diagnostic_species_id
)
This is a pure computational kernel implementing GOCART gravitational settling 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)airdenAIRDEN field [appropriate units]delpDELP field [appropriate units]pmidPMID field [appropriate units]rhRH field [appropriate units]tT field [appropriate units]tstepTime step [s] - retrieved from process interfacezZ field [appropriate units]species_short_nameSpecies short_name propertymie_dataComplete Mie data array from ChemStatespecies_mie_mapMapping from process species to MieData indicesspecies_radiusSpecies radius propertyspecies_densitySpecies density propertyspecies_concSpecies concentrations [mol/mol] (num_layers, num_species)species_tendenciesSpecies tendency terms [mol/mol/s] (num_layers, num_species)settling_velocity_per_species_per_levelsettling velocity per species per level [m/s] (num_layers, num_species)settling_flux_per_speciessettling flux per species across column [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/settling/schemes/SettlingScheme_GOCART_Mod.F90