← Back to team overview

ffc team mailing list archive

Auto cell shape selection

 

I've run into a problem with a mixed element. Looks like the auto
selection of the cell shape isn't working (see last element below, cell
shape is "None"). Hopefully someone can see an easy fix, otherwise I can
try to simplify the problem case.

Garth

The cell shape of all elements MUST be equal:
(MixedElement(*[MixedElement(*[FiniteElement('Lagrange',
Cell('triangle', 1, Space(2)), 2), FiniteElement('Lagrange',
Cell('triangle', 1, Space(2)), 2)], **{'value_shape': (2,) }),
FiniteElement('Lagrange', Cell('triangle', 1, Space(2)), 1),
FiniteElement('Lagrange', Cell('triangle', 1, Space(2)), 1),
FiniteElement('Lagrange', Cell('triangle', 1, Space(2)), 1)],
**{'value_shape': (5,) }), FiniteElement('Discontinuous Lagrange',
Cell(None, 1, Space(?)), 0))




Follow ups