This function translates the local daily entomological inoculation rate (dEIR), computed as one of the transmission terms into a measure of the daily force of infection (dFoI). The daily FoI is the sum of two terms: 1) a function F_foi computes the local dFoI; 2) a function travel_malaria that computes the FoI resulting from exposure while traveling.
Exposure(t, y, pars)
the time
the state variables
the model object as a list
the function modifies pars and returns it: the computed FoI are stored as pars$FoI