robertsj / libdetran

deterministic transport utilities
MIT License
2 stars 2 forks source link

OpenMP #2

Closed robertsj closed 1 year ago

robertsj commented 12 years ago

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.

robertsj commented 12 years ago

Added to 2-D sweepers, but 1-D buggy.