That’s a good improvement over Please i need assistance on how to resolve the PETScKrylovSolver's Error below but, sorry, that’s still not good enough.
We’ll need the whole code (e.g., to see how NLproblem
is defined, and to possibly run the code ourselves). Please make it as minimal as possible (i.e., remove all parts which are not truly needed to get the error) otherwise it’ll be unlikely that anyone will spend their own free time to help you.