Hello,<br><br>I&#39;m using a preconditionner of my construction which has the particularity to make the norm of the residual vector increase suddently (from 1e-1 to 1e+6). The problem is that if that PETSc concludes to divergence after applying my preconditionner.<br>

<br>Also, i setted the -ksp_divtol flag to 100 (random value to make it works) and also used the KSPSetTolerances function with the same value.<br><br>I&#39;m probably missing some point but can&#39;t figure out which one. <br>

<br>Do someone has an idea ?<br><br>Thanks a lot.<br><br><br>