Re: [Ffc] [Branch ~ffc-core/ffc/main] Rev 1498: Added support for CellVolume from UFL.

2010-07-08 Thread Mehdi Nikbakht
On Thu, 2010-07-08 at 08:50 +0100, Garth N. Wells wrote: > > On 08/07/10 08:33, Mehdi Nikbakht wrote: > > On Thu, 2010-07-08 at 08:22 +0100, Garth N. Wells wrote: > >> On Jul 8 2010, Anders Logg wrote: > >> > >>> On Wed, Jul 07, 2010 at 10:34:39PM +0100,

Re: [Ffc] [Branch ~ffc-core/ffc/main] Rev 1498: Added support for CellVolume from UFL.

2010-07-08 Thread Mehdi Nikbakht
On Thu, 2010-07-08 at 08:22 +0100, Garth N. Wells wrote: > On Jul 8 2010, Anders Logg wrote: > > >On Wed, Jul 07, 2010 at 10:34:39PM +0100, Kristian Oelgaard wrote: > >> On 7 July 2010 20:22, Garth N. Wells wrote: > >> > > >> > > >> > On 07/07/10 20:14, Anders Logg wrote: > >> >> > >> >> On Wed,

Re: [Ffc] evaluate_integrand

2010-04-13 Thread Mehdi Nikbakht
On Tue, 2010-04-13 at 09:45 +0200, Anders Logg wrote: > On Tue, Apr 13, 2010 at 07:17:28AM +0800, Garth N. Wells wrote: > > > > > > On 12/04/10 23:35, Anders Logg wrote: > > >On Mon, Apr 12, 2010 at 10:20:13PM +0800, Garth N. Wells wrote: > > >> > > >> > > >>On 12/04/10 21:49, Anders Logg wrote: >

[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

[Ffc] bug in exp()

2010-03-25 Thread Mehdi Nikbakht
Hello, It seems that something is going wrong in handling Exponential function. If I compile , element = FiniteElement("Lagrange", triangle, 1) v = TestFunction(element) u = TrialFunction(element) f = Coefficient(element) L = exp(f)*v*f*dx the code for computing element tensor is as following,

Re: [Ffc] form object not iterable

2010-02-10 Thread Mehdi Nikbakht
It seems that you have forgotten to update UFL. Mehdi On Wed, 2010-02-10 at 13:19 +0100, Patrick Riesen wrote: > hi, i just pulled from the ffc repository and i get this error when > compiling my forms with '--debug': > >Compiler stage 4.1: Generating additional wrapper code >--

Re: [Ffc] [Bug 511929] Re: Missing domain_type

2010-02-02 Thread Mehdi Nikbakht
On Tue, 2010-02-02 at 10:30 +0100, Anders Logg wrote: > I tried looking at this but I'm unsure how it should be > handled. Should a cell_integral class be generated or should a > surface_integral class be generated? > We handle terms related to surface integral inside a class derived from ufc::

Re: [Ffc] [Branch ~ffc-core/ffc/main] Rev 1369: Fixed Garth's optimised quadrature problem.

2010-02-01 Thread Mehdi Nikbakht
On Mon, 2010-02-01 at 23:07 +0100, Marie Rognes wrote: > Kristian Oelgaard wrote: > > > > > > On 1 February 2010 22:57, Marie Rognes wrote: > >> Kristian Oelgaard wrote: > >>> > >>> > >>> On 1 February 2010 22:32, Marie Rognes wrote: > > Kristian Oelgaard wrote: > > > > > >

Re: [Ffc] Release plans

2010-01-29 Thread Mehdi Nikbakht
On Fri, 2010-01-29 at 10:57 +0100, Anders Logg wrote: > On Fri, Jan 29, 2010 at 09:31:54AM +, Garth N. Wells wrote: > > > > > > Anders Logg wrote: > > > On Fri, Jan 29, 2010 at 08:35:23AM +, Garth N. Wells wrote: > > >> > > >> Anders Logg wrote: > > >>> On Fri, Jan 29, 2010 at 12:26:32AM +0

Re: [Ffc] Status (again)

2010-01-27 Thread Mehdi Nikbakht
On Wed, 2010-01-27 at 16:54 +0100, Kristian Oelgaard wrote: > > 2010/1/27 Medhi Nikbakht : > > On Wed, 2010-01-27 at 15:50 +0100, Marie Rognes wrote: > >> > >> FFC compilation fails for > >> > >> ElementRestriction.ufl > > > > The error message says that "ElementRestriction" is not supported b