← Back to team overview

syfi team mailing list archive

[HG syfi] Fixes in jit.py and sfc script to make jit work again,

 

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

changeset:   234:cff9e4745aa3e0e8582a63fbf138a79e02c4074e
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Mon Dec 15 14:38:16 2008 +0100
files:       scripts/sfc site-packages/newsfc/jit.py
description:
Fixes in jit.py and sfc script to make jit work again,
even with multiple forms from a .ufl file.
Running
  sfc -c1 foo.ufl
makes sfc call jit to compile a module and place it in the cache.


changeset:   233:f45362ecc178fe2e3736046828ff802ce5f4b78e
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
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 <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.


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