Skip to content

Fix reading reference direction from XML for angular distributions - #2204

Merged
eepeterson merged 2 commits into
openmc-dev:developfrom
paulromano:reference-uvw-fix
Sep 6, 2022
Merged

eepeterson merged 2 commits into
openmc-dev:developfrom
paulromano:reference-uvw-fix

Conversation

@paulromano

Copy link
Copy Markdown
Contributor

I recently discovered that the reference_uvw attribute set on angular distributions (openmc.stats.PolarAzimuthal and openmc.stats.Monodirectional) doesn't roundtrip correctly. This PR fixes that and adds a unit test that would have caught this in the first place.

@eepeterson eepeterson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix @paulromano!

@eepeterson
eepeterson merged commit bdb6d38 into openmc-dev:develop Sep 6, 2022
@paulromano
paulromano deleted the reference-uvw-fix branch September 6, 2022 20:38
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
Fix reading reference direction from XML for angular distributions
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