shamrock.external.coala.exact_solutions_coag.exact_sol_coag#
- shamrock.external.coala.exact_solutions_coag.exact_sol_coag(kernel, x, tau)#
Function to compute exact solution of the Smoluchowski equation for simple kernel (constant and additive)
Parameters#
- kernelscalar, type -> integer
select the collisional kernel function
- xscalar or 1D array, type -> float
mass value to evaluate the solution
- tauscalar, type -> float
time to evaluate the solution
Returns#
- resscalar or 1D array, type -> float
exact solution evaluated at x and tau