preconditioner(system_matrix,
PETScWrappers::PreconditionBoomerAMG::AdditionalData(true));
- solver.solve (system_matrix, completely_distributed_solution, system_rhs,
- preconditioner);
+ check_solver_within_range(
+ solver.solve (system_matrix, completely_distributed_solution, system_rhs,
+ preconditioner),
+ solver_control.last_step(), 10, 10);
pcout << " Solved in " << solver_control.last_step()
<< " iterations." << std::endl;
104+100+104+100+104+104+100+104+100+104+
Number of degrees of freedom: 4225
465+416+432+416+416+432+416+416+400+416+
-DEAL:mpi::Starting value 0.695309
-DEAL:mpi::Convergence step 10 value 0
+DEAL:mpi::Solver stopped within 10 - 10 iterations
Solved in 10 iterations.
Cycle 1:
408+412+408+412+408+408+412+408+412+408+
Number of degrees of freedom: 16641
1729+1680+1664+1680+1632+1664+1680+1632+1648+1632+
-DEAL:mpi::Starting value 1.38018
-DEAL:mpi::Convergence step 10 value 0
+DEAL:mpi::Solver stopped within 10 - 10 iterations
Solved in 10 iterations.
340+344+340+
Number of degrees of freedom: 4225
1453+1412+1360+
-DEAL:mpi::Starting value 0.694820
-DEAL:mpi::Convergence step 10 value 0
+DEAL:mpi::Solver stopped within 10 - 10 iterations
Solved in 10 iterations.
Cycle 1:
1364+1368+1364+
Number of degrees of freedom: 16641
5645+5540+5456+
-DEAL:mpi::Starting value 1.38638
-DEAL:mpi::Convergence step 10 value 0
+DEAL:mpi::Solver stopped within 10 - 10 iterations
Solved in 10 iterations.
256+256+256+256+
Number of degrees of freedom: 4225
1089+1056+1056+1024+
-DEAL:mpi::Starting value 0.694817
-DEAL:mpi::Convergence step 10 value 0
+DEAL:mpi::Solver stopped within 10 - 10 iterations
Solved in 10 iterations.
Cycle 1:
1024+1024+1024+1024+
Number of degrees of freedom: 16641
4225+4160+4160+4096+
-DEAL:mpi::Starting value 1.39777
-DEAL:mpi::Convergence step 10 value 0
+DEAL:mpi::Solver stopped within 10 - 10 iterations
Solved in 10 iterations.