← Back to team overview

ufl team mailing list archive

[HG UFL] Further unit tests and bugfixes.

 

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

changeset:   572:7b3965cffdd63f65afa544dfeb4103dbcf18b684
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Feb 13 15:12:36 2009 +0100
files:       test/evaluate.py ufl/algebra.py ufl/algorithms/transformations.py ufl/indexed.py ufl/tensoralgebra.py
description:
Further unit tests and bugfixes.


changeset:   571:4bd3d69f02b53e26b1b631d46e5b26577d25b55e
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Feb 13 14:36:03 2009 +0100
files:       test/evaluate.py test/manualtest.py ufl/algorithms/ad.py ufl/geometry.py ufl/indexsum.py
description:
Unit tests and bugfixes for evaluation, for example:

        cell = triangle
        x = cell.x
        I = Identity(cell.d)
        s = (x[i]*x[j])*I[i,j]
        e = s((5,7))
        #v = sum_i sum_j x_i x_j delta_ij = x_0 x_0 + x_1 x_1
        v = 5**2 + 7**2
        self.assertTrue(e == v)


changeset:   570:3ae30e3fe38568b9c26fe18f358e760ffbdb9b79
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Feb 13 13:28:04 2009 +0100
files:       ufl/algorithms/formtransformations.py ufl/algorithms/forward_ad.py ufl/algorithms/ufl2latex.py ufl/classes.py ufl/form.py ufl/formoperators.py ufl/integral.py ufl/objects.py
description:
Split Integral into Integral and Measure,
inspired by the wording in the manual
"dx is a measure for integration".
Metadata for integration options is
associated with the Measure, and an
Integral has an Expr (integrand) and a Measure.

Fixed Form such that integrals with
measures differing only by metadata
are not combined.

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