Data Types | Modules | Functions/Subroutines | Variables

aero_particle.F95 File Reference

The pmc_aero_particle module. More...

Data Types

type  pmc_aero_particle::aero_particle_t
 Single aerosol particle data structure. More...

Modules

module  pmc_aero_particle
 

The aero_particle_t structure and associated subroutines.


Functions/Subroutines

subroutine pmc_aero_particle::aero_particle_allocate (aero_particle)
 Allocates memory in an aero_particle_t.
subroutine pmc_aero_particle::aero_particle_allocate_size (aero_particle, n_spec)
 Allocates an aero_particle_t of the given size.
subroutine pmc_aero_particle::aero_particle_deallocate (aero_particle)
 Deallocates memory associated with an aero_particle_t.
subroutine pmc_aero_particle::aero_particle_copy (aero_particle_from, aero_particle_to)
 Copies a particle.
subroutine pmc_aero_particle::aero_particle_shift (aero_particle_from, aero_particle_to)
 Shift data from one aero_particle_t to another and free the first one.
subroutine pmc_aero_particle::aero_particle_zero (aero_particle)
 Resets an aero_particle to be zero.
subroutine pmc_aero_particle::aero_particle_new_id (aero_particle)
 Assigns a globally-unique new ID number to the particle.
subroutine pmc_aero_particle::aero_particle_set_create_time (aero_particle, create_time)
 Sets the creation times for the particle.
subroutine pmc_aero_particle::aero_particle_set_vols (aero_particle, vols)
 Sets the aerosol particle volumes.
real(kind=dp) pmc_aero_particle::aero_particle_mass (aero_particle, aero_data)
 Total mass of the particle (kg).
real(kind=dp) pmc_aero_particle::aero_particle_moles (aero_particle, aero_data)
 Total moles in the particle (1).
real(kind=dp) pmc_aero_particle::aero_particle_volume (aero_particle)
 Total volume of the particle (m^3).
real(kind=dp) pmc_aero_particle::aero_particle_dry_volume (aero_particle, aero_data)
 Total dry volume of the particle (m^3).
real(kind=dp) pmc_aero_particle::aero_particle_volume_maybe_dry (aero_particle, aero_data, dry_volume)
 Total volume (dry or wet) of the particle (m^3).
real(kind=dp) pmc_aero_particle::aero_particle_radius (aero_particle)
 Total radius of the particle (m).
real(kind=dp) pmc_aero_particle::aero_particle_dry_radius (aero_particle, aero_data)
 Total dry radius of the particle (m).
real(kind=dp) pmc_aero_particle::aero_particle_diameter (aero_particle)
 Total diameter of the particle (m).
real(kind=dp) pmc_aero_particle::aero_particle_dry_diameter (aero_particle, aero_data)
 Total dry diameter of the particle (m).
real(kind=dp) pmc_aero_particle::aero_particle_density (aero_particle, aero_data)
 Average density of the particle (kg/m^3).
integer pmc_aero_particle::aero_particle_in_bin (aero_particle, bin_grid)
 Find the bin number that contains a given particle.
real(kind=dp) pmc_aero_particle::aero_particle_average_solute_quantity (aero_particle, aero_data, quantity)
 Returns the volume-average of the non-water elements of quantity.
real(kind=dp) pmc_aero_particle::aero_particle_total_solute_quantity (aero_particle, aero_data, quantity)
 Returns the volume-total of the non-water elements of quantity.
real(kind=dp) pmc_aero_particle::aero_particle_average_water_quantity (aero_particle, aero_data, quantity)
 Returns the water element of quantity.
real(kind=dp) pmc_aero_particle::aero_particle_total_water_quantity (aero_particle, aero_data, quantity)
 Returns the volume-total of the water element of quantity.
real(kind=dp) pmc_aero_particle::aero_particle_water_molec_weight (aero_data)
 Returns the water molecular weight. (kg/mole)
real(kind=dp) pmc_aero_particle::aero_particle_solute_molec_weight (aero_particle, aero_data)
 Returns the average of the solute molecular weight (kg/mole).
real(kind=dp) pmc_aero_particle::aero_particle_solute_num_ions (aero_particle, aero_data)
 Returns the average of the solute ion number (1).
real(kind=dp) pmc_aero_particle::aero_particle_water_density (aero_data)
 Returns the water density (kg/m^3).
real(kind=dp) pmc_aero_particle::aero_particle_solute_density (aero_particle, aero_data)
 Returns the average of the solute densities (kg/m^3).
real(kind=dp) pmc_aero_particle::aero_particle_water_mass (aero_particle, aero_data)
 Returns the water mass (kg).
real(kind=dp) pmc_aero_particle::aero_particle_solute_mass (aero_particle, aero_data)
 Returns the total solute mass (kg).
real(kind=dp) pmc_aero_particle::aero_particle_solute_volume (aero_particle, aero_data)
 Returns the total solute volume (m^3).
real(kind=dp) pmc_aero_particle::aero_particle_solute_radius (aero_particle, aero_data)
 Returns the total solute radius (m).
real(kind=dp) pmc_aero_particle::aero_particle_solute_kappa (aero_particle, aero_data)
 Returns the average of the solute kappas (1).
subroutine pmc_aero_particle::aero_particle_coagulate (aero_particle_1, aero_particle_2, aero_particle_new)
 Coagulate two particles together to make a new one. The new particle will not have its ID set.
integer pmc_aero_particle::pmc_mpi_pack_size_aero_particle (val)
 Determines the number of bytes required to pack the given value.
subroutine pmc_aero_particle::pmc_mpi_pack_aero_particle (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_aero_particle::pmc_mpi_unpack_aero_particle (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.

Variables

integer, save pmc_aero_particle::next_id = 1
 Next unique ID number to use for a particle.

Detailed Description

The pmc_aero_particle module.