← Back to team overview

syfi team mailing list archive

[HG syfi] Fixed signature based cache bug.

 

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

changeset:   116:8e14f712c34bfa5a25577e593416753cce5f198b
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Mon Jun 23 17:30:21 2008 +0200
files:       python/sfc/compiler.py
description:
Fixed signature based cache bug.


changeset:   115:b71672ba747c97c23079598aa794f2712a328a4c
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.


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