← Back to team overview

ufl team mailing list archive

ListTensor

 

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

Attachment: signature.asc
Description: Digital signature


Follow ups