shamrock.external.coala.solver_DG.solver_frag_k0#
- shamrock.external.coala.solver_DG.solver_frag_k0(eps, nbins, massgrid, gij, tensor_tabflux_coag, tensor_tabflux_frag_T1, tensor_tabflux_frag_T2, dt)#
Function to compute SSPRK order 3 time solver for fragmentation with piecewise constant approximation See Zhang & Shu 2010 and Lombart et al., 2021
Parameters#
- epsscalar, type -> float
minimum value for mass distribution approximation gij
- 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 term in fragmentation flux
- tensor_tabflux_frag_T13D array (dim = (nbins,nbins,nbins)), type -> float
array to evaluate the term 1 for fragmentation flux
- tensor_tabflux_frag_T23D array (dim = (nbins,nbins,nbins)), type -> float
array to evaluate the term 2 for fragmentation flux
- dtscalar, type -> float
timestep
Returns#
- gijnew1D array (dim = nbins), type -> float
evolved components of g on the polynomial basis after 1 timestep