shamrock.external.coala.L2_proj.init_power_law_rho_dust#

shamrock.external.coala.L2_proj.init_power_law_rho_dust(nbins, massgrid, massbins, bin_scut, coeff_pl, dtg, rho_gas, eps_rhodust)#

Function to compute the initial rhodust distribution following a power-law and cut at the bin containing scut

Parameters#

nbinsscalar, type -> integer

number of dust bins

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

grid of masses given borders value of mass bins

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

arithmetic mean value of massgrid for each mass bins

bin_scutscalar, type -> integer

index of bins containing scut

coeff_plscalar, type -> float

power law for initial distribution in size

dtgscalar, type -> float

mass dust to gas ratio

rho_gasscalar, type -> float

mass gas density

epsscalar, type -> float

minimum value for rho_dust

Returns#

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

dust mass density distribution