shamrock.external.coala.solver_DG.L_func_coag_k0#

shamrock.external.coala.solver_DG.L_func_coag_k0(nbins, massgrid, gij, tensor_tabflux_coag)#

Function to compute the DG operator L for piecewise constant approximation (see Lombart et al., 2021) It is used for the time solver

Parameters#

nbinsscalar, type -> integer

number of dust bins

massgrid1D array (dim = nbins+1), type -> float

grid of masses given borders value of mass bins

gij1D array (dim = nbins), type -> float

components of g on the polynomial basis

tensor_tabflux_coag3D array (dim = (nbins,nbins,nbins)), type -> float

array to evaluate coagulation flux

Returns#

Lk01D array (dim = nbins), type -> float

DG operator for piecewise constant approximation in each bin