Skip to content

SIR with OpenMP (Callbacks)

Extends the OpenMP parallel SIR example with custom per-replicate callbacks for collecting results across threads.

View this example on GitHub.

Note

This example requires OpenMP support (-fopenmp). The interactive playground is not available for this example.