← Back to team overview

ufl team mailing list archive

[HG UFL] Fixed calls to uflobject.rank(), some stuff is broken.

 

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

changeset:   34:b67535c564de76028399510fe6ed9cae0fadc68e
tag:         tip
user:        martinal@localhost
date:        Tue Mar 11 01:32:02 2008 +0100
files:       src/ufl/base.py src/ufl/differential.py src/ufl/form.py src/ufl/tensoralgebra.py
description:
Fixed calls to uflobject.rank(), some stuff is broken.


changeset:   33:757d4c796b6ed7bc73f2045df6cbf3ab055c2157
user:        martinal@localhost
date:        Tue Mar 11 01:30:25 2008 +0100
files:       src/ufl/arguments.py src/ufl/base.py src/ufl/differential.py src/ufl/function.py src/ufl/geometry.py src/ufl/objects.py src/ufl/tensoralgebra.py
description:
Added integer member rank to all objects,
changed initialization of free_indices to
be independent of rank,
introduced helper functions is_true_scalar(foo),
is_scalar_valued(foo) and rank(foo) to be used
instead of referencing these variables directly.

A "true scalar" is a scalar valued expression
with no free indices, f.ex. is u[i]*v[j] not
a true scalar since it represents a set of scalars,
but it is still scalar valued and not a tensor.
(Assuming u,v vector expressions and i,j indices).


changeset:   32:f1487bd52e90efe8babfff60ef040803ca820307
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Sun Mar 09 13:31:28 2008 +0100
files:       tests/wrongforms.py
description:
Added tests for exception throwing when forms are not well constructed.

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