Skip to content

Commit

Permalink
Merge pull request #223 from firedrakeproject/wence/feature/restricted
Browse files Browse the repository at this point in the history
Use finat RestrictedElement
  • Loading branch information
wence- authored Aug 15, 2020
2 parents c3922a5 + 12c1d30 commit f14bb4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsfc/finatinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ def convert_hcurlelement(element, **kwargs):

@convert.register(ufl.RestrictedElement)
def convert_restrictedelement(element, **kwargs):
# Fall back on FIAT
return fiat_compat(element), set()
finat_elem, deps = _create_element(element._element, **kwargs)
return finat.RestrictedElement(finat_elem, element.restriction_domain()), deps


@convert.register(ufl.NodalEnrichedElement)
Expand Down

0 comments on commit f14bb4f

Please sign in to comment.