-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Emmarothwell1/restricted function space #252
Emmarothwell1/restricted function space #252
Conversation
Trimmed serendipity
Merge fenics
Merge FEniCS
Ksagiyam/merge upstream
Update to current fenics master.
remove spurious names
Dolci/merge upstream 2
…date Merge upstream
ufl/functionspace.py
Outdated
@@ -50,11 +50,16 @@ def __init__(self, domain, element): | |||
else: | |||
if element.cell != domain_cell: | |||
raise ValueError("Non-matching cell of finite element and domain.") | |||
|
|||
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.
ufl/functionspace.py
Outdated
@@ -80,6 +85,7 @@ def _ufl_hash_data_(self, name=None): | |||
name = name or "BaseFunctionSpace" | |||
domain = self.ufl_domain() | |||
element = self.ufl_element() | |||
bdata = self.label() |
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 guess we don't need this variable, just directly use self.label
below.
ufl/functionspace.py
Outdated
|
||
def _ufl_signature_data_(self, renumbering, name=None): | ||
"""UFL signature data.""" | ||
name = name or "BaseFunctionSpace" | ||
domain = self.ufl_domain() | ||
element = self.ufl_element() | ||
bdata = self.label() |
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.
as above.
Add support for function space labels in order to support symbolically different function spaces on the same element and domain. An example are restricted function spaces.