<div class="gmail_quote">On Tue, Jan 3, 2012 at 09:37, behzad baghapour <span dir="ltr">&lt;<a href="mailto:behzad.baghapour@gmail.com">behzad.baghapour@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1zc">Thanks, I am using SNES and I thought KSPGetConvergedReason() may automaticly checked after each Newton iteration and then the solution is stopped with this message:<br><br>  Linear solve did not converge due to DIVERGED_ITS iterations 40<br>

Nonlinear solve did not converge due to DIVERGED_LINEAR_SOLVE<br><br>So how can I tell KSP in SNES to ignore the convergence check?<div><div></div></div></div></blockquote></div><div><br></div><div>-snes_max_linear_solve_fail N</div>
<br><div><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESSetMaxLinearSolveFailures.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESSetMaxLinearSolveFailures.html</a></div>