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

The pmc_aero_weight_array module. More...

Go to the source code of this file.

Data Types

type  pmc_aero_weight_array::aero_weight_array_t
 An array of aerosol size distribution weighting functions. More...
 

Modules

module  pmc_aero_weight_array
 The aero_weight_array_t structure and associated subroutines.
 

Functions/Subroutines

subroutine pmc_aero_weight_array::aero_weight_array_set_sizes (aero_weight_array, n_group, n_class)
 Sets the number of weight groups and classes. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_set_flat (aero_weight_array, n_class)
 Allocates an aero_weight_array as flat weightings. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_set_power (aero_weight_array, n_class, exponent)
 Allocates an aero_weight_array as power weightings. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_set_nummass (aero_weight_array, n_class)
 Allocates an aero_weight_array as joint flat/power-3 weightings.. More...
 
elemental subroutine pmc_aero_weight_array::aero_weight_array_normalize (aero_weight_array)
 Normalizes the aero_weight_array to a non-zero value. More...
 
integer function pmc_aero_weight_array::aero_weight_array_n_group (aero_weight_array)
 Return the number of weight groups. More...
 
integer function pmc_aero_weight_array::aero_weight_array_n_class (aero_weight_array)
 Return the number of weight classes. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_scale (aero_weight_array, factor)
 Scale the weights by the given factor, so new_weight = old_weight * factor. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_combine (aero_weight_array, aero_weight_array_delta)
 Combine aero_weight_array_delta into aero_weight_array with a harmonic mean. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_shift (aero_weight_array_from, aero_weight_array_to, sample_prop, overwrite_to)
 Adjust source and destination weights to reflect moving sample_prop proportion of particles from aero_weight_array_from to aero_weight_array_to. More...
 
real(kind=dp) function pmc_aero_weight_array::aero_weight_array_single_num_conc (aero_weight_array, aero_particle, aero_data)
 Compute the number concentration for a particle (m^{-3}). More...
 
real(kind=dp) function pmc_aero_weight_array::aero_weight_array_num_conc_at_radius (aero_weight_array, i_class, radius)
 Compute the total number concentration at a given radius (m^3). More...
 
real(kind=dp) function pmc_aero_weight_array::aero_weight_array_num_conc (aero_weight_array, aero_particle, aero_data)
 Compute the number concentration for a particle (m^{-3}). More...
 
logical function pmc_aero_weight_array::aero_weight_array_check_flat (aero_weight_array)
 Check whether a given aero_weight array is flat in total. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_check_monotonicity (aero_weight_array, monotone_increasing, monotone_decreasing)
 Determine whether all weight functions in an array are monotone increasing, monotone decreasing, or neither. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_minmax_num_conc (aero_weight_array, i_class, radius_1, radius_2, num_conc_min, num_conc_max)
 Compute the maximum and minimum number concentrations between the given radii. More...
 
integer function pmc_aero_weight_array::aero_weight_array_rand_group (aero_weight_array, i_class, radius)
 Choose a random group at the given radius, with probability inversely proportional to group weight at that radius. More...
 
subroutine pmc_aero_weight_array::spec_file_read_aero_weight_array (file, aero_weight_array)
 Read an aero_weight_array from a spec file. More...
 
integer function pmc_aero_weight_array::pmc_mpi_pack_size_aero_weight_array (val)
 Determines the number of bytes required to pack the given value. More...
 
subroutine pmc_aero_weight_array::pmc_mpi_pack_aero_weight_array (buffer, position, val)
 Packs the given value into the buffer, advancing position. More...
 
subroutine pmc_aero_weight_array::pmc_mpi_unpack_aero_weight_array (buffer, position, val)
 Unpacks the given value from the buffer, advancing position. More...
 
subroutine pmc_aero_weight_array::aero_weight_netcdf_dim_aero_weight_group (aero_weight_array, ncid, dimid_aero_weight_group)
 Write the aero_weight_group dimension to the given NetCDF file if it is not already present and in any case return the associated dimid. More...
 
subroutine pmc_aero_weight_array::aero_weight_netcdf_dim_aero_weight_class (aero_weight_array, ncid, dimid_aero_weight_class)
 Write the aero_weight_class dimension to the given NetCDF file if it is not already present and in any case return the associated dimid. More...
 
subroutine pmc_aero_weight_array::aero_weight_array_input_netcdf (aero_weight_array, ncid)
 Read full aero_weight_array. More...
 

Detailed Description

The pmc_aero_weight_array module.

Definition in file aero_weight_array.F90.