Skip to content

Support Mixture distributions in combine_distributions#3784

Merged
paulromano merged 6 commits intoopenmc-dev:developfrom
GuySten:combine-distrib-mixture
Feb 26, 2026
Merged

Support Mixture distributions in combine_distributions#3784
paulromano merged 6 commits intoopenmc-dev:developfrom
GuySten:combine-distrib-mixture

Conversation

@GuySten
Copy link
Contributor

@GuySten GuySten commented Feb 8, 2026

Description

Currently combine_distributions does not support Mixture distributions.
Support of Mixture distributions is important for applications (like r2s) that involve some burnup chains.
This PR add support for Mixture distributions to combine_distributions.

Fixes #3445 (comment)

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)

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 enabled auto-merge (squash) February 25, 2026 06:34
@paulromano paulromano merged commit 322b741 into openmc-dev:develop Feb 26, 2026
26 of 28 checks passed
@GuySten GuySten deleted the combine-distrib-mixture branch March 2, 2026 00:11
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.

2 participants