]> https://gitweb.dealii.org/ - dealii.git/commitdiff
The regression test shows that step-9 converges in 1046 (not the expected 1049) itera... 17099/head
authorVladimir Yushutin <vyushut@clemson.edu>
Mon, 3 Jun 2024 16:32:07 +0000 (12:32 -0400)
committerVladimir Yushutin <vyushut@clemson.edu>
Mon, 3 Jun 2024 16:32:07 +0000 (12:32 -0400)
tests/examples/step-9.diff
tests/examples/step-9.output

index 9d35d72c6c822dd7b240a29539ded6358fcdcfb0..4f4c15a979378b16dc738227cafb589959350ffa 100644 (file)
@@ -1,8 +1,28 @@
-850c850
+49a49
+> #include "../example_test.h"
+762c762,766
+<     solver.solve(system_matrix, solution, system_rhs, preconditioner);
+---
+>     check_solver_within_range(std::cout,
+>                         solver.solve(system_matrix, solution, system_rhs, preconditioner),
+>                         solver_control.last_step(),
+>                         335,
+>                         1050);
+766,769c770,773
+<     std::cout << "   Iterations required for convergence: "
+<               << solver_control.last_step() << '\n'
+<               << "   Norm of residual at convergence:     "
+<               << solver_control.last_value() << '\n';
+---
+>     //std::cout << "   Iterations required for convergence: "
+>     //          << solver_control.last_step() << '\n'
+>     //          << "   Norm of residual at convergence:     "
+>     //          << solver_control.last_value() << '\n';
+850c854
 <     for (unsigned int cycle = 0; cycle < 10; ++cycle)
 ---
 >     for (unsigned int cycle = 0; cycle < 5; ++cycle)
-875c875
+875c879
 <         output_results(cycle);
 ---
 >       //output_results(cycle);
index 88a8d98f9bd704068df71e10865e974745de03db..7e36a62fba054684c9a2a0540b8769ab599790f6 100644 (file)
@@ -1,25 +1,20 @@
 Cycle 0:
    Number of active cells:              64
    Number of degrees of freedom:        1681
-   Iterations required for convergence: 338
-   Norm of residual at convergence:     2.91757e-11
+Solver stopped within 335 - 1050 iterations
 Cycle 1:
    Number of active cells:              121
    Number of degrees of freedom:        3436
-   Iterations required for convergence: 448
-   Norm of residual at convergence:     2.40051e-11
+Solver stopped within 335 - 1050 iterations
 Cycle 2:
    Number of active cells:              238
    Number of degrees of freedom:        6487
-   Iterations required for convergence: 535
-   Norm of residual at convergence:     2.06943e-11
+Solver stopped within 335 - 1050 iterations
 Cycle 3:
    Number of active cells:              481
    Number of degrees of freedom:        13510
-   Iterations required for convergence: 669
-   Norm of residual at convergence:     1.39588e-11
+Solver stopped within 335 - 1050 iterations
 Cycle 4:
    Number of active cells:              958
    Number of degrees of freedom:        26137
-   Iterations required for convergence: 1049
-   Norm of residual at convergence:     1.19601e-11
+Solver stopped within 335 - 1050 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.