← Back to team overview

ufl team mailing list archive

Re: Identity

 

Yes, for example:

cell = triangle
element = FiniteElement("CG", cell, 1)
I = Identity(cell.d)

Martin



On Mon, Mar 9, 2009 at 12:46 PM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
> Is it possible to create the identity tensor with UFL? With FFC it was
> possible to do
>
>     Identity(len(v))
>
> Garth
> _______________________________________________
> UFL-dev mailing list
> UFL-dev@xxxxxxxxxx
> http://fenics.org/mailman/listinfo/ufl-dev
>


References