← Back to team overview

syfi team mailing list archive

[HG syfi] Updates and fixes in overall generate_code structure.

 

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

changeset:   232:805d767c784888b0d6abfe03c0fdbed976a92eab
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
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 <martinal@xxxxxxxxx>"
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.


changeset:   230:0f5c077ed01821f04524ffdaba67264f8290cd11
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Dec 12 13:07:54 2008 +0100
files:       examples/newsolvers/poisson/cpp/Makefile examples/newsolvers/projection/cpp/Makefile examples/newsolvers/projection/cpp/Projection.ufl site-packages/newsfc/codegeneration/codegeneration.py site-packages/newsfc/jit.py
description:
Various fixes.


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