ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #01036
[HG UFL] Experimental untested feature: allowing missing terminals
One or more new changesets pushed to the primary ufl repository.
A short summary of the last three changesets is included below.
changeset: 765:20be29f7b77b94a1a5d59cf4d5293a21c46f8496
tag: tip
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Wed Mar 25 17:43:34 2009 +0100
files: ufl/algebra.py ufl/terminal.py
description:
Experimental untested feature: allowing missing terminals
in mapping to evaluate. Will probably fail in other places.
changeset: 764:571f1f86a3a1a8353714b614724d173db84245c8
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Wed Mar 25 17:37:58 2009 +0100
files: ufl/algebra.py ufl/algorithms/forward_ad.py ufl/exproperators.py
description:
Fixes for division. Not allowing class Division to represent a
division of a tensor w.r.t a scalar anymore, wrapping A/b as
as_tensor(A[ii]/b, b) instead.
changeset: 763:38b55fcb5258bc6f1e24e48066c4bf7134c7557e
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Wed Mar 25 15:31:03 2009 +0100
files: ufl/algorithms/forward_ad.py
description:
Added check for potential bug:
a = u[i]*v[i] # => IndexSum(..., i), no free indices
b = a.dx(i) # => SpatialDerivative(IndexSum(..., i), i), free index i
moving the derivative inside the sum would make a
summation over the derivative index which isn't right.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/ufl