]> https://gitweb.dealii.org/ - dealii.git/commitdiff
examples/step-40: use check_solver_within_range with pcout ostream 15675/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 7 Jul 2023 06:30:47 +0000 (01:30 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 7 Jul 2023 06:30:47 +0000 (01:30 -0500)
tests/examples/step-40.diff
tests/examples/step-40.mpirun=2.with_p4est=true.with_petsc=true.output

index 465c92cf9447aa45e4e118824ad17283136f33f4..508d46f13fa097b8905ab872432df33c30af54fa 100644 (file)
   
       constraints.distribute(completely_distributed_solution);
   
---- 494,506 ----
+--- 494,507 ----
       LA::MPI::PreconditionAMG preconditioner;
       preconditioner.initialize(system_matrix, data);
   
-!     check_solver_within_range(solver.solve(system_matrix,
+!     check_solver_within_range(pcout,
+!                               solver.solve(system_matrix,
 !                                            completely_distributed_solution,
 !                                            system_rhs,
 !                                            preconditioner),
index 6bf5cce606c141b2f3bbb26fdae0b70ef01ac292..a96b3045a581c5f8c6ede963174f88cef6c14783 100644 (file)
@@ -3,17 +3,14 @@ Cycle 0:
    Number of active cells:       1024
    Number of degrees of freedom: 4225
 Solver stopped within 8 - 15 iterations
-Solver stopped within 8 - 15 iterations
 
 Cycle 1:
    Number of active cells:       1960
    Number of degrees of freedom: 8421
 Solver stopped within 8 - 15 iterations
-Solver stopped within 8 - 15 iterations
 
 Cycle 2:
    Number of active cells:       3658
    Number of degrees of freedom: 16109
 Solver stopped within 8 - 15 iterations
-Solver stopped within 8 - 15 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.