ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #00717
[HG UFL] Unit tests and bugfixes for evaluation, for example:
One or more new changesets pushed to the primary ufl repository.
A short summary of the last three changesets is included below.
changeset: 571:4bd3d69f02b53e26b1b631d46e5b26577d25b55e
tag: tip
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.
changeset: 569:7f21dc7c6510b9ed65479b5879e1df6956e9f6b3
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Fri Feb 13 11:23:29 2009 +0100
files: ufl/algorithms/ad.py ufl/algorithms/forward_ad.py ufl/algorithms/graph.py ufl/algorithms/transformations.py ufl/classes.py ufl/conditional.py ufl/differentiation.py ufl/expr.py ufl/mathfunctions.py ufl/restriction.py ufl/terminal.py
description:
Added class Operator, which all non-Terminals now inherit from.
Added function reconstruct, more intuitive than using _uflclass directly.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/ufl