Skip to content

Conversation

@paulromano
Copy link
Contributor

Description

This PR refactors the BoundingBox class on the C++ side to have min and max data members of type Position rather than separate xmin, xmax, ymin, ymax, zmin, and zmax members. This brings it closer to the BoundingBox Python class.

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)

@paulromano paulromano requested a review from pshriwise December 29, 2025 01:08
Copy link
Contributor

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on board. This structure feels a little more natural to me as well. Thanks @paulromano!

@pshriwise pshriwise added the Merging Soon PR will be merged in < 24 hrs if no further comments are made. label Dec 30, 2025
@pshriwise pshriwise merged commit 92d7fdb into openmc-dev:develop Dec 31, 2025
26 of 27 checks passed
@paulromano paulromano deleted the bbox-update branch December 31, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merging Soon PR will be merged in < 24 hrs if no further comments are made.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants