Subject: [UFL-dev] [HG UFL] A hopefully more robust fix for AD bug.

From: [email-masked] (UFL)
Date: Fri, 3 Apr 2009 17:41:02 +0200 (CEST)

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

changeset:   795:d6a66e1952eab0ac568311490f15981a124a962f
tag:         tip
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Apr 03 17:42:43 2009 +0200
files:       ufl/differentiation.py
description:
A hopefully more robust fix for AD bug.
(Improved checking for spatially constant
expressions to simplify Dx(c,i) -> 0)

changeset:   794:1ed94104a0c6c1bf217b57b71a3e4876b3ca62ea
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Apr 03 17:34:55 2009 +0200
files:       ufl/__init__.py ufl/algorithms/__init__.py
description:
Importing load_ufl_file in ufl.algorithms.

changeset:   793:84a7decd5203779ea1f1b8961862426e99073d2c
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Apr 03 17:33:57 2009 +0200
files:       ufl/algorithms/formfiles.py ufl/algorithms/forward_ad.py ufl/tensors.py
description:
Bugfix: Making a listtensor or componenttensor from zeros
will result in a Zero. This fixes a bug in AD. However,
the bug might not be completely gone, a review of some
code would be nice. More on that later.

Added load_ufl_file(filename), returning a FileData object
which has members "forms", "elements", and "functions".
Use instead of load_forms.

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