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

The pmc_aero_sorted module. More...

Go to the source code of this file.

Data Types

type  pmc_aero_sorted::aero_sorted_t
 Sorting of particles into bins. More...
 

Modules

module  pmc_aero_sorted
 The aero_sorted_t structure and assocated subroutines.
 

Functions/Subroutines

integer function pmc_aero_sorted::aero_sorted_n_bin (aero_sorted)
 Returns the number of size bins. More...
 
integer function pmc_aero_sorted::aero_sorted_n_group (aero_sorted)
 Returns the number of weight groups. More...
 
integer function pmc_aero_sorted::aero_sorted_n_class (aero_sorted)
 Returns the number of weight classes. More...
 
subroutine pmc_aero_sorted::aero_sorted_set_bin_grid (aero_sorted, bin_grid, n_group, n_class)
 Set the bin grid to be used for sorting. More...
 
subroutine pmc_aero_sorted::aero_sorted_discard_outside_grid (aero_sorted, aero_particle_array, aero_data)
 Discard particles that don't fit the bin grid. More...
 
subroutine pmc_aero_sorted::aero_sorted_sort_particles (aero_sorted, aero_particle_array, aero_data)
 Sort the particles. More...
 
subroutine pmc_aero_sorted::aero_sorted_remake_if_needed (aero_sorted, aero_particle_array, aero_data, valid_sort, n_group, n_class, bin_grid, all_procs_same)
 Remake a sorting if particles are getting too close to the edges. More...
 
integer function pmc_aero_sorted::aero_sorted_particle_in_bin (aero_sorted, aero_particle, aero_data)
 Find the bin number that contains a given particle. More...
 
subroutine pmc_aero_sorted::aero_sorted_add_particle (aero_sorted, aero_particle_array, aero_particle, aero_data, allow_resort)
 Add a new particle to both an aero_sorted and the corresponding aero_particle_array. More...
 
subroutine pmc_aero_sorted::aero_sorted_remove_particle (aero_sorted, aero_particle_array, i_part)
 Remove a particle from both an aero_sorted and the corresponding aero_particle_array. More...
 
subroutine pmc_aero_sorted::aero_sorted_move_particle (aero_sorted, i_part, new_bin, new_group, new_class)
 Move a particle to a different bin and group. More...
 
subroutine pmc_aero_sorted::aero_sorted_check (aero_sorted, aero_particle_array, aero_data, n_group, n_class, continue_on_error)
 Check sorting. More...
 
integer function pmc_aero_sorted::pmc_mpi_pack_size_aero_sorted (val)
 Determines the number of bytes required to pack the given value. More...
 
subroutine pmc_aero_sorted::pmc_mpi_pack_aero_sorted (buffer, position, val)
 Packs the given value into the buffer, advancing position. More...
 
subroutine pmc_aero_sorted::pmc_mpi_unpack_aero_sorted (buffer, position, val)
 Unpacks the given value from the buffer, advancing position. More...
 

Variables

real(kind=dp), parameter pmc_aero_sorted::aero_sorted_bins_per_decade = 10d0
 How many size bins to use per decade of particle radius. More...
 
real(kind=dp), parameter pmc_aero_sorted::aero_sorted_bin_over_factor = 10d0
 Factor to extend size grid beyond largest/smallest particles. More...
 
real(kind=dp), parameter pmc_aero_sorted::aero_sorted_bin_safety_factor = 3d0
 Size grid extension factor when we should regenerate grid. More...
 

Detailed Description

The pmc_aero_sorted module.

Definition in file aero_sorted.F90.