-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add function to get the ufl.Cell
corresponding to a cell's facet
#76
Conversation
I've a feeling this already exidts as a free function, something like |
I am thinking of |
Looking at your PR, I see now that was a silly comment of mine, as you are using this function already. I'm still not happy about making use of something that is pretty flawed. |
OK, thanks! I'll look into improving |
This looks good to me. @dham - can we delete |
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.
This is an improvement, which will allow us to remove the oddly named and inconsistent cellname2facetname
function.
In some applications, it is useful to get the
ufl.Cell
corresponding to a cell's facets (i.e. for a triangle in 2D space, the facets areufl.Cell('interval', 2)
).