Skip to content

Undefined region plotting#180

Draft
viktormai wants to merge 3 commits into
openmc-dev:developfrom
viktormai:undefined-regions-new
Draft

Undefined region plotting#180
viktormai wants to merge 3 commits into
openmc-dev:developfrom
viktormai:undefined-regions-new

Conversation

@viktormai

Copy link
Copy Markdown
Contributor

Added support for identifying and visualizing internal undefined regions in geometry plots:

  • Added an option to enable/disable undefined-region coloring in the GUI.
  • Added configurable coloring for internal undefined regions through the color settings menu, analogous to overlaps.
  • Used classification of undefined regions from model.py to distinguish internal enclosed regions from external background regions.
  • Added hover/status information and context menu support for identified internal undefined regions.
  • Added storage of undefined-region masks during plot generation for visualization and interaction.

Motivation:

  • Provides a clearer debugging tool for locating geometry gaps or missing definitions in OpenMC models.
  • Helps users distinguish problematic internal voids from expected external undefined space.

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.

1 participant