exasmr / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
MIT License
15 stars 9 forks source link

Backport RPN stack removal from #2178 #37

Closed jtramm closed 1 year ago

jtramm commented 1 year ago

This PR is a backport of changes by @myerspat that removed the RPN vector that was used as a stack when evaluating complex CSG cells.

This was found to have a major impact on both performance and practicality of some fusion problems, where complex CSG regions are often used, and CSG regions can commonly be bounded by hundreds of surfaces.

This PR is part of a series of several PRs that I'm putting together to support fixed source transport for fusion problems.

jtramm commented 1 year ago

Thanks for letting me know about the extra patches on this -- I'll add them in!