R/distribution_tools.R
integrand_homogeneous_distribution.Rdfunction to calculate the integrand in an integral of a distribution over all momentum space. The integral is carried out in spherical coordinates. Therefore the distribution is here multiplied by p^2. Also note the input p must be of order 1 and is scaled in the function by distribution[["p_scale"]].
integrand_homogeneous_distribution(p, distribution)
| p |
|
|---|---|
| distribution |
|
numeric value of integrand at p