metawards.extractors.output_default_omp¶
-
metawards.extractors.
output_default_omp
(network: Network, population: Population, output_dir: OutputFiles, workspace: Workspace, infections, play_infections, nthreads: int, profiler: Profiler, **kwargs)¶ This is the default output function that must be called every iteration as it is responsible for accumulating the core data each day, which is used to report a summary to the main output file. This is the parallel version of this function.
Parameters: - network (Network) – The network over which the outbreak is being modelled
- population (Population) – The population experiencing the outbreak
- output_dir (OutputFiles) – The directory in which to place all output files
- workspace (Workspace) – A workspace that can be used to extract data
- infections – Space to hold the ‘work’ infections
- play_infections – Space to hold the ‘play’ infections
- nthreads (int) – The number of threads to use to help extract the data
- profiler (Profiler) – The profiler used to profile this function
- kwargs – Extra argumentst that are ignored by this function