]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Augment comments.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Dec 2008 03:33:45 +0000 (03:33 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Dec 2008 03:33:45 +0000 (03:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@18039 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fail/kelly_crash_01.cc
tests/fail/kelly_crash_02.cc

index 94be855210e5c218957afa2ec90e9b3fd24cfc82..5f7b4052bc601c0c5e8e48f4836cf8d3d2d1f693 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2006, 2007 by the deal.II authors
+//    Copyright (C) 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -12,7 +12,7 @@
 //----------------------------  kelly_crash_01.cc  ---------------------------
 
 
-// a modified version of step-27 that crashes because of circular constraints.
+// a modified version of step-27 that crashes due to circular constraints
 
 char logname[] = "kelly_crash_01/output";
 
@@ -808,7 +808,9 @@ void LaplaceProblem<3>::create_coarse_grid ()
     for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
       if ((cell->face(f)->center()[2] != -4)
          &&
-         (cell->face(f)->center()[2] != 7))
+         (cell->face(f)->center()[2] != 7)
+         &&
+         (cell->face(f)->at_boundary()))
        cell->face(f)->set_boundary_indicator (1);
   
   triangulation.refine_global (1);
index 60de53c1433cbca9e385937893490c5908c6deb3..980532496e3abaacbc29d57d5d835a5f43b3e666 100644 (file)
 //----------------------------  kelly_crash_02.cc  ---------------------------
 
 
-// like kelly_crash_01 but much reduced. it turned out that
-// cell->face(f)->at_boundary() and cell->at_boundary(f) did not always return
-// the same thing, although they of course should. as a result, the
-// KellyErrorEstimator forgot to work on certain faces
+// like kelly_crash_01 (which has since been renamed circular_01 because it
+// continued to fail, though for other reasons) but much reduced. it turned
+// out that cell->face(f)->at_boundary() and cell->at_boundary(f) did not
+// always return the same thing, although they of course should. as a result,
+// the KellyErrorEstimator forgot to work on certain faces
 //
 // the problem turned out to be that we were setting a boundary indicator for
 // an interior face. while cell->face(f)->at_boundary() checks for a boundary

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.