Subject: [UFL-dev] [HG UFL] Raise MonomialException instead of returning None when extraction fails.

From: [email-masked] (UFL)
Date: Fri, 27 Feb 2009 23:56:08 +0100 (CET)

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

changeset:   654:8f49528e2ee1f64ffacbc5ce735f98fa1e16182e
tag:         tip
user:        Anders Logg <[email-masked]>
date:        Fri Feb 27 23:56:22 2009 +0100
files:       ufl/algorithms/__init__.py ufl/algorithms/monomials.py
description:
Raise MonomialException instead of returning None when extraction fails.
Add pretty-printing for monomial extraction fails.

changeset:   653:304b23eab1bb0e005fac11442036c7e109ca7b16
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Feb 27 16:13:06 2009 +0100
files:       ufl/form.py
description:
Changes in Form:
- form.integrals() takes an optional domain_type argument,
- added form.measures() with an optional domain_type argument,
- added form.domains() with an optional domain_type argument,
- added form.integral_groups() which returns a dict mapping
from domain to a list of integrals.

Consider:

g = a.integral_groups()
for d in a.domains(Measure.CELL):
    integrals_on_d = g[d]

All integrals in integrals_on_d should then correspond
to a single ufc::cell_integral.

Ok?

changeset:   652:208bee6b38cdcd56ff14814c106bd107217a10fd
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Fri Feb 27 15:34:13 2009 +0100
files:       ufl/function.py
description:
Bugfix.

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