- changed status to resolved
Regression: FacetElement of an N1curl element
Issue #638
resolved
Wasn't sure where to put this, but it happens at the DOLFIN layer, UFL handles it fine, so here it goes for now.
I'm trying to convert fenics-shells to 1.7.0dev. I used to use the restriction kwarg to FunctionSpace (works fine in 1.6.0), but now I think I need to use FacetElement instead.
If I run:
mesh = UnitSquareMesh(10, 10)
FunctionSpace(mesh, FacetElement(FiniteElement("N1curl", triangle, 1)))
I get the error:
Cannot handle this element type: FacetElement(<N1curl1 on a triangle>)
Comments (2)
-
reporter -
- removed milestone
Removing milestone: 1.7 (automated comment)
- Log in to comment
RestrictedElement works fine for anyone else is interested.