metawards.utils.clear_all_infections

metawards.utils.clear_all_infections(infections: Infections, nthreads: int = 1)

Clears all infections associated with a model run

Parameters:
  • infections – Space that is used to hold all of the ‘work’ infections
  • play_infections – Space that is used to hold all of the ‘play’ infections
  • nthreads (int) – Number of threads to use to clear the arrays