PartMC  2.3.0
Public Attributes | List of all members
pmc_aero_sorted::aero_sorted_t Type Reference

Sorting of particles into bins. More...

Public Attributes

type(bin_grid_t) bin_grid
 Bin grid for sorting. More...
 
type(integer_rmap2_t) size_class
 Map of size bin and weight class numbers. More...
 
type(integer_rmap2_t) group_class
 Map of weight group and weight class numbers. More...
 
logical coag_kernel_bounds_valid
 Whether coagulation kernel bounds are valid. More...
 
real(kind=dp), dimension(:,:),
allocatable 
coag_kernel_min
 Coagulation kernel lower bound [n_bin x n_bin]. More...
 
real(kind=dp), dimension(:,:),
allocatable 
coag_kernel_max
 Coagulation kernel upper bound [n_bin x n_bin]. More...
 
logical removal_rate_bounds_valid
 Whether particle removal rate bounds are valid. More...
 
real(kind=dp), dimension(:),
allocatable 
removal_rate_max
 Particle removal rate upper bound [n_bin x n_bin]. More...
 

Detailed Description

Sorting of particles into bins.

Two different bin-sortings are maintained, one per size bin and weight class, and the other per weight group and weight class.

A particle can thus be identified by its position i_part in an aero_particle_array_t, or by an entry in one of the two sortings.

For example, for size bin i_bin and weight class i_class, the number of particles with this size and class are

 n = aero_sorted%size_class%inverse(i_bin, i_class)%n_entry
 

For particle number i_entry in this size/class bin, the particle number is

 i_part = aero_sorted%size_class%inverse(i_bin, i_class)%entry(i_entry)
 

For particle number i_part, the size bin and weight class are

 i_bin = aero_sorted%size_class%forward1%entry(i_part)
 i_class = aero_sorted%size_class%forward2%entry(i_part)
 

Similar relationships hold for aero_sorted%group_class which sorts particles per weight group/class.

Definition at line 46 of file aero_sorted.F90.

Member Data Documentation

type(bin_grid_t) pmc_aero_sorted::aero_sorted_t::bin_grid

Bin grid for sorting.

Definition at line 48 of file aero_sorted.F90.

logical pmc_aero_sorted::aero_sorted_t::coag_kernel_bounds_valid

Whether coagulation kernel bounds are valid.

Definition at line 54 of file aero_sorted.F90.

real(kind=dp), dimension(:,:), allocatable pmc_aero_sorted::aero_sorted_t::coag_kernel_max

Coagulation kernel upper bound [n_bin x n_bin].

Definition at line 58 of file aero_sorted.F90.

real(kind=dp), dimension(:,:), allocatable pmc_aero_sorted::aero_sorted_t::coag_kernel_min

Coagulation kernel lower bound [n_bin x n_bin].

Definition at line 56 of file aero_sorted.F90.

type(integer_rmap2_t) pmc_aero_sorted::aero_sorted_t::group_class

Map of weight group and weight class numbers.

Definition at line 52 of file aero_sorted.F90.

logical pmc_aero_sorted::aero_sorted_t::removal_rate_bounds_valid

Whether particle removal rate bounds are valid.

Definition at line 60 of file aero_sorted.F90.

real(kind=dp), dimension(:), allocatable pmc_aero_sorted::aero_sorted_t::removal_rate_max

Particle removal rate upper bound [n_bin x n_bin].

Definition at line 62 of file aero_sorted.F90.

type(integer_rmap2_t) pmc_aero_sorted::aero_sorted_t::size_class

Map of size bin and weight class numbers.

Definition at line 50 of file aero_sorted.F90.


The documentation for this type was generated from the following file: