<br><br><div class="gmail_quote">On Mon, Nov 21, 2011 at 02:33, behzad baghapour <span dir="ltr"><<a href="mailto:behzad.baghapour@gmail.com">behzad.baghapour@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear Developers,<br><br>I've finished programming with SNES. But when I run, SNES just do one Nonlinear iteration and comes out !!!<br>I check that the residual evaluation is correct BUT the linear solver may not work while the number of linear iteration is "0". I also check that the jacobian routine is called during process but I don't know how to check the jacobian and preconditioner in SNES to ensure the correct values.<br>
</blockquote><div><br></div><div>-snes_converged_reason -ksp_converged_reason</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>Here I want to know what procedure I should do and where is the beginning point for debugging with SNES?<br></blockquote><div><br></div><div><a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#newton">http://www.mcs.anl.gov/petsc/documentation/faq.html#newton</a></div>
</div>