On Mon, Dec 26, 2011 at 7:35 AM, behzad baghapour <span dir="ltr">&lt;<a href="mailto:behzad.baghapour@gmail.com">behzad.baghapour@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want to check the condition: fn &lt; atol, else, continuous SNES iteration until reach the maximum iterations. So, How should I set the return value?<br></blockquote><div><br></div><div>PetscFunctionReturn(0);</div><div>
<br></div><div><a href="http://petsc.cs.iit.edu/petsc/releases/petsc-3.2/file/6e64ab10774d/src/snes/interface/snesut.c#l389">http://petsc.cs.iit.edu/petsc/releases/petsc-3.2/file/6e64ab10774d/src/snes/interface/snesut.c#l389</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks a lot</blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>