ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #01047
Re: commented lines
On Mon, Apr 30, 2007 at 10:01:14AM +0200, Garth N. Wells wrote:
> For some forms, a lot of lines are commented out in the FFC output.
> Could these lines be removed? For the Cahn-Hilliard demo, the output
> files are huge (>6MB for 3D).
>
> Garth
The commented lines are for variables that are never used (which gcc
will complain about). FFC searches the generated code (backwards) to
find variables that are not used and removes those variables (and any
other variables that be become unused as a result).
I currently replace those lines with a comment for clarity, but it's
just as simple just to remove the lines.
/Anders
References