-
Notifications
You must be signed in to change notification settings - Fork 248
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
[GeoMechanicsApplication] Line interface geometry can now generate edges #12684
Conversation
The nodes of the first edge are identical to the nodes of the first side. The nodes of the second edge have the end nodes swapped and any high-order nodes are reversed.
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.
Clear implementation that should also work for higher order mid geometries! Also nicely documented and tested, I only have a few minor suggestions.
...ations/GeoMechanicsApplication/tests/cpp_tests/custom_geometries/test_interface_geometry.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_geometries/line_interface_geometry.h
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_geometries/README.md
Outdated
Show resolved
Hide resolved
- Split a unit test case to be consistent with other test cases. - Be more explicit about the top and bottom sides of the line interface geometry in the documentation.
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.
Thanks for incorporating the changes, looks good to go to me!
applications/GeoMechanicsApplication/custom_geometries/line_interface_geometry.h
Show resolved
Hide resolved
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.
Nice and small.
I think it tests the current configurations, but needs more testing as soon as even higher order edges appear.
applications/GeoMechanicsApplication/custom_geometries/line_interface_geometry.h
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_geometries/line_interface_geometry.h
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_geometries/line_interface_geometry.h
Show resolved
Hide resolved
Clarified the opposite orientation of the geometry's second edge.
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 to go.
📝 Description
The new line interface geometry now supports generating its edges. Note the that first edge's points are identical to the points of the first side. The second edge's points reference the points at the second side. However, since this edge has opposite orientation, the end points will be swapped and any intermediate points will be reversed, too.