← Back to team overview

ufl team mailing list archive

[HG UFL] Simplifying as_tensor(A[ii], ii) -> A.

 

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

changeset:   772:e23cac794bee39e67e9f57834426e8303e6258db
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Mar 27 11:52:25 2009 +0100
files:       ufl/algorithms/renumbering.py ufl/tensors.py
description:
Simplifying as_tensor(A[ii], ii) -> A.


changeset:   771:fd1878b3183a1f90378815b27b7cd38e1061e1fe
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Mar 27 11:17:56 2009 +0100
files:       ufl/algebra.py ufl/algorithms/renumbering.py ufl/conditional.py ufl/constantvalue.py ufl/differentiation.py ufl/form.py ufl/indexed.py ufl/indexsum.py ufl/precedence.py ufl/restriction.py ufl/tensoralgebra.py
description:
More compact str by omitting () around terminals.
This is implemented in precedence.py,
parstr(child, parent) returns str(child)
with eventual parenthesis around it, and can
easily be extended to proper precedence handling.


changeset:   770:e4266fb52ebff81d542b90f6be6d19cdf14fc0ca
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri Mar 27 00:20:51 2009 +0100
files:       sandbox/algorithmtests/renumber_indices.py ufl/algorithms/renumbering.py ufl/algorithms/transformations.py ufl/constantvalue.py ufl/tensors.py
description:
Changed printing of component tensor to more compact like { A | A_i = v_i }.

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