-
Notifications
You must be signed in to change notification settings - Fork 12
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
Merge shapes #115
Merge shapes #115
Conversation
Codecov Report
@@ Coverage Diff @@
## main #115 +/- ##
==========================================
+ Coverage 50.32% 50.47% +0.15%
==========================================
Files 37 38 +1
Lines 2186 2193 +7
==========================================
+ Hits 1100 1107 +7
Misses 1086 1086
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Good idea, but needs tests.
And please apply this to the FSI examples as well (bending beam, dam break, dam break gate, falling water column).
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.
LGTM!
I've added a merge-shapes functionality to easily concatenate multiple shapes.
This makes the example files way more readable. I applied it to the
oscillating_beam_2d
example.Also, this functionality is very useful when we set up a backward-facing step simulation, for example.