[petsc-users] snes converged reason for newton trust region?

Matthew Knepley knepley at gmail.com
Mon Aug 5 12:09:52 CDT 2019


On Mon, Aug 5, 2019 at 12:36 PM Smith, Barry F. via petsc-users <
petsc-users at mcs.anl.gov> wrote:

>
>   Yes, this is a bug. We previously declared a tiny trust region as
> converged but in fact it is not diverged. In the master branch  it now
> comes up as a negative value in indicating diverging of the nonlinear
> solver. Sorry for the confusion.
>

Barry, you have to put in a deprecation entry for that change so that it
does not break compiles.

  Thanks,

     Matt


>    Barry
>
>
> > On Aug 5, 2019, at 10:38 AM, Fande Kong via petsc-users <
> petsc-users at mcs.anl.gov> wrote:
> >
> > I have zero experience on the trust region Newton. I would like PETSc
> Team  chime in.
> >
> > Fande,
> >
> > On Mon, Aug 5, 2019 at 9:34 AM Gary Hu <hugary1995 at gmail.com> wrote:
> > Hello Group,
> >
> > When I use -snes_type newtontr
> >
> > I sometimes get CONVERGED_TR_DELTA instead of CONVERGED_FNORM.
> >
> > My guess is that the trust region size keeps reducing until it becomes
> smaller than the tolerance.
> >
> > Is there a way to force the algorithm to converge only due to FNORM?
> >
> > Thanks,
> > Gary
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "moose-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to moose-users+unsubscribe at googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/moose-users/f1aa52c1-b146-4703-91f4-a034cbe6be3b%40googlegroups.com
> .
>
>

-- 
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

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190805/9757e8f6/attachment.html>


More information about the petsc-users mailing list