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

Update random_dist.h comment to be less specific #2991

Merged
merged 1 commit into from
May 2, 2024

Conversation

gridley
Copy link
Contributor

@gridley gridley commented May 1, 2024

The comment describing our normal distribution sampling routine for some reason calls it the "Gaussian fisison energy distribution". This PR clarifies the comment so as to not confuse people; there is nothing intrinsically related to fission here.

@gridley
Copy link
Contributor Author

gridley commented May 1, 2024

Maybe this should be closed because these are indeed only used for sampling fission energies? I'm not aware of what nuclides just use a normal distribution for fission energies.

I dunno, OpenMC is pretty useful as a general C++ library to link to, so when I was checking the docs to use this in some other C++ code I had to double-check this isn't something different from a plain old Gaussian.

@paulromano paulromano merged commit d1366c0 into develop May 2, 2024
18 checks passed
@paulromano paulromano deleted the gridley-patch-1 branch May 2, 2024 11:52
church89 pushed a commit to openmsr/openmc that referenced this pull request Jul 18, 2024
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