On Tue, Jan 3, 2012 at 09:37, behzad baghapour <behzad.baghapour at gmail.com>wrote:
> 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: > > Linear solve did not converge due to DIVERGED_ITS iterations 40 > Nonlinear solve did not converge due to DIVERGED_LINEAR_SOLVE > > So how can I tell KSP in SNES to ignore the convergence check? > -snes_max_linear_solve_fail N http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESSetMaxLinearSolveFailures.html -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120103/4c7e9737/attachment.htm>
