From aa18494af27be99c895ed17d92e254e28ad6b1c8 Mon Sep 17 00:00:00 2001 From: kanschat Date: Sun, 14 Nov 2010 22:25:46 +0000 Subject: [PATCH] The purpose is solver, not cg git-svn-id: https://svn.dealii.org/trunk@22722 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-39/step-39.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-39/step-39.cc b/deal.II/examples/step-39/step-39.cc index e0cce96e4d..5cb4bf7758 100644 --- a/deal.II/examples/step-39/step-39.cc +++ b/deal.II/examples/step-39/step-39.cc @@ -686,7 +686,7 @@ Step39::solve() // The solver of choice is // conjugate gradient. SolverControl control(1000, 1.e-12); - SolverCG > cg(control); + SolverCG > solver(control); // Now we are setting up the // components of the multilevel @@ -762,7 +762,7 @@ Step39::solve() MGTransferPrebuilt > > preconditioner(mg_dof_handler, mg, mg_transfer); // and use it to solve the system. - cg.solve(matrix, solution, right_hand_side, preconditioner); + solver.solve(matrix, solution, right_hand_side, preconditioner); } // Here we compare our finite element -- 2.39.5