shamrock.external.coala.generate_flux_intflux.compute_flux_coag_k0_kdv#
- shamrock.external.coala.generate_flux_intflux.compute_flux_coag_k0_kdv(gij, tensor_tabflux_coag, dv)#
Function to compute the approximation of the coagulation flux with DG scheme k=0 Flux defined at the right boundary of mass bins, i.e. flux[j] ~ F(m_{j+1/2}) Function for ballistic kernel with differential velocities dv
Parameters#
- 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
- dv2D array (dim = (nbins,nbins)), type -> float
array of the differential velocity between grains
Returns#
- flux1D array (dim = nbins), type -> float
approximation of the coagulation flux at each bin