← Back to team overview

ufl team mailing list archive

[HG UFL] Added tests for exception throwing when forms are not well constructed.

 

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

changeset:   32:f1487bd52e90efe8babfff60ef040803ca820307
tag:         tip
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.


changeset:   31:8dcd2e7f9dfed8dfc493ab69fdcc6b9f188625a9
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Sun Mar 09 13:12:07 2008 +0100
files:       src/ufl/base.py
description:
Indexing fixes.


changeset:   30:0a6d090162bc2baa8966f5725e441e318a45f611
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Sun Mar 09 12:49:54 2008 +0100
files:       src/ufl/base.py src/ufl/form.py
description:
Implemented free_indices handling for Product.

Added rank checks to Indexed, making it impossible to index a rank r tensor expression with n!=r indices,
and to Integral, making it impossible to integrate non-scalar expressions.

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