← Back to team overview

ufl team mailing list archive

[HG UFL] Added function purge_list_tensors(a). This version will do nothing

 

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

changeset:   680:f0affdd27b564b55a4dde192b29428910b6c067a
tag:         tip
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!


changeset:   678:36292a4739ba8922c04c05bb1a2fea4459e64e21
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Mar 04 12:56:52 2009 +0100
files:       sandbox/algorithmtests/test_expand_indices.py ufl/algorithms/transformations.py
description:
Bugfix in expand_indices. Seems to work fine on some simple examples.

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