Skip to content

[SNES] Use SNESGetConvergedReasonString

wenqing requested to merge wenqing/ogs:minor_bug into master

According to @chleh's suggestion, this MR uses SNESGetConvergedReasonString instead of SNESGetConvergedReason in order to have so called human readable convergence reason. With the change, the SNES convergence reasons in the log file look like:

info: PETScSNES converged reason: CONVERGED_FNORM_RELATIVE
...
info: PETScSNES diverged reason: DIVERGED_DTOL
  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behaviour change was documented?
Edited by wenqing

Merge request reports