← Back to team overview

ufl team mailing list archive

Re: [HG UFL] Changes in Form:

 

Quoting UFL <ufl@xxxxxxxxxx>:

> 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?

Nice, but even nicer if it was implemented YESTERDAY!  :)

Kristian
 
> 
> changeset:   652:208bee6b38cdcd56ff14814c106bd107217a10fd
> user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> date:        Fri Feb 27 15:34:13 2009 +0100
> files:       ufl/function.py
> description:
> Bugfix.
> 
> 
> changeset:   651:15a7f4adf2a9cdcd20d2b57294bf6c57bf05a193
> user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> date:        Thu Feb 26 13:15:26 2009 +0100
> files:       ufl/algorithms/__init__.py ufl/algorithms/formdata.py
> ufl/algorithms/graph.py
> description:
> Minor fixes.
> 
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/ufl
> 




References