Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IncidentNeutron.from_njoy for high temperatures #2320

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

paulromano
Copy link
Contributor

This PR closes #2317. The issue at hand is described very thoroughly in the issue, so I won't bother to repeat it here. I'll just note that I've also added a small test to cover this case.

@gridley
Copy link
Contributor

gridley commented Dec 13, 2022

I tested the original version and confirmed the failure of the test you wrote, tried with the new branch, and it works beautifully. Here's a plot of very high temperature hydrogen. I also checked that it works when generating both a higher temperature and a lower one, and it seems to be all good. Also, the code looks good.

h

@paulromano paulromano merged commit 4e49f69 into openmc-dev:develop Dec 15, 2022
@paulromano paulromano deleted the from-njoy-high-t-fix branch December 15, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

High Temperature key error in from_njoy()
2 participants