-
-
Notifications
You must be signed in to change notification settings - Fork 66
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 variant to EnrichedElement, TensorProductElement, etc #121
Add variant to EnrichedElement, TensorProductElement, etc #121
Conversation
ufl/finiteelement/elementlist.py
Outdated
register_element2("SminusE", 1, HCurl, "covariant Piola", (1, None), cubes[1:3]) | ||
register_element2("SminusF", 1, HDiv, "contravariant Piola", (1, None), cubes[1:2]) | ||
register_element2("SminusDiv", 1, HDiv, "contravariant Piola", (1, None), cubes[1:3]) | ||
register_element2("SminusCurl", 1, HCurl, "covariant Piola", (1, None), cubes[1:3]) |
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.
Why are these part of this change?
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.
I think these "Sminus" elements aren't in the FEniCS UFL yet? Anyways I have cleaned the commit history.
ac7bc17
to
be741d0
Compare
be741d0
to
cb329cc
Compare
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!
* get variant for composite elements
This PR lets composite elements return the
variant
property of their sub-elements. When the sub-elements are of different variants,variant()
returnsNone
.