← Back to team overview

ufl team mailing list archive

[HG UFL] Added alternative formulation of convection Jacobi form, using index notation.

 

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

changeset:   108:fa25c8a761c5be660be5956ecc011cd3299c8196
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri May 16 16:10:07 2008 +0200
files:       demo/convection_jacobi2.form
description:
Added alternative formulation of convection Jacobi form, using index notation.


changeset:   107:687779d7318d34c7221bf20140f2a70317116233
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri May 16 16:09:06 2008 +0200
files:       scripts/ufl-analyse ufl/base.py ufl/indexing.py ufl/new_transform.py ufl/objects.py ufl/utilities.py
description:
Moved MultiIndex back to base.py, inheriting Terminal.
It needs to be part of the UFLObject, otherwise the
general iteration procedures break on Indexed.
Made PartialDerivative use MultiIndex just like
Indexed, such that PD.operands() returns objects
from the UFLObject hierarchy. This also means
we can support foo.dx(i,j) for second and higher
order derivatives.

Improved ufl2latex such that it handles complete forms
with multiple integrals, and indexed expressions.
Added its output to ufl-analyse, try it on the forms under demo/!


changeset:   106:fa0a7626699aef9bff15e7cc71f7410aa3b3abd0
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Thu May 15 21:37:58 2008 +0200
files:       ufl/base.py ufl/indexing.py ufl/new_transform.py ufl/tensoralgebra.py
description:
Bugfix in index handling with ellipsis.
Bugfix in Dot.__repr__.

Implemented expand_compound(expression), which expands
Dot, Inner, Outer, Transpose, Div, Grad, [Curl, Rot not implemented]
into indexed expressions. Not verified, needs unit tests.

We also need better unit tests for indexing,
and tests and cleanup of PartialDerivative.

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