[petsc-dev] SNES_DIVERGED_USER ?

Fande Kong fdkong.jd at gmail.com
Thu Dec 3 14:12:07 CST 2020


I agreed that SNES_DIVERGED_OSCILLATORY would even better.

SNES_DIVERGED_USER will be still useful in the future in case we have some
user-designed divergence criteria.

Thanks,

Fande

On Thu, Dec 3, 2020 at 1:07 PM Matthew Knepley <knepley at gmail.com> wrote:

> On Thu, Dec 3, 2020 at 2:27 PM Alexander Lindsay <alexlindsay239 at gmail.com>
> wrote:
>
>> Would you guys support addition of a `SNES_DIVERGED_USER` to
>> `SNESConvergedReason`? We already have `SNES_LINESEARCH_FAILED_USER`, so I
>> think there is some precedent. The motivator is here:
>> https://github.com/idaholab/moose/pull/16377. None of the current
>> options fit the reason we want to error, and this is truly a user criterion
>> for considering the nonlinear solve diverged.
>>
>
> We can definitely add something. Why would it not be
> SNES_DIVERGED_OSCILLATORY?
>
>   Thanks,
>
>      Matt
>
>
>> Alex
>>
> --
> 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-dev/attachments/20201203/da03354d/attachment.html>


More information about the petsc-dev mailing list