ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #02667
Re: insert quad points in comment differently
Quoting Shawn Walker <walker@xxxxxxxxxxxxxxx>:
> Hello, I have just one minor request. When putting the quad points in the
> comment, would it be possible to break it apart into two lists (one for
> the X and one for the Y)? that way I can just copy it into the code I am
> testing. Otherwise, I have to copy multiple pieces separately, which can
> be tedious if there are lots of points. This isn't really critical,
> though it would be nice.
Yes, that is possible, but I think it is more natural to just have a list of
points.
However, I added some code to
ffc/compiler/codegeneration/quadraturegenerator.py around line 420
which will do what you want. Just uncomment the lines.
We could have a quick vote here on the list to which format we want (or we could
simply include both formats in the generated code).
I don't want to push any changes before we agree on something because I will
have to update the references if I do.
Kristian
> - Shawn
>
Follow ups
References