← Back to team overview

ufl team mailing list archive

[HG UFL] More compact str by omitting () around terminals.

 

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

changeset:   771:fd1878b3183a1f90378815b27b7cd38e1061e1fe
tag:         tip
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 }.


changeset:   769:2f96cb6fab12f755036566d97ade01edca09b718
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Thu Mar 26 15:24:06 2009 +0100
files:       test/analyse_demos.py ufl/algorithms/forward_ad.py ufl/algorithms/pdiffs.py ufl/algorithms/transformations.py ufl/algorithms/ufl2latex.py
description:
Some updates after making Division always represent scalar x/y.

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