exasmr / openmc

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

CLI options to disable event-based queue sorting #24

Closed jtramm closed 1 year ago

jtramm commented 1 year ago

This PR adds the following CLI options:

--no-sort-fissionable-xs       Do not sort event-based fissionable material xs lookups
--no-sort-non-fissionable-xs   Do not sort event-based non-fissionable material xs lookups

While fuel XS sorting seems to be pretty much always useful for depleted fuel simulations, sorting before doing non-fuel lookups may or may not be worth it depending on the architecture. Having this as a CLI options makes it a lot easier to experiment with, as previously we had to recompile each time to test this.

As it is a purely performance related option, I don't think it makes sense to include it in the XML interface.

paulromano commented 1 year ago

Thanks @jtramm!