From: bangerth Date: Mon, 29 Dec 2008 03:33:45 +0000 (+0000) Subject: Augment comments. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d60d3a6ae173aad53f37d31fc8698523a38b0e;p=dealii-svn.git Augment comments. git-svn-id: https://svn.dealii.org/trunk@18039 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fail/kelly_crash_01.cc b/tests/fail/kelly_crash_01.cc index 94be855210..5f7b4052bc 100644 --- a/tests/fail/kelly_crash_01.cc +++ b/tests/fail/kelly_crash_01.cc @@ -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::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); diff --git a/tests/fail/kelly_crash_02.cc b/tests/fail/kelly_crash_02.cc index 60de53c143..980532496e 100644 --- a/tests/fail/kelly_crash_02.cc +++ b/tests/fail/kelly_crash_02.cc @@ -12,10 +12,11 @@ //---------------------------- 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