From: Matthias Maier Date: Fri, 7 Jul 2023 06:30:47 +0000 (-0500) Subject: examples/step-40: use check_solver_within_range with pcout ostream X-Git-Tag: relicensing~728^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c209ca229484399b0996994e0a8e0b0aac8ba3b;p=dealii.git examples/step-40: use check_solver_within_range with pcout ostream --- diff --git a/tests/examples/step-40.diff b/tests/examples/step-40.diff index 465c92cf94..508d46f13f 100644 --- a/tests/examples/step-40.diff +++ b/tests/examples/step-40.diff @@ -25,11 +25,12 @@ 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), diff --git a/tests/examples/step-40.mpirun=2.with_p4est=true.with_petsc=true.output b/tests/examples/step-40.mpirun=2.with_p4est=true.with_petsc=true.output index 6bf5cce606..a96b3045a5 100644 --- a/tests/examples/step-40.mpirun=2.with_p4est=true.with_petsc=true.output +++ b/tests/examples/step-40.mpirun=2.with_p4est=true.with_petsc=true.output @@ -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