Skip to content

Comments

Allow Mesh.from_domain to use bounding boxes directly#3828

Merged
paulromano merged 1 commit intoopenmc-dev:developfrom
shimwell:regmesh-from-domain-accepts-bounding-boxes
Feb 25, 2026
Merged

Allow Mesh.from_domain to use bounding boxes directly#3828
paulromano merged 1 commit intoopenmc-dev:developfrom
shimwell:regmesh-from-domain-accepts-bounding-boxes

Conversation

@shimwell
Copy link
Member

Description

I'm keen to be able to make regular meshes from bounding boxes in addition to domains that have bounding boxes. This is because I have bounding boxes for single components in DAGMC geometries and want a mesh just for that component (.e.g TF coil magnet).

Fixes # (issue)

Checklist

  • I have performed a self-review of my own code
  • 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 changed the title allowing mesh from_domain to use bounding boxes directly Allow Mesh.from_domain to use bounding boxes directly Feb 25, 2026
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.

👍

@paulromano paulromano merged commit 3ff6b59 into openmc-dev:develop Feb 25, 2026
16 checks passed
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