← Back to team overview

syfi team mailing list archive

[HG syfi] Added support for manual signature in compile_form.

 

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

changeset:   115:b71672ba747c97c23079598aa794f2712a328a4c
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Mon Jun 23 16:39:48 2008 +0200
files:       python/sfc/compiler.py
description:
Added support for manual signature in compile_form.
Usage:

form = compile_form(..., signature="My Fantastic Form!")

The signature is passed to Instant, which uses the md5 sum
of the signature to find the form in the cache. If the form
isn't found in Instants cache, SFC generates code and
passes it to Instant for compilation.

This is a temporary solution until UFL is in place
such that we can use md5 sums of the UFL signature.


changeset:   114:189f77212edf7501213ed768f46cf56eff8dba3f
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Jun 04 15:29:43 2008 +0200
files:       examples/solvers/hyperelasticity/compile_dolfin_functions.py examples/solvers/hyperelasticity/demo.py examples/solvers/hyperelasticity/generate_function.py examples/solvers/projection/demo.py
description:
Removed local compile_functions code, using the code in dolfin now.


changeset:   113:db1a02b623a98cc42931064ba5c60681a29a312d
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Jun 04 11:56:14 2008 +0200
files:       examples/solvers/hyperelasticity/demo.py examples/solvers/projection/demo.py
description:
Update projection demo to use the new dolfin.compile_functions.


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