Skip to content

Support circle-based site boundaries in pywake - #65

Open
kilojoules wants to merge 1 commit into
mainfrom
fix-circle-boundaries
Open

Support circle-based site boundaries in pywake#65
kilojoules wants to merge 1 commit into
mainfrom
fix-circle-boundaries

Conversation

@kilojoules

Copy link
Copy Markdown
Member

construct_site assumed boundaries.polygons and raised KeyError for the windIO circle boundary type.

  • New _site_bounds helper derives flow-field bounds from either boundary type: polygon bounding box, or circle center ± radius.
  • Polygon bounds now span all polygons instead of only the first.
  • Unit test for _site_bounds + end-to-end pywake run with circle boundaries.

Closes #26

🤖 Generated with Claude Code

construct_site assumed boundaries.polygons and raised KeyError for the
windIO circle boundary type. Flow-field bounds now come from a
_site_bounds helper that handles both types; polygon bounds also span
all polygons instead of only the first.

Closes #26
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.

circle-based boundaries not currently supported with pywake

1 participant