Subject: [UFL-dev] [HG UFL] Added automatic matching of integrals over same domain, i.e.:

From: [email-masked] (UFL)
Date: Tue, 12 Aug 2008 16:47:09 +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:   136:8b6bb48b3e9113d7f41a4da758fe969cf2a3f518
tag:         tip
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Tue Aug 12 16:47:09 2008 +0200
files:       test/forms.py ufl/form.py
description:
Added automatic matching of integrals over same domain, i.e.:

 a = 2*v*dx + 3*v*dx

is equivalent to

 a = (2*v + 3*v)*dx

and yields a form with a single Integral object.

changeset:   135:ac4e500e0ea89d5302c6e0adf8cba8134d4e9647
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Tue Aug 12 16:11:07 2008 +0200
files:       ufl/integral.py
description:
Reverted allowing "1*dx": this defines no elements and thus not the cell type, which makes the result undefined...

changeset:   134:0c1103d20560eeec0f235aac9ee3b6fad258b318
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Tue Aug 12 15:57:57 2008 +0200
files:       ufl/integral.py
description:
Added support for "a = 1*dx", which can be useful for easily computing the volume of a mesh.

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