Skip to content

Allow Mesh.from_domain to use bounding boxes directly - #3828

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

paulromano merged 1 commit into
openmc-dev:developfrom
shimwell:regmesh-from-domain-accepts-bounding-boxes

Conversation

@shimwell

Copy link
Copy Markdown
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

@paulromano paulromano left a comment

Copy link
Copy Markdown
Contributor

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
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
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