FFC

Support tensor functions

Registered by Garth Wells

Support tensor functions

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Marie Rognes
Completed by
Marie Rognes

Related branches

Sprints

Whiteboard

I suppose tensor functions is not what we already have in the demo TensorWeightedPoisson.uf?

TensorElements are currently mapped to a list of elements in FFC.

GNW: Are symmetric tensors supported?

MSA: Seems to work fine now:
In [1]: from dolfin import *
In [2]: mesh = UnitSquare(3,3)
In [3]: V = TensorFunctionSpace(mesh, 'CG', 1, symmetry=True)
In [4]: V.dim()
Out[4]: 48
In [5]: U = TensorFunctionSpace(mesh, 'CG', 1)
In [6]: U.dim()
Out[6]: 64

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.