← Back to team overview

ufl team mailing list archive

[HG UFL] Work on manual introduction.

 

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

changeset:   800:5a477a8334b93c216ade7e0a8d28159cbc9c3a48
tag:         tip
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Mon Apr 06 11:11:19 2009 +0200
files:       doc/manual/bibliography.bib doc/manual/chapters/introduction.tex doc/manual/ufl-user-manual.tex
description:
Work on manual introduction.


changeset:   799:6e163dc3bab2bc5b193e61bebb189c08d7bc081f
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Mon Apr 06 10:18:04 2009 +0200
files:       demo/ConvectionJacobi.ufl demo/ConvectionJacobi2.ufl demo/HyperElasticity.ufl demo/HyperElasticity1D.ufl demo/HyperElasticityWorkaround.ufl demo/MassAD.ufl demo/MixedElasticity.ufl demo/MixedPoisson2.ufl demo/PowAD.ufl demo/ProjectionSystem.ufl demo/SimpleDiff5.ufl demo/StiffnessAD.ufl ufl/algorithms/formtransformations.py ufl/formoperators.py
description:
Updated demo files. Some were still missing 'forms' or using wrong form names.
Added (temporarily) demo/HyperElasticityWorkaround.ufl, which compiles with FFC.
SFC uses 33 s to compile this while FFC spends 1:07 m.


changeset:   798:3362f4b3815288bfaf774d4f7c367f064c194d0e
user:        Anders Logg <logg@xxxxxxxxx>
date:        Mon Apr 06 09:10:58 2009 +0200
files:       demo/HyperElasticity.ufl demo/TupleNotation.ufl ufl/__init__.py ufl/algorithms/__init__.py ufl/algorithms/tuplenotation.py ufl/classes.py ufl/form.py ufl/formoperators.py ufl/integral.py
description:
Implement tuple notation, now in algorithms/tuplenotation.py.
Form compilers should use ufl.algorithms.as_form to convert from
tuple (or Form) to Form. I tried placing as_form in form.py but
this did not work due to some recursive imports. It's now in
tuplenotation.py. Here's how it's done in FFC:

    forms = []
    elements = []
    for object in objects:
        if isinstance(object, FiniteElementBase):
            elements.append(object)
        elif not object is None:
            forms.append(as_form(object))

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