The pmc_coagulation module. More...
Modules | |
module | pmc_coagulation |
Aerosol particle coagulation. | |
Functions/Subroutines | |
subroutine | pmc_coagulation::mc_coag (coag_kernel_type, bin_grid, env_state, aero_data, aero_weight, aero_state, del_t, k_max, tot_n_samp, tot_n_coag) |
Do coagulation for time del_t. | |
subroutine | pmc_coagulation::compute_n_samp (ni, nj, same_bin, k_max, comp_vol, del_t, n_samp, accept_factor) |
Compute the number of samples required for the pair of bins. | |
subroutine | pmc_coagulation::maybe_coag_pair (bin_grid, env_state, aero_data, aero_weight, aero_state, b1, b2, coag_kernel_type, accept_factor, did_coag) |
Choose a random pair for potential coagulation and test its probability of coagulation. If it happens, do the coagulation and update all structures. | |
subroutine | pmc_coagulation::find_rand_pair (aero_state, b1, b2, s1, s2) |
Given bins b1 and b2, find a random pair of particles (b1, s1) and (b2, s2) that are not the same particle particle as each other. | |
subroutine | pmc_coagulation::coagulate_weighting (particle_1, particle_2, particle_new, aero_data, aero_weight, remove_1, remove_2, create_new, id_1_lost, id_2_lost, aero_info_1, aero_info_2) |
Actually coagulate particle_1 and particle_2 to form particle_new and compute weighting effects, including which particles should be lost and which gained. | |
subroutine | pmc_coagulation::coagulate (bin_grid, aero_data, aero_weight, aero_state, b1, s1, b2, s2) |
Join together particles (b1, s1) and (b2, s2), updating all particle and bin structures to reflect the change. |
The pmc_coagulation module.