Skip to content

Speed up depletion with transfer rates#3839

Merged
paulromano merged 4 commits intoopenmc-dev:developfrom
GuySten:form_rr_term_speedup
Mar 2, 2026
Merged

Speed up depletion with transfer rates#3839
paulromano merged 4 commits intoopenmc-dev:developfrom
GuySten:form_rr_term_speedup

Conversation

@GuySten
Copy link
Contributor

@GuySten GuySten commented Feb 26, 2026

Description

This PR simplify form_rr_term to speed up problems with external transfer rates.

Fixes https://openmc.discourse.group/t/depletion-with-transfer-rates-is-extremely-slow-culprit-successfully-found/6237.

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)

@GuySten GuySten requested a review from paulromano as a code owner February 26, 2026 20:49
@church89
Copy link
Contributor

church89 commented Mar 2, 2026

Hi @GuySten, thanks for improving this. I've run a few tests and work as intended.

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 @GuySten!

@paulromano paulromano merged commit 823b4c9 into openmc-dev:develop Mar 2, 2026
17 checks passed
@GuySten GuySten deleted the form_rr_term_speedup branch March 2, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants