Closed shimwell closed 1 year ago
Currently we loop through the rows and columns sampling each point on a grid.
We could parallelise this loop and get a great speed up.
This is the section of the code to refactor, I've added some notes to the comments
https://github.com/fusion-energy/openmc_geometry_plot/blob/76690b6fa1ce24e00116d492e3a6bc7bd76f3019/src/openmc_geometry_plot/core.py#L132
tried a few options here but looks like it is not cpu bound
Currently we loop through the rows and columns sampling each point on a grid.
We could parallelise this loop and get a great speed up.