From: Wolfgang Bangerth Date: Thu, 15 Apr 2004 16:27:21 +0000 (+0000) Subject: Loosen convergence criteria. X-Git-Tag: v8.0.0~15337 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca4e95147bb5bd1d75d086240c6b32ec65ddbc6;p=dealii.git Loosen convergence criteria. git-svn-id: https://svn.dealii.org/trunk@9012 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-17/step-17.cc b/deal.II/examples/step-17/step-17.cc index 75360524d0..aac7365654 100644 --- a/deal.II/examples/step-17/step-17.cc +++ b/deal.II/examples/step-17/step-17.cc @@ -770,7 +770,8 @@ unsigned int ElasticProblem::solve () // number of blocks on the diagonal and the // preconditioner is the ILU(0) of each of // these blocks. - SolverControl solver_control (1000, 1e-10); + SolverControl solver_control (solution.size(), + 1e-8*system_rhs.l2_norm()); PETScWrappers::SolverCG cg (solver_control, mpi_communicator); @@ -1248,7 +1249,7 @@ void ElasticProblem::run () if (this_mpi_process == 0) std::cout << " Solver converged in " << n_iterations << " iterations." << std::endl; - + output_results (cycle); } }