Subject: [UFL-dev] [HG UFL] Bugfix in TensorElement.extract_component.

From: [email-masked] (UFL)
Date: Tue, 3 Jun 2008 16:00:59 +0200 (CEST)

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

changeset:   122:6ef59876be3036d3b3342a4a29330d9249f0f16f
tag:         tip
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Tue Jun 03 16:00:57 2008 +0200
files:       ufl/finiteelement.py
description:
Bugfix in TensorElement.extract_component.

Added simplified default symmetry for second order tensor elements:

element = TensorElement("CG", polygon, 1, symmetry=True)

will yield the most used symmetric second order tensor (matrix)
element that occurs in so many physical applications.

The symmetry argument should be well documented,
it's definitely not obvious what it means.

changeset:   121:4a382df763e2bce23fecb38d896e216a4768a9e7
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Tue Jun 03 14:27:29 2008 +0200
files:       ufl/finiteelement.py
description:
Bugfix in MixedElement.extract_component (if I understand it correctly!)

changeset:   120:8626ac075bf52f843215329e4daf2ea672056438
user:        "Martin Sandve Alnæs <[email-masked]>"
date:        Tue Jun 03 14:20:12 2008 +0200
files:       ufl/elements.py ufl/finiteelement.py
description:
Minor fixes on elements.
Implemented value_dimension(i) for FiniteElement,
VectorElement and TensorElement without extra
element information. Only true MixedElement
instances give problems, but this is the same
as ufc::finite_element::value_dimension(i),
and ufc::finite_element::value_rank(), so
we should probably resolve it the same way as
in UFC.

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