← Back to team overview

ufl team mailing list archive

[HG UFL] Evaluating mathfunctions as scalar values with scalar value inputs.

 

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

changeset:   379:59f7c449ba537010ac71369b370ce5996c26596f
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Oct 29 22:45:58 2008 +0100
files:       sandbox/mathfunctions.py ufl/mathfunctions.py ufl/operators.py
description:
Evaluating mathfunctions as scalar values with scalar value inputs.


changeset:   378:1da1ce90a93efebacda0f339ea3822bfc265c436
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed Oct 29 16:24:44 2008 +0100
files:       ROADMAP
description:
Updated ROADMAP.


changeset:   377:8c78bf8308df763cbeb0f5a2de938acaa8c4dacc
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.

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