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

Adding material.get_element_atom_densities #3103

Merged

Conversation

shimwell
Copy link
Member

Description

We have a openmc.Material.get_nuclide_atom_densities and this PR aims to add openmc.Material.get_element_atom_densities

This would be useful for @rherrero-pf and myself when we perform DPA simulations we need to get the atom density for elements.

Checklist

  • I have performed a self-review of my own code
  • I have followed the style guidelines for Python source files (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@paulromano paulromano self-requested a review as a code owner October 3, 2024 21:34
Copy link
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

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

Thanks @shimwell! I did a little clean up as usual 😄

@paulromano paulromano enabled auto-merge (squash) October 3, 2024 21:34
@shimwell
Copy link
Member Author

shimwell commented Oct 3, 2024

Thanks Paul.

@paulromano paulromano merged commit 1a520c9 into openmc-dev:develop Oct 4, 2024
15 checks passed
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