]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Adapt test file for Trilinos IC precondition 8158/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 14 May 2019 09:10:03 +0000 (11:10 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 14 May 2019 09:12:48 +0000 (11:12 +0200)
tests/trilinos/precondition.cc
tests/trilinos/precondition.output

index d10907f29d9232c0ec8527c4753b44b433188288..4217a9aa5106d6d096814ff997f3f18df1230e07 100644 (file)
@@ -332,7 +332,7 @@ Step4<dim>::solve(int cycle)
 
   {
     deallog.push("IC");
-    static constexpr std::array<unsigned int, 2> lower{49, 67};
+    static constexpr std::array<unsigned int, 2> lower{48, 67};
     TrilinosWrappers::PreconditionIC             preconditioner;
     solution = 0;
     SolverControl solver_control(1000, 1e-10);
@@ -342,7 +342,7 @@ Step4<dim>::solve(int cycle)
       solver.solve(system_matrix, solution, system_rhs, preconditioner),
       solver_control.last_step(),
       lower[cycle],
-      lower[cycle] + 4);
+      lower[cycle] + 5);
     deallog.pop();
   }
 
index 8588ae8470af4668e4965f669adad9e46e4f80fd..703ee62efa7b237f6bd4ef798b6f04c67239c78d 100644 (file)
@@ -16,7 +16,7 @@ DEAL:04225:SOR::Solver stopped within 62 - 64 iterations
 DEAL:04225:BlockJacobi::Solver stopped within 145 - 147 iterations
 DEAL:04225:BlockSSOR::Solver stopped within 59 - 61 iterations
 DEAL:04225:BlockSOR::Solver stopped within 37 - 39 iterations
-DEAL:04225:IC::Solver stopped within 67 - 71 iterations
+DEAL:04225:IC::Solver stopped within 67 - 72 iterations
 DEAL:04225:ILU::Solver stopped within 56 - 58 iterations
 DEAL:04225:ILUT::Solver stopped within 19 - 21 iterations
 DEAL:04225:Chebyshev::Solver stopped within 46 - 48 iterations

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.