ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #00492
[HG UFL] Improvements to algebra operator construction and scalar classes:
One or more new changesets pushed to the primary ufl repository.
A short summary of the last three changesets is included below.
changeset: 377:8c78bf8308df763cbeb0f5a2de938acaa8c4dacc
tag: tip
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Wed Oct 29 16:19:04 2008 +0100
files: test/analyse-demos.py test/base.py test/classcoverage.py test/test.py ufl/algebra.py ufl/algorithms/ad.py ufl/algorithms/checks.py ufl/algorithms/dependencies.py ufl/algorithms/transformations.py ufl/algorithms/ufl2latex.py ufl/algorithms/variables.py ufl/base.py ufl/baseoperators.py ufl/classes.py ufl/mathfunctions.py ufl/operators.py
description:
Improvements to algebra operator construction and scalar classes:
- Added class IntValue besides FloatValue
- Implemented __new__ functions in scalar and algebra classes,
simplifying special functions in baseoperators.py
and making f.ex. "Add(2, 3)" simplify to "IntValue(5)".
(These simplifications can still be improved within
the limitations I wish to keep.)
- Made test classcoverage.py call the user-level operators
instead of construct the classes directly, tests that are
closer to real usage and covers more code.
changeset: 376:185d402eadfc09f6d161fb018078e1eed467d6c0
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Wed Oct 29 11:16:40 2008 +0100
files: sandbox/basic_form_compiler.py ufl/__init__.py ufl/algebra.py ufl/algorithms/ad.py ufl/algorithms/analysis.py ufl/algorithms/checks.py ufl/algorithms/dependencies.py ufl/algorithms/formtransformations.py ufl/algorithms/indexalgorithms.py ufl/algorithms/printing.py ufl/algorithms/transformations.py ufl/algorithms/traversal.py ufl/algorithms/ufl2latex.py ufl/algorithms/variables.py ufl/base.py ufl/baseoperators.py ufl/classes.py ufl/conditional.py ufl/differentiation.py ufl/indexing.py ufl/integral.py ufl/mathfunctions.py ufl/restriction.py ufl/tensoralgebra.py ufl/tensors.py ufl/variable.py
description:
Renamed UFLObject -> Expr.
changeset: 375:a3719de87e5ab19f55c3d75e7db9606675a5fa99
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Tue Oct 28 15:16:01 2008 +0100
files: demo/mass_ad.ufl demo/stiffness_ad.ufl ufl/algorithms/ad.py
description:
Added AD demos computing mass and stiffness matrices from energy functionals.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/ufl