Enriched elements where subelements have different mappings pick an arbitrary one

Issue #45 resolved
Martin Sandve Alnæs created an issue

test.ufl:

cell = triangle
P = FiniteElement("BDM", cell, 1)
A = VectorElement("CG", cell, 1)
E = P + A # ***
v = TestFunction(E)
u = TrialFunction(E)
a = dot(u, v)*dx

ffc -r tensor test.ufl # throws error

ffc -r quadrature test.ufl # passes with mapping of P chosen for E.

If E = A + P the mapping of A will be chosen instead.

Short term solution: throw error in quadrature mode as well.

Comments (3)

  1. Log in to comment