Re: [Ffc] EnrichedElement

2010-04-07 Thread Marie Rognes
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 = TrialFuncti

Re: [Ffc] EnrichedElement

2010-04-06 Thread Marie Rognes
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

[Ffc] EnrichedElement

2010-04-06 Thread Mehdi Nikbakht
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