FFC

Comment 1 for bug 883202

Revision history for this message
Kristian B. Ølgaard (k.b.oelgaard) wrote : Re: [Bug 883202] [NEW] Undeclared variables in optimised quadrature code

On 28 October 2011 19:37, Launchpad Bug Tracker
<email address hidden> wrote:
> Garth Wells (garth-wells) has assigned this bug to you for FFC:
>
> The below code fails to run due to undeclared variables:
>
> from dolfin import *
> # Below line causes failure
> parameters["form_compiler"]["optimize"]       = True
> parameters["form_compiler"]["representation"] = "quadrature"
> mesh = UnitSquare(2, 2)
> P1 = VectorFunctionSpace(mesh, "Lagrange", 2)
> B  = VectorFunctionSpace(mesh, "Bubble", 3)
> Mini = (P1 + B)

I don't understand where the form is coming from (the error is in a
tabulate_tensor() function).
What does adding two function spaces mean?

>
> The Instant output is:
>
>
> In file included from instant_module_c57922f6eccdd3bfa89632e935c27d66b0c22e0b_wrap.cxx:3085:0:
> ffc_form_5ca75cda2f9ef647eacfccf50055f2967e691cf9.h: In member function ‘virtual void ffc_form_5ca75cda2f9ef647eacfccf50055f2967e691cf9_cell_integral_0_0::tabulate_tensor(double*, const double* const*, const ufc::cell&) const’:
> ffc_form_5ca75cda2f9ef647eacfccf50055f2967e691cf9.h:1231:9: error: ‘nzc0’ was not declared in this scope
> ffc_form_5ca75cda2f9ef647eacfccf50055f2967e691cf9.h:1231:14: error: ‘j’ was not declared in this scope
> error: command 'gcc' failed with exit status 1
>
> ** Affects: ffc
>     Importance: Critical
>     Assignee: Kristian B. Ølgaard (k.b.oelgaard)
>         Status: Confirmed
>
> --
> Undeclared variables in optimised quadrature code
> https://bugs.launchpad.net/bugs/883202
> You received this bug notification because you are a bug assignee.
>