← Back to team overview

ufl team mailing list archive

Re: ListTensor

 

Thanks.

-- 
Anders


On Tue, Mar 03, 2009 at 09:02:54AM +0100, Martin Sandve Alnæs wrote:
> Nothing implemented, no.
> I'll have to think about it.
> 
> Martin
> 
> 
> 
> On Tue, Mar 3, 2009 at 12:18 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> > Is there a way to transform an expression to remove ListTensor from
> > the tree? I'm struggling with the monomial transformation.
> >
> > Take for example the following expression:
> >
> >  inner(as_tensor([v[0], v[1]]), as_tensor([u[0], u[0].dx(1)]))
> >
> > This might be rewritten as
> >
> >  a = v[0]*u[0] + v[1]*u[0].dx(1)
> >
> > This I can handle, but not the version containing ListTensor.
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.9 (GNU/Linux)
> >
> > iEYEARECAAYFAkmsaVAACgkQTuwUCDsYZdEhNACbBmD2+FcNT7zHrIXIfQlKYdOl
> > pNUAoI+//ZSnHMNXDUbYBnCjSYCK7kbF
> > =4bc7
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > UFL-dev mailing list
> > UFL-dev@xxxxxxxxxx
> > http://fenics.org/mailman/listinfo/ufl-dev
> >
> >

Attachment: signature.asc
Description: Digital signature


References