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

changed units of DTprimspecmoments to eV #27

Merged

Conversation

shimwell
Copy link
Collaborator

This PR changes the DTprimspecmoments and DDprimspecmoments to accept arguments in units of eV and return units of eV.

This is super useful for openmc usage where everything is in eV.

Helps with issue #21

Also some extra tests have been added to check the variance is sized correctly and increases with Tion.

Also some doc strings and types have been added

@shimwell shimwell mentioned this pull request Mar 22, 2024
Copy link
Owner

@aidancrilly aidancrilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successful swap from old units system to SI. Code functionality checked via the NeSST Guide

@aidancrilly aidancrilly merged commit 0242175 into aidancrilly:master Mar 25, 2024
1 check passed
@aidancrilly aidancrilly mentioned this pull request Mar 25, 2024
shimwell added a commit that referenced this pull request Mar 25, 2024
Merge pull request #27 from shimwell/changing_primspecmoments_to_ev
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.

2 participants