This function can be used instead of the standard resource_semichemostat() in order to keep the resource spectrum constant over time.

resource_constant(params, n_pp, ...)

Arguments

params

A MizerParams object

n_pp

A vector of the resource abundance by size

...

Unused

Value

Vector containing resource spectrum at next timestep

Examples

if (FALSE) {
params <- newMultispeciesParams(NS_species_params_gears, NS_interaction,
                                resource_dynamics = "resource_constant")
}