← Back to team overview

ufl team mailing list archive

[HG UFL] Bugfix in expand_indices for spatial derivatives of non-scalar terminals.

 

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

changeset:   681:796d3319259b37d77cd7058fea30672e0fea31c9
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Mar 04 15:20:32 2009 +0100
files:       sandbox/algorithmtests/test_purge_list_tensors.py ufl/algorithms/transformations.py
description:
Bugfix in expand_indices for spatial derivatives of non-scalar terminals.


changeset:   680:f0affdd27b564b55a4dde192b29428910b6c067a
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Mar 04 13:23:13 2009 +0100
files:       ufl/algorithms/__init__.py ufl/algorithms/analysis.py ufl/algorithms/transformations.py
description:
Added function purge_list_tensors(a). This version will do nothing
if a contains no ListTensor instances, and otherwise call expand_indices.
In that case all indices are expanded, i.e. there are no free indices
left in the expression.

purge_list_tensors can be upgraded later to only expand indices
that occurs as a component to a list tensor.


changeset:   679:807f276b7397896e28e2bf6dd6688ec0fdc644ca
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Mar 04 13:06:29 2009 +0100
files:       ufl/function.py
description:
Added hook for Function gradient and derivatives members
to show the possible user interface for this.
But won't implement this yet!

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