Re: [Ffc] All components of a list tensor most provide same arguments?

2010-11-17 Thread Patrick Riesen
trick On 11/17/2010 05:28 PM, Marie Rognes wrote: On 17. nov. 2010 16:15, Patrick Riesen wrote: Nope, won't do differnt with Zero(). Here is a simple complete program: - cell = interval FE = FiniteElement("CG", ce

Re: [Ffc] All components of a list tensor most provide same arguments?

2010-11-17 Thread Patrick Riesen
# it fails here - regards, patrick On 11/17/2010 02:43 PM, Anders Logg wrote: I don't know what that means, but I assume the 0.0 is the problem. Does it work if you write Zero()? -- Anders On Wed, Nov 17, 2010 at 02:36:54PM +0100, Patrick Riesen wrote: hello,

[Ffc] All components of a list tensor most provide same arguments?

2010-11-17 Thread Patrick Riesen
hello, i'm trying to update my code for the most recent fenics development versions. compiling+demos for ffc/ufl/dolfin etc. is all ok. now my code has a problem, i have the following in the ufl-file: e = as_matrix([[0.5*u.dx(0)**2, 0.5*u.dx(0)], [0.5*u.dx(0) ,0.

[Ffc] which function space

2010-02-12 Thread Patrick Riesen
hi all of you, in dolfin0.9.6 i'm having a hard time with the following problem: i'm solving for a variable viscosity, depending on the power x of the strain-rate tensor's 2nd invariant. the invariant i compute in a separate form, and then i compute the power by iterating through all the dof

Re: [Ffc] form object not iterable

2010-02-10 Thread Patrick Riesen
i just pulled again from the FFC repo, i works now :-) thank you, patrick Patrick Riesen wrote: hello mehdi, i did update all packages, including UFL . if i do not use the option '-l dolfin' it works. patrick Mehdi Nikbakht wrote: It seems that you have forgotten to update UFL.

Re: [Ffc] form object not iterable

2010-02-10 Thread Patrick Riesen
hello mehdi, i did update all packages, including UFL . if i do not use the option '-l dolfin' it works. patrick Mehdi Nikbakht wrote: 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 repo

[Ffc] form object not iterable

2010-02-10 Thread Patrick Riesen
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 -- Traceback (most recent call last): File "/scratch-second/priesen/FEniCS/build

Re: [Ffc] ffc module scientific python

2010-02-02 Thread Patrick Riesen
Garth N. Wells wrote: Patrick Riesen wrote: hi, i'm following up with you to keep close to the next release of fenics, i just built everything (no errors) but for ffc i get Exception: Unable to import the Python Scientific module required by FIAT. Consider installing the package p

[Ffc] ffc module scientific python

2010-02-02 Thread Patrick Riesen
hi, i'm following up with you to keep close to the next release of fenics, i just built everything (no errors) but for ffc i get Exception: Unable to import the Python Scientific module required by FIAT. Consider installing the package python-scientific. can you tell me which package this is?