]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix an oversight in the number of iterations.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Dec 2008 22:48:32 +0000 (22:48 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Dec 2008 22:48:32 +0000 (22:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@17869 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_generator.cc
deal.II/doc/news/changes.h

index 6ab34fb45c83ba36d058ff4f3834ba1391676887..abf8c70ad024ef62fa37b1e8df91a5ca3df3fdc3 100644 (file)
@@ -2397,7 +2397,7 @@ void GridGenerator::laplace_solve (const SparseMatrix<double> &S,
   prec.initialize(S, 1.2);
   FilteredMatrix<Vector<double> > PF (prec);
   
-  SolverControl control (1000, 1.e-10, false, false);
+  SolverControl control (n_dofs, 1.e-10, false, false);
   GrowingVectorMemory<Vector<double> > mem;
   SolverCG<Vector<double> > solver (control, mem);
   
index 3ec4087b257c45b75a81dee451597b1037cedafb..58b51176534ab1cbc8868d0573fdd0a61ff7a37a 100644 (file)
@@ -526,6 +526,16 @@ inconvenience this causes.
 <h3>deal.II</h3>
 
 <ol>
+  <li>
+  <p>
+  Fixed: The GridGenerator::laplace_transform would only do at most 1000
+  iterations in its solver, irrespective of the actual number of nodes to
+  be moved around. This is now fixed: the maximum number now equals the
+  number of nodes.
+  <br>
+  (Luca D'Auria 2008/12/05)
+  </p>
+
   <li>
   <p>
   New: The function DoFTools::make_zero_boundary_constraints() computes the

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.