Interpolate expression with complex litteral

Could you try with dolfinx.fem.Constant(mesh, PETSc.ScalarType(1j))*u?

2 Likes