PartMC  2.6.1
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_tbin_grid
 Bin grid for sorting. More...
 
type(integer_rmap2_tsize_class
 Map of size bin and weight class numbers. More...
 
type(integer_rmap2_tgroup_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 [bin_grid_size(bin_grid) x bin_grid_size(bin_grid)]. More...
 
real(kind=dp), dimension(:,:), allocatable coag_kernel_max
 Coagulation kernel upper bound [bin_grid_size(bin_grid) x bin_grid_size(bin_grid)]. 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 [bin_grid_size(bin_grid)]. 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 = integer_varray_n_entry(aero_sortedsize_classinverse(i_bin, i_class))
 

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 47 of file aero_sorted.F90.

Member Data Documentation

◆ bin_grid

type(bin_grid_t) pmc_aero_sorted::aero_sorted_t::bin_grid

Bin grid for sorting.

Definition at line 49 of file aero_sorted.F90.

◆ coag_kernel_bounds_valid

logical pmc_aero_sorted::aero_sorted_t::coag_kernel_bounds_valid

Whether coagulation kernel bounds are valid.

Definition at line 55 of file aero_sorted.F90.

◆ coag_kernel_max

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

Coagulation kernel upper bound [bin_grid_size(bin_grid) x bin_grid_size(bin_grid)].

Definition at line 61 of file aero_sorted.F90.

◆ coag_kernel_min

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

Coagulation kernel lower bound [bin_grid_size(bin_grid) x bin_grid_size(bin_grid)].

Definition at line 58 of file aero_sorted.F90.

◆ group_class

type(integer_rmap2_t) pmc_aero_sorted::aero_sorted_t::group_class

Map of weight group and weight class numbers.

Definition at line 53 of file aero_sorted.F90.

◆ removal_rate_bounds_valid

logical pmc_aero_sorted::aero_sorted_t::removal_rate_bounds_valid

Whether particle removal rate bounds are valid.

Definition at line 63 of file aero_sorted.F90.

◆ removal_rate_max

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

Particle removal rate upper bound [bin_grid_size(bin_grid)].

Definition at line 65 of file aero_sorted.F90.

◆ size_class

type(integer_rmap2_t) pmc_aero_sorted::aero_sorted_t::size_class

Map of size bin and weight class numbers.

Definition at line 51 of file aero_sorted.F90.


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