shamrock.external.coala.interface_coala_shamrock.coala_precalc_tabflux_coag#
- shamrock.external.coala.interface_coala_shamrock.coala_precalc_tabflux_coag(K0, nbins, Q, massgrid)#
Function to iterate coagulation solver to reach the time ndthydro x dthydro
Function for ballistic kernel with differential velocities dv
DG scheme k=0, piecewise constant approximation
Parameters#
- K0scalar, type -> float
constant value of the kernel function (used to adapt to code unit)
- nbinsscalar, type -> integer
number of dust bins
- Qscalar, type -> integer
number of points for Gauss-Legendre quadrature
- massgrid1D array (dim = nbins+1), type -> float
grid of masses given borders value of mass bins
Returns#
- gij_init1D array (dim = nbins) or 2D array (dim = (nbins.kpol+1)), type -> float
initial components of g on the polynomial basis
- gij1D array (dim = nbins) or 2D array (dim = (nbins.kpol+1)), type -> float
evolved components of g on the polynomial basis
- time_coagscalar, type -> float
final time ndthydro x dthydro