← Back to team overview

ufl team mailing list archive

[HG UFL] Some cleanup.

 

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

changeset:   112:9e119cc0c9d1a1e9aef51dea04ff809e0ae88464
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Tue May 20 15:03:07 2008 +0200
files:       ufl/__init__.py ufl/all.py ufl/base.py ufl/differentiation.py ufl/tensoralgebra.py ufl/tensors.py
description:
Some cleanup.


changeset:   111:5551c9d6e223c33b9fdc07cc44e24e9868df7a46
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Tue May 20 14:52:55 2008 +0200
files:       ufl/all.py ufl/base.py ufl/differentiation.py ufl/indexing.py ufl/operators.py ufl/tensoralgebra.py ufl/tensors.py
description:
Moved operators from base.py to their respective context file.
The trick was to not implement the operators in the UFLObject
class itself, but instead extend UFLObject with the various
operators in their respective files like:

def _getitem(self, key):
    return Indexed(self, key)
UFLObject.__getitem__ = _getitem


changeset:   110:f556c349e29d7ad80442727c819a3afe7cfe082e
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Mon May 19 21:16:54 2008 +0200
files:       ufl/__init__.py ufl/integral.py ufl/objects.py ufl/utilities.py
description:
Additional small fixes. Disabled PyChecker.

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