Yes indeed. In fact Coffee is a better indicator of how you should do code generation, and Pymbolic (by Andreas Klöckner) is better still. On 13 January 2015 at 19:02, Mitchell, Lawrence < lawrence.mitchell@imperial.ac.uk> wrote:
On 13 Jan 2015, at 18:45, Eike Mueller <e.mueller@bath.ac.uk> wrote:
thanks, yes, that's what I was looking for, I will have a look at the code. I'm asking because our new PhD student, who will work on code generation for Molecular Dynamics, started this week. So I wanted to get some ideas as to what you are doing.
Note, fwiw, that we don't hold up the pyop2 code generation as a paragon of good programming practice. If you're looking for examples of excellent code gen, we can probably point to better ones.
Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
-- Dr David Ham Departments of Mathematics and Computing Imperial College London http://www.imperial.ac.uk/people/david.ham