← Back to team overview

ffc team mailing list archive

Re: Unused variables with quadrature optimisation

 

Quoting "Garth N. Wells" <gnw20@xxxxxxxxx>:

> When switching on optimisation with quadrature for
> demo/pde/stokes/stabilized/Stokes.ufl, I get error for unsued variables
> in the generated code (see below). Same problem for
> demo/pde/elastodynamics/cpp/DG0_eps_xx.ufl.

I'll take a look.

Kristian

> Garth
>
> In file included from main.cpp:14:
> Stokes.h: In member function ‘virtual void
> UFC_StokesBilinearForm_cell_integral_0_quadrature::tabulate_tensor(double*,
> const double* const*, const ufc::cell&) const’:
> Stokes.h:7629: error: unused variable ‘nzc7’
> Stokes.h:7631: error: unused variable ‘nzc8’
> Stokes.h: In member function ‘virtual void
> UFC_StokesLinearForm_cell_integral_0_quadrature::tabulate_tensor(double*,
> const double* const*, const ufc::cell&) const’:
> Stokes.h:14086: error: unused variable ‘nzc2’
> Stokes.h:14098: error: unused variable ‘nzc3’
> Stokes.h:14104: error: unused variable ‘nzc6’
> Stokes.h:14106: error: unused variable ‘nzc7’
> Stokes.h:14108: error: unused variable ‘nzc8’
> scons: *** [main.o] Error 1
> scons: building terminated because of errors.
>
>
> _______________________________________________
> FFC-dev mailing list
> FFC-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/ffc-dev
>




Follow ups

References