← Back to team overview

ffc team mailing list archive

Re: EnrichedElement

 

Marie Rognes wrote:
Mehdi Nikbakht wrote:
Hello,

I am trying to use new syntax for the enriched elements.  I don't see
the reason why we can not enrich an scaler element. Assume this form
file,

P1 = FiniteElement("Lagrange", triangle, 1)

Mini =  P1 + P1

v = TestFunction(Mini)
u = TrialFunction(Mini)

a = inner(v, u)*dx

this file can't be compiled. But if we use VectorElement instead of
FiniteElement, it works fine. Is it a bug?


Most definitely. I'll fix tomorrow unless anyone beats me to it. (It is just a matter of fixing some indicing in EnrichedElement.tabulate, I think.)

This should be fixed now.

--
Marie



References