From: wolf Date: Wed, 19 Apr 2000 12:06:40 +0000 (+0000) Subject: Take over fixes from 1.111->1.113 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952bbed9069d7430f1e65d1e974913d01d7d46e3;p=dealii-svn.git Take over fixes from 1.111->1.113 git-svn-id: https://svn.dealii.org/branches/Branch-3-0@2749 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index f7037b486e..94cd9f2d66 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -1236,7 +1236,7 @@ void Triangulation::distort_random (const double factor, }; -const unsigned int n_vertices = vertices.size(); + const unsigned int n_vertices = vertices.size(); Point shift_vector; for (unsigned int vertex=0; vertex::execute_refinement () { // now count the quads and lines which // were flagged for refinement - for (quad_iterator quad=begin_quad(); quad!=end_quad(); ++quad) + for (quad_iterator quad=begin_quad(level); quad!=end_quad(level); ++quad) if (quad->user_flag_set()) { Assert (quad->has_children() == false, ExcInternalError()); @@ -4396,7 +4396,7 @@ void Triangulation<3>::execute_refinement () { needed_vertices += 1; }; - for (line_iterator line=begin_line(); line!=end_line(); ++line) + for (line_iterator line=begin_line(level); line!=end_line(level); ++line) if (line->user_flag_set()) { Assert (line->has_children() == false, ExcInternalError()); @@ -4409,8 +4409,8 @@ void Triangulation<3>::execute_refinement () { // the next higher level const unsigned int used_cells = count_if (levels[level+1]->quads.used.begin(), - levels[level+1]->quads.used.end(), - bind2nd (equal_to(), true)); + levels[level+1]->quads.used.end(), + bind2nd (equal_to(), true)); // reserve space for the used_cells