← Back to team overview

ufl team mailing list archive

Re: ListTensor

 

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.

You have something similar in FFC, right?
vec and mat or something?
How do you handle those?

Martin


Follow ups

References