The following code fails:
from dolfin import *
mesh=UnitSquareMesh(5,5)
Q = FunctionSpace(mesh, "DG", 0, restriction="facet")
The error message is, "No point in creating empty RestrictedElement."
I do not understand this error message in this context. Piecewise-constants-on-facets should be a legitimate element, I think. Is this my error, a bug or an unimplemented feature?