Skip to content

Conversation

@yrrepy
Copy link
Contributor

@yrrepy yrrepy commented Oct 23, 2025

Added parameters to include or exclude specific nuclides in decay photon calculations.

Description

Often in R2S neutronic analysis it is useful to isolate the source of shutdown dose (delayed gammas). This is often accomplished by turning on and off the photons produced from various radionuclides.

This implements that, a photon source can be built that excludes the chosen nuclides. Alternatively, one can list the nuclides of interest that a decay photon source will be built for.
Both are optional, and the filter options are mutually exclusive of each other.

Alternatives

The parents could be omitted during activation.
The radionuclide could be filtered out during activation or removed from the depletion_results.h5 or from the material.

This just seems the most apt location, leaving other steps in the workflow intact.
(re-executing a whole activation is tedious, editing the results file is cumbersome, etc, etc)

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

yrrepy and others added 3 commits October 22, 2025 18:05
Added parameters to include or exclude specific nuclides in decay photon energy calculations.
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.

Looks good to me (after making a few fixes). Thanks!

@yrrepy
Copy link
Contributor Author

yrrepy commented Oct 28, 2025

Thanks for the tweaks!

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