ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #00909
[HG UFL] Implemented __getitem__ in Identity such that it returns 0 or 1 for fixed indexing.
One or more new changesets pushed to the primary ufl repository.
A short summary of the last three changesets is included below.
changeset: 682:019c07a38f1c85c4f942f5a224282f9fea01dafb
tag: tip
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Wed Mar 04 16:32:05 2009 +0100
files: ufl/constantvalue.py
description:
Implemented __getitem__ in Identity such that it returns 0 or 1 for fixed indexing.
changeset: 681:796d3319259b37d77cd7058fea30672e0fea31c9
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.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/ufl