]> https://gitweb.dealii.org/ - dealii.git/commitdiff
ArpackSolver sets number of iterations in SolverControl after finishing calculations
authorRoland <roland.richter@ntnu.no>
Fri, 11 Oct 2019 14:41:48 +0000 (16:41 +0200)
committerRoland <roland.richter@ntnu.no>
Fri, 11 Oct 2019 14:41:48 +0000 (16:41 +0200)
include/deal.II/lac/arpack_solver.h

index a9535987a038a8738a8a1ba577cae1ef2c9670d4..50fc15f3ca3dc452708ddeb825e7f68d183810e6 100644 (file)
@@ -764,6 +764,8 @@ ArpackSolver::solve(const MatrixType1 & /*system_matrix*/,
             break;
         }
     }
+    
+    control().check(iparam[2], 0.);
 
   if (info < 0)
     {

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.