Subject: [Syfi-dev] [HG syfi] Various fixes. UFL-based compiler framework now produces all

From: [email-masked] (SyFi)
Date: Mon, 15 Dec 2008 13:07:47 +0100 (CET)

One or more new changesets pushed to the primary SyFi repository.
A short summary of the last three changesets is included below.

changeset:   233:f45362ecc178fe2e3736046828ff802ce5f4b78e
tag:         tip
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Mon Dec 15 13:07:45 2008 +0100
files:       examples/newsolvers/poisson/cpp/main.cpp examples/newsolvers/projection/cpp/SConstruct examples/newsolvers/projection/cpp/main.cpp scripts/sfc
description:
Various fixes. UFL-based compiler framework now produces all
the boilerplate code needed to compile and run a simple
C++ dolfin demo. Results are of course not right, since
tabulate_tensor still has an empty quadrature loop.

changeset:   232:805d767c784888b0d6abfe03c0fdbed976a92eab
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Dec 12 18:54:02 2008 +0100
files:       site-packages/newsfc/codegeneration/__init__.py site-packages/newsfc/codegeneration/codegeneration.py site-packages/newsfc/jit.py site-packages/newsfc/representation/elementrepresentation.py site-packages/newsfc/representation/formrepresentation.py
description:
Updates and fixes in overall generate_code structure.
Now creating all ElementRepresentation objects for
all unique elements and subelements of all forms to
compile first, and generating code for those elements.
After this, forms are handled, reusing the same
ElementRepresentation objects. This same code should
handle both a single element, a single form, or
a list of elements or a list of forms.
A list of FormData objects is also accepted,
which is what ufl.load_forms now produces.

The resulting dolfin code does not compile,
because of a bug in the dolfin_utils.wrappers
module, where a typedef is used before it's
defined.

changeset:   231:e6ef5e9cc5baa9c43564d98601b0f7025bc4e40c
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Dec 12 14:31:59 2008 +0100
files:       site-packages/TODO site-packages/newsfc/codegeneration/codegeneration.py site-packages/newsfc/representation/formrepresentation.py
description:
Work on more flexible input to jit/generate_code.
These changes propagate a bit into formrepresentation,
but it feels like this separates concerns a bit better.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/syfi