openmc-dev / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
Other
699 stars 444 forks source link

Allow get_microxs_and_flux to use OPENMC_CHAIN_FILE environment variable #2934

Closed eepeterson closed 4 weeks ago

eepeterson commented 1 month ago

Description

I noticed the get_microxs_and_flux function was not allowing me to use the chain file specified by the environment variable. This PR corrects that.

Checklist