← Back to team overview

ufl team mailing list archive

Re: ListTensor

 

Quoting Martin Sandve Alnæs <martinal@xxxxxxxxx>:

> On Tue, Mar 3, 2009 at 4:37 PM, Kristian Oelgaard
> <k.b.oelgaard@xxxxxxxxxx> wrote:
> > Quoting Martin Sandve Alnæs <martinal@xxxxxxxxx>:
> >
> >> Nothing implemented, no.
> >> I'll have to think about it.
> >>
> >> Martin
> >
> > Could someone please fill me in on the most important details of
> ListTensor?
> > Looking at the sub tree I get a strong urge to just ignoring it, would that
> be safe?
> >
> > Kristian
> 
> I don't get what you're asking for here. Temporarily you can
> probably ignore it, but in the end it should be supported.

I had a second look at Indexed vs. ComponentTensor (and ListTensor) and I think
I managed to make some sense out of it. But why does ListTensor not have indices
like ComponentTensor?

Kristian

> 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.
> >> >
> >> > --
> >> > Anders
> >> >
> >> > -----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
> >> >
> >> >
> >> _______________________________________________
> >> UFL-dev mailing list
> >> UFL-dev@xxxxxxxxxx
> >> http://fenics.org/mailman/listinfo/ufl-dev
> >>
> >
> >
> > _______________________________________________
> > UFL-dev mailing list
> > UFL-dev@xxxxxxxxxx
> > http://fenics.org/mailman/listinfo/ufl-dev
> >
> 




Follow ups

References