]> https://gitweb.dealii.org/ - dealii.git/commitdiff
petsc/solver_02: Make range more forgiving 6130/head
authorMatthias Maier <tamiko@43-1.org>
Sat, 31 Mar 2018 16:30:38 +0000 (11:30 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sat, 31 Mar 2018 16:30:38 +0000 (11:30 -0500)
Depending on the PETSc version the solver takes roughly between 1069 and
1141 cycles. Just check for a genereous number of cycles (between 1050
and 1150).

tests/petsc/solver_02.cc
tests/petsc/solver_02.output

index 4762f5cb827ed9cb6564e9e07d32f77aafe012e4..e954c5aa3bc6c027d0521278563bd6b8f0e01985 100644 (file)
@@ -61,6 +61,6 @@ int main(int argc, char **argv)
 
     check_solver_within_range(
       solver.solve(A,u,f, preconditioner),
-      control.last_step(), 1120, 1141);
+      control.last_step(), 1050, 1150);
   }
 }
index ebc88af9f1aedf38df6b9958490d183604f700f1..bd1cb4b43a207d9737e145d6b187934466b9eecd 100644 (file)
@@ -1,3 +1,3 @@
 
 DEAL::Size 32 Unknowns 961
-DEAL::Solver stopped within 1120 - 1141 iterations
+DEAL::Solver stopped within 1050 - 1150 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.