← Back to team overview

ufl team mailing list archive

[HG UFL] Moved load_forms function to ufl.utilities,

 

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

changeset:   102:1facb22cf9b49b7dda896bc5a1ef518c03359f03
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri May 09 15:25:25 2008 +0200
files:       scripts/ufl-analyse ufl/__init__.py ufl/utilities.py
description:
Moved load_forms function to ufl.utilities,
and use existing utilities to extract information
in ufl-analyse. Example output in current version:

martinal@martinal-znote:~/dev/fenics/ufl/demo$ ufl-analyse convection_jacobi.form
Loading form file 'convection_jacobi.form'

Found no errors in form 'b'.

Form: 'b'
Rank: 2
Number of coefficients: 1
Elements used:
VectorElement('Mixed', 'triangle', 1, 2)
Basisfunctions:
BasisFunction(VectorElement('Mixed', 'triangle', 1, 2), -2)
BasisFunction(VectorElement('Mixed', 'triangle', 1, 2), -1)
Coefficients:
Function(VectorElement('Mixed', 'triangle', 1, 2), None, 0)
Form representation:
Form([Integral('cell', 0, Dot(((v_-1) . (grad(w_0)) + (w_0) . (grad(v_-1))), v_-2))])


changeset:   101:ee2a6caf47add23132e1356333cc2609a02d36b4
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Fri May 09 15:08:08 2008 +0200
files:       demo/H1norm.form demo/convection_jacobi.form demo/convection_vector.form demo/explicit_convection.form scripts/ufl-analyse setup.py
description:
Added script ufl-analyse which loads a form file,
extracts all defined forms, and prints information
about them. Doesn't do much useful now, but should
be extended to run all possible diagnostics as
we make them. Used the script to run demo forms
and correct a couple of bugs in them.


changeset:   100:e2dae1ae5979a5ea1a3b904bece1cfea439941ef
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Wed May 07 22:07:01 2008 +0200
files:       ufl/new_transform.py
description:
Added sketch of functions for a cleaner implementation
of expression transformations from one representation
to another using dicts without all the class and inheritance
mess from transformers.py.

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