← Back to team overview

ffc team mailing list archive

[HG FFC] Add JIT (just-in-time) compiler.

 

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

changeset:   918:5f082336cb71643715308453f86060db2a8a9537
tag:         tip
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Fri Jul 20 19:34:00 2007 +0200
files:       src/ffc/__init__.py src/ffc/compiler/compiler.py src/ffc/jit/__init__.py src/ffc/jit/jit.py src/sandbox/jit/test.py
description:
Add JIT (just-in-time) compiler.

FFC now provides the following two functions in the Python interface:


1. compile(a):

   Generate UFC (C++) code for the form a.

2. a = jit(a):

   Generate UFC (C++) code for the form a,
   then compile it (using g++), wrap it back to Python
   using SWIG (handled very nicely by Instant) and
   return the compiled form as a Python object.

Next, this will be integrated into PyDOLFIN so that forms
can be defined and assembled seamlessly from Python.


changeset:   917:8e15a56c2d20b7d2e7c09947959da9bf667d92c8
user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
date:        Wed Jun 27 11:56:48 2007 +0200
files:       src/ffc/fem/vectorelement.py src/sandbox/quad/quadrature.form
description:
fix bug in vectorelement.py. Default value for num_sub_elements is now only computed if num_sub_elements is not specified by the user.


changeset:   916:09b0f47a366b4fd6eea6f6f10b84caccc6f76fff
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Mon Jun 25 23:58:37 2007 +0200
files:       src/ffc/compiler/codegeneration/tensor/tensorgenerator.py
description:
Add comment

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