]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also do what I just did in step-20
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 Feb 2008 14:50:13 +0000 (14:50 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 Feb 2008 14:50:13 +0000 (14:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@15783 0785d39b-7218-0410-832d-ea1e28bc413d

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

index c6745dc69ccf00667f9b3589da2f09f39f55d9bd..a68dafb6f870e6115dc8550845c7c5ce8112e1b3 100644 (file)
@@ -527,9 +527,8 @@ template <class Matrix>
 void InverseMatrix<Matrix>::vmult (Vector<double>       &dst,
                                    const Vector<double> &src) const
 {
-  SolverControl         solver_control (src.size(), 1e-8*src.l2_norm());
-  GrowingVectorMemory<> vector_memory;    
-  SolverCG<>            cg (solver_control, vector_memory);
+  SolverControl solver_control (src.size(), 1e-8*src.l2_norm());
+  SolverCG<>    cg (solver_control, vector_memory);
 
   dst = 0;
   

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.