pmc_kernel Namespace Reference
Generic coagulation kernel.
More...
Classes |
interface | bin_kernel__interface |
interface | est_k_max_binned__interface |
interface | est_k_max_for_bin__interface |
Functions |
subroutine | bin_kernel (n_bin, bin_v, kernel, env_state, k) |
| Computes an array of kernel values for each bin pair. k(i,j) is the kernel value at the midpoint of bins i and j.
|
subroutine | est_k_max_binned (bin_grid, kernel, env_state, k_max) |
| Computes an array of maximum kernel values. Given particles v1 in bin b1 and v2 in bin b2, it is approximately true that kernel(v1,v2) <= k_max(b1,b2).
|
subroutine | est_k_max_for_bin (bin_grid, kernel, b1, b2, env_state, k_max) |
| Samples within bins b1 and b2 to find the maximum value of the kernel between particles from the two bins.
|
Detailed Description
Generic coagulation kernel.
Function Documentation
subroutine pmc_kernel::bin_kernel |
( |
integer,intent(in) |
n_bin, |
|
|
real*8,dimension(n_bin),intent(in) |
bin_v, |
|
|
pmc_kernel::bin_kernel__interface |
kernel, |
|
|
type(env_state_t),intent(in) |
env_state, |
|
|
real*8,dimension(n_bin,n_bin),intent(out) |
k | |
|
) |
| | |
Computes an array of kernel values for each bin pair. k(i,j) is the kernel value at the midpoint of bins i and j.
- Parameters:
-
| n_bin | Number of bins. |
| bin_v | Volume of particles in bins (m^3). |
| env_state | Environment state. |
| k | Kernel values. |
Computes an array of maximum kernel values. Given particles v1 in bin b1 and v2 in bin b2, it is approximately true that kernel(v1,v2) <= k_max(b1,b2).
- Parameters:
-
| bin_grid | Bin_grid. |
| env_state | Environment state. |
| k_max | Max kern vals. |
subroutine pmc_kernel::est_k_max_for_bin |
( |
type(bin_grid_t),intent(in) |
bin_grid, |
|
|
pmc_kernel::est_k_max_for_bin__interface |
kernel, |
|
|
integer,intent(in) |
b1, |
|
|
integer,intent(in) |
b2, |
|
|
type(env_state_t),intent(in) |
env_state, |
|
|
real*8,intent(out) |
k_max | |
|
) |
| | |
Samples within bins b1 and b2 to find the maximum value of the kernel between particles from the two bins.
- Parameters:
-
| bin_grid | Bin_grid. |
| b1 | First bin. |
| b2 | Second bin. |
| env_state | Environment state . |
| k_max | Maximum kernel values. |