From 80d36d88ea5730d6118619811451b76a458fc571 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 29 Sep 2011 02:11:57 +0000 Subject: [PATCH] Use the right vector's norm as a stopping criterion. git-svn-id: https://svn.dealii.org/trunk@24460 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 208aba2b4f..5051fe2b56 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -318,7 +318,7 @@ namespace Step32 if (do_solve_A == true) { - SolverControl solver_control(5000, src.l2_norm()*1e-2); + SolverControl solver_control(5000, utmp.l2_norm()*1e-2); TrilinosWrappers::SolverCG solver(solver_control); solver.solve(stokes_matrix->block(0,0), dst.block(0), utmp, a_preconditioner); -- 2.39.5