simulates the process of infection.

infection_process(parameters, variables, events, dt)

Arguments

parameters

Model parameters

variables

a list of model variables, the output of create_variables

events

a list of individual::TargetedEvent, the output of create_events

dt

the time step