]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix another comment that was no longer accurate.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Jan 2014 03:37:14 +0000 (03:37 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 Jan 2014 03:37:14 +0000 (03:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@32185 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/distributed/grid_refinement.cc

index c727e27db30709a09299d22a6242dc891f007d14..f7f185ff4e1289f53ce5bf783c16f2e625fdc44b 100644 (file)
@@ -315,28 +315,15 @@ namespace
           else
             interesting_range[0] = interesting_range[1] = test_threshold;
 
-          // terminate the iteration
-          // after 10 go-arounds. this
-          // is necessary because
-          // oftentimes error
-          // indicators on cells have
-          // exactly the same value,
-          // and so there may not be a
-          // particular value that cuts
-          // the indicators in such a
-          // way that we can achieve
-          // the desired number of
-          // cells. using a max of 10
-          // iterations means that we
-          // terminate the iteration
-          // after 10 steps if the
-          // indicators were perfectly
-          // badly distributed, and we
-          // make at most a mistake of
-          // 1/2^10 in the number of
-          // cells flagged if
-          // indicators are perfectly
-          // equidistributed
+          // terminate the iteration after 25 go-arounds. this is necessary
+          // because oftentimes error indicators on cells have exactly the
+          // same value, and so there may not be a particular value that cuts
+          // the indicators in such a way that we can achieve the desired
+          // number of cells. using a maximal number of iterations means that
+          // we terminate the iteration after a fixed number N of steps if the
+          // indicators were perfectly badly distributed, and we make at most
+          // a mistake of 1/2^N in the number of cells flagged if indicators
+          // are perfectly equidistributed
           ++iteration;
           if (iteration == 25)
             interesting_range[0] = interesting_range[1] = test_threshold;

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.