An internal helper function. This returns the total detritus consumption rate
and is used in detritus_dynamics() to calculate the detritus abundance at
the next time step. To get the consumption rate split up by consumer species,
use getDetritusConsumption().
Arguments
- params
MizerParams
- n_pp
Detritus spectrum
- rates
A list of rates as returned by
getRates()