← Back to team overview

ffc team mailing list archive

outer products

 

Hi all,

As I've been told, it shoud be possible in FFC to compute an outer product
between a vector valued function and its transpose:

T = mult(vec(n), transp(vec(n)))

a = (...)
L = dot(v,div(T))

Here, n is on a 'Vector Lagrange' element and so is v (test func).

I'm a bit concerned that it's not working: If I put the transpose on the
first term instead I should get something totally different (a rank 0
tensor instead of rank 2, I guess). But when I compute in DOLFIN,
impelmenting the two variants I get the same results.

Have I toatally misunderstood something here?

Regards,
Dag Lindbo



Follow ups