Reset the effect sizes for static models

When modules are added to compute effect sizes from baseline parameters, those functions store an effect size. The total effect size is the product of the effect sizes for each intervention. Since coverage could be changing dynamically, these must be reset each time the derivatives are computed.

# S3 method for class 'macdonald'
MBionomics(t, y, pars, s)

Arguments

t

current simulation time

y

state vector

pars

an xds object

s

the species index

Value

an xds object