ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #02921
Re: [Bug 426498] Re: UFL Variable not supported
On Wed, Sep 09, 2009 at 03:26:10PM -0000, oelgaard wrote:
> ** Changed in: ffc
> Status: Confirmed => Fix Released
>
> ** Changed in: ffc
> Assignee: (unassigned) => oelgaard (k-b-oelgaard)
Great! This launchpad thing has really been a success. :-)
--
Anders
--
UFL Variable not supported
https://bugs.launchpad.net/bugs/426498
You received this bug notification because you are subscribed to FFC.
Status in FEniCS Form Compiler: Fix Released
Bug description:
To reproduce this bug, try compiling the hyperelasticity demo in UFL:
ffc HyperElasticity.ufl
Gives the following error message:
Visiting Variable: Variable(Sum(IntValue(1, (), (), {}), SpatialDerivative(Indexed(Function(VectorElement('Lagrange', Cell('tetrahedron', 1, Space(3)), 2, 3), 0), MultiIndex((FixedIndex(0),), {FixedIndex(0): 3})), MultiIndex((FixedIndex(0),), {}))), Label(0))
Variable is not supported (yet).
*** FFC: Variable is not supported (yet).
*** FFC: To get more information about this error, rerun FFC with --debug.
Fix suggested by Martin:
You can either just treat a variable v as if it were v.expression(),
or call "form = strip_variables(form)" to get rid of them.
References