Thank you for your answer!
It’s a pity you didn’t try to run the code. In fact I have done more tests on the above code and it just does not converge, even when I reduce the problem to a identity mapping.
As for the unfairness you mentioned, it was just a small mistake that I didn’t notice.