On Mon, Dec 26, 2011 at 7:35 AM, behzad baghapour < behzad.baghapour at gmail.com> wrote:
> I want to check the condition: fn < atol, else, continuous SNES iteration > until reach the maximum iterations. So, How should I set the return value? > PetscFunctionReturn(0); http://petsc.cs.iit.edu/petsc/releases/petsc-3.2/file/6e64ab10774d/src/snes/interface/snesut.c#l389 > Thanks a lot -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111226/ae18e5f4/attachment.htm>
