← Back to team overview

ffc team mailing list archive

Add support for arbitrary mixed elements (experimental and untested). [...]

 

Commit from logg (2005-09-20 17:06 CEST)
----------------

Add support for arbitrary mixed elements (experimental and untested).

The following code creates a Taylor-Hood element:

  P1 = FiniteElement("Lagrange", "triangle", 1)
  P2 = FiniteElement("Vector Lagrange", "triangle", 2)
  TH = P2 + P1

  (v, q) = BasisFunctions(TH)
  (u, p) = BasisFunctions(TH)

  ffc  ChangeLog                          1.76
  ffc  src/bin/ffc                        1.21
  ffc  src/ffc/compiler/dofmap.py         1.19
  ffc  src/ffc/compiler/finiteelement.py  1.24
  ffc  src/ffc/compiler/integrator.py     1.16
  ffc  src/ffc/compiler/pointmap.py       1.6



Follow ups