]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Catch another possible EPS failure
authorToby D. Young <tyoung@ippt.pan.pl>
Sat, 10 Sep 2011 10:21:59 +0000 (10:21 +0000)
committerToby D. Young <tyoung@ippt.pan.pl>
Sat, 10 Sep 2011 10:21:59 +0000 (10:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@24300 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/slepc_solver.cc

index 0979b8386191d075c56c6ce4491e3fcc5f47bf2d..7ddd9b87974ddcb13ffeabf65b56ce5f4d02e591 100644 (file)
@@ -241,6 +241,8 @@ namespace SLEPcWrappers
       case ::dealii::SolverControl::failure:
        if (solver_control.last_step() > solver_control.max_steps())
          *reason = EPS_DIVERGED_ITS;
+       else
+         *reason = EPS_DIVERGED_BREAKDOWN;
        break;
 
       default:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.