Skip to content

Conversation

@paulromano
Copy link
Contributor

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 new get_plot_bins method introduced in openmc-dev/openmc#2854. Here's an example showing a spherical mesh tally plotted:
image

Copy link
Collaborator

@pshriwise pshriwise left a 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.

@paulromano
Copy link
Contributor Author

@pshriwise Just added in the mesh filter translation. Here is an example of it in action:
image

@paulromano
Copy link
Contributor Author

@pshriwise I just updated this branch to add a volume normalization checkbox.

Copy link
Collaborator

@pshriwise pshriwise left a 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.

Copy link
Collaborator

@pshriwise pshriwise left a 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 🤩

@pshriwise pshriwise merged commit a6c5fd5 into openmc-dev:develop Feb 15, 2024
@paulromano paulromano deleted the mesh-plotting branch February 15, 2024 16:08
@paulromano paulromano mentioned this pull request Jun 19, 2024
This was referenced Jul 21, 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