> I'm working (very slowly) on re-implementing our method on the basis of
> deal.ii. It is based on the variational multiscale framework where the
> stabilization tensor \tau is solved by the fine-scale problems. The
> fine-scale problem is discretized with bubble functions which yield a
> local (within an element) linear system. I guess this explains my
> previous threads about bubble function, tensor contraction, and other
> stuff. I really appreciate the help from you and this community.
I see. Yes, in that case just copying the elements of the FullMatrix to
a Tensor is the right approach. It should also cost at most a tiny
fraction of the cost you put into computing the elements of the
matrix/tensor, so the only price to pay is that it would be conceptually
*nicer* to not have to do that conversion yourself. But you already
found copy_to().
Best
W.