ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #00854
Re: [HG UFL] Changes in Form:
On Fri, Feb 27, 2009 at 04:13:09PM +0100, UFL wrote:
> One or more new changesets pushed to the primary ufl repository.
> A short summary of the last three changesets is included below.
>
> changeset: 653:304b23eab1bb0e005fac11442036c7e109ca7b16
> tag: tip
> user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> 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?
Looks nice.
--
Anders
Attachment:
signature.asc
Description: Digital signature
References