ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #04031
Arbitraryness in code generated by quadrature representation?
-
To:
ffc@xxxxxxxxxxxxxxxxxxx
-
From:
"Marie E. Rognes" <meg@xxxxxxxxx>
-
Date:
Thu, 20 Jan 2011 14:32:09 +0100
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Repeated runs of the dolfin generate-form-files scripts seems to
generate different code. For instance for the forms defined in
/demo/undocumented/dg-advection-diffusion/cpp/AdvectionDiffusion.ufl
I get differences of the type
- G[1] = 0.500000000000000*det*n1;
- G[2] = 0.500000000000000*det;
+ G[1] = 0.500000000000000*det;
+ G[2] = 0.500000000000000*det*n1;
in tabulate_tensor and corresponding differences for the tensor terms.
The code seems equivalent, but this behaviour makes it tedious to check
for changes in the generated code. Has anyone else experienced this?
--
Marie
Follow ups