← Back to team overview

ffc team mailing list archive

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

 

This looks really nice, and will be really useful. Is it limited to two fields?

Garth



Quoting ffc@xxxxxxxxxx:

> 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
> 
> _______________________________________________
> FFC-dev mailing list
> FFC-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/ffc-dev
> 



Follow ups

References