PartMC  2.6.1
Data Types | Modules | Functions/Subroutines | Variables
aero_weight.F90 File Reference

The pmc_aero_weight module. More...

Go to the source code of this file.

Data Types

type  pmc_aero_weight::aero_weight_t
 An aerosol size distribution weighting function. More...
 

Modules

module  pmc_aero_weight
 The aero_weight_t structure and associated subroutines.
 

Functions/Subroutines

elemental subroutine pmc_aero_weight::aero_weight_normalize (aero_weight)
 Sets the aero_weight to a non-zero normalized value. More...
 
elemental subroutine pmc_aero_weight::aero_weight_scale (aero_weight, factor)
 Scale the weight by the given fraction, so new_weight = old_weight * factor. More...
 
elemental subroutine pmc_aero_weight::aero_weight_combine (aero_weight, aero_weight_delta)
 Combine aero_weight_delta into aero_weight with a harmonic mean. More...
 
elemental subroutine pmc_aero_weight::aero_weight_shift (aero_weight_from, aero_weight_to, sample_prop, overwrite_to)
 Adjust source and destination weights to reflect moving sample_prop proportion of particles from aero_weight_from to aero_weight_to. More...
 
real(kind=dp) function pmc_aero_weight::aero_weight_num_conc_at_radius (aero_weight, radius)
 Compute the number concentration at a given radius (m^{-3}). More...
 
real(kind=dp) function pmc_aero_weight::aero_weight_num_conc (aero_weight, aero_particle, aero_data)
 Compute the number concentration for a particle (m^{-3}). More...
 
real(kind=dp) function pmc_aero_weight::aero_weight_radius_at_num_conc (aero_weight, num_conc)
 Compute the radius at a given number concentration (m). Inverse of aero_weight_num_conc_at_radius(). More...
 
subroutine pmc_aero_weight::aero_weight_check_valid_exponent (aero_weight)
 Ensures that a weight function exponent is valid. More...
 
subroutine pmc_aero_weight::aero_weight_check_monotonicity (aero_weight, monotone_increasing, monotone_decreasing)
 Determine whether a weight function is monotone increasing, monotone decreasing, or neither. More...
 
integer function pmc_aero_weight::pmc_mpi_pack_size_aero_weight (val)
 Determines the number of bytes required to pack the given value. More...
 
subroutine pmc_aero_weight::pmc_mpi_pack_aero_weight (buffer, position, val)
 Packs the given value into the buffer, advancing position. More...
 
subroutine pmc_aero_weight::pmc_mpi_unpack_aero_weight (buffer, position, val)
 Unpacks the given value from the buffer, advancing position. More...
 

Variables

integer, parameter pmc_aero_weight::aero_weight_type_invalid = 0
 Type code for an undefined or invalid weighting. More...
 
integer, parameter pmc_aero_weight::aero_weight_type_none = 1
 Type code for no (or flat) weighting. More...
 
integer, parameter pmc_aero_weight::aero_weight_type_power = 2
 Type code for power function weighting. More...
 
integer, parameter pmc_aero_weight::aero_weight_type_mfa = 3
 Type code for MFA weighting. More...
 

Detailed Description

The pmc_aero_weight module.

Definition in file aero_weight.F90.