-
Notifications
You must be signed in to change notification settings - Fork 18
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
Generalize mesh tally plotting #134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so great. Net total lines removed and now it's mesh-type agnostic! 🎊 📈
One comment on accounting for mesh filter translations, but other than that I'd say this is ready to go.
@pshriwise Just added in the mesh filter translation. Here is an example of it in action: |
@pshriwise I just updated this branch to add a volume normalization checkbox. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hammered on this a bit today and it's working great! Really fast loading times 🏎️
Just one comment on tally unit labels when volume normalization is bein applied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me @paulromano! Pretty sweet to have this capability 🤩
Right now the mesh tally plotting capability in the plotter only works with
RegularMesh
tallies. This PR generalizes the mesh tally capability to work for any mesh type by leveraging the newget_plot_bins
method introduced in openmc-dev/openmc#2854. Here's an example showing a spherical mesh tally plotted: