-
Notifications
You must be signed in to change notification settings - Fork 70
feat(FXC-5154) Warn gmsh min cylinder radii #3217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -249,7 +249,8 @@ def flatten_groups( | |
| def traverse_geometries(geometry: GeometryType) -> GeometryType: | ||
| """Iterator over all geometries within the given geometry. | ||
|
|
||
| Iterates over groups and clip operations within the given geometry, yielding each one. | ||
| Iterates over groups, clip operations, and transformed geometries within the given geometry, | ||
| yielding each one. | ||
|
|
||
| Parameters | ||
| ---------- | ||
|
|
@@ -267,6 +268,8 @@ def traverse_geometries(geometry: GeometryType) -> GeometryType: | |
| elif isinstance(geometry, base.ClipOperation): | ||
| yield from traverse_geometries(geometry.geometry_a) | ||
| yield from traverse_geometries(geometry.geometry_b) | ||
| elif isinstance(geometry, base.Transformed): | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see, this will have side-effects on other uses of this function too, but this addition actually seems correct here, because a
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. actually, I forgot to ask @weiliangjin2021 about this. I think he's using this somewhere in the backend
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes it is definitely used and I was first going to suggest making a separate function but then realized this is more correct. But yeah maybe run backend tests too. |
||
| yield from traverse_geometries(geometry.geometry) | ||
| yield geometry | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate Breaking Changes section in CHANGELOG
Low Severity
The CHANGELOG.md file now contains two separate
### Breaking Changessections under[Unreleased]. Lines 18-20 introduce a new "Breaking Changes" section with two entries (structure_priority_modeand 1D lumped elements), but these exact same entries already exist in another "Breaking Changes" section at lines 27-29. This creates duplicate content and a malformed changelog structure.Additional Locations (1)
CHANGELOG.md#L25-L29