From: wolf Date: Thu, 15 Apr 2004 16:27:21 +0000 (+0000) Subject: Loosen convergence criteria. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bb72cbc4e197a536051c296212ae95232f6f53d;p=dealii-svn.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); } }