Skip to content

Depletion fy energy interp#3931

Open
Yimengchanpsi wants to merge 5 commits intoopenmc-dev:developfrom
YimengChan0:depletion-fy-energy-interp
Open

Depletion fy energy interp#3931
Yimengchanpsi wants to merge 5 commits intoopenmc-dev:developfrom
YimengChan0:depletion-fy-energy-interp

Conversation

@Yimengchanpsi
Copy link
Copy Markdown

Description

Add interpolation-based fission yield binning in depletion

  • Introduced a new helper for fission yield processing that bins tallies by interpolating neutron energies onto a user-defined energy grid, to
  • Added support for both log-linear and linear-linear interpolation schemes to improve flexibility in energy-dependent yield treatment
  • Modified unit tests in test_deplete_fission_yields.py to validate the new interpolation behavior

Checklist

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

@Yimengchanpsi Yimengchanpsi marked this pull request as ready for review April 29, 2026 15:34
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