]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Some small changes.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 11 Feb 2006 00:39:48 +0000 (00:39 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 11 Feb 2006 00:39:48 +0000 (00:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@12312 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-20/step-20.cc

index 53ad633f25819a76ca9d222a3b78caa6b476282c..4c92daa0efd98c60bee88e47c563d913a123b4b5 100644 (file)
@@ -483,9 +483,8 @@ class SchurComplement
                                                 1e-8*tmp1.l2_norm());
         SolverCG<>              cg (solver_control, vector_memory);
 
-        PreconditionSSOR<> precondition;
-        precondition.initialize(A.block(0,0));
-        cg.solve (A.block(0,0), tmp2, tmp1, precondition);
+        cg.solve (A.block(0,0), tmp2, tmp1,
+                 PreconditionIdentity());
 
         std::cout << "     " << solver_control.last_step()
                   << " inner iterations needed to obtain convergence."

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.