From: bangerth Date: Sun, 21 Jul 2013 23:56:00 +0000 (+0000) Subject: Update comment to match what we are currently doing. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46c5cd3c3f0a8a04386caf19d69998f0fa77947d;p=dealii-svn.git Update comment to match what we are currently doing. git-svn-id: https://svn.dealii.org/trunk@30083 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/tria.cc b/deal.II/source/grid/tria.cc index d55a04bedf..f43aaed205 100644 --- a/deal.II/source/grid/tria.cc +++ b/deal.II/source/grid/tria.cc @@ -12206,8 +12206,9 @@ void Triangulation::execute_coarsening () // deleted (if the latter are on a // higher level for example) // - // since we delete the *children* of cells, we only need to start - // considering cells on the second highest level, n_levels()-2. + // since we delete the *children* of cells, we can ignore cells + // on the highest level, i.e., level must be less than or equal + // to n_levels()-2. if (levels.size() >= 2) for (cell = last(); cell!=endc; --cell) if (cell->user_flag_set() && cell->level()<=static_cast(levels.size()-2))