To use OpenMP, a few classes need to be restructured or used in a different way. The easiest and likely most effect threading approach is to parallelize at the octant level (4/8 octants for 2/3-D, enough for most chips). However, the Equation and SweepSource classes are constructed before the sweep is performed, and so these need to be handled with care.
To use OpenMP, a few classes need to be restructured or used in a different way. The easiest and likely most effect threading approach is to parallelize at the octant level (4/8 octants for 2/3-D, enough for most chips). However, the Equation and SweepSource classes are constructed before the sweep is performed, and so these need to be handled with care.