Skip to content

Fix surface tally when crossing lattice#3895

Open
GuySten wants to merge 3 commits intoopenmc-dev:developfrom
GuySten:surface-tally-fix
Open

Fix surface tally when crossing lattice#3895
GuySten wants to merge 3 commits intoopenmc-dev:developfrom
GuySten:surface-tally-fix

Conversation

@GuySten
Copy link
Contributor

@GuySten GuySten commented Mar 21, 2026

Description

Currently surface tallies can cause segfault in models using lattices.

Fixes #3890

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 18) 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 added the Bugs label Mar 21, 2026
@GuySten GuySten requested review from jtramm and paulromano March 21, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Surface flux tally causes OpenMC to crash/seg fault when used in model with a lattice

1 participant