We have moved the forum to https://forum.ngsolve.org. This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.
Notice
The forum is in read only mode.
vector XFESpace for xfem inclusion problem in elasticity
Your gradu object is a python list where each entry is a TrialFunction of dimension dxd. You can only transpose the members of the list, not the list itself: