← Back to team overview

ufl team mailing list archive

[HG UFL] Fixes for division. Not allowing class Division to represent a

 

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

changeset:   764:571f1f86a3a1a8353714b614724d173db84245c8
tag:         tip
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.


changeset:   762:1af1d4af0935ec75d4bdda0977b1c4f088fd7430
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Mar 25 15:19:08 2009 +0100
files:       ufl/algorithms/forward_ad.py
description:
Disabled warning.

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