From: Wolfgang Bangerth Date: Sun, 25 Oct 2009 02:47:44 +0000 (+0000) Subject: Avoid confusing people with cell->vertex(vertex). X-Git-Tag: v8.0.0~6874 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b5159d0100f22e5fc839d6774e7bb558f595b13;p=dealii.git Avoid confusing people with cell->vertex(vertex). git-svn-id: https://svn.dealii.org/trunk@19994 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-1/step-1.cc b/deal.II/examples/step-1/step-1.cc index 3b2b64a10d..8c78e1dd02 100644 --- a/deal.II/examples/step-1/step-1.cc +++ b/deal.II/examples/step-1/step-1.cc @@ -241,9 +241,9 @@ void second_grid () // numbers like a 4 that // needs to be replaced by an // 8: - for (unsigned int vertex=0; - vertex < GeometryInfo<2>::vertices_per_cell; - ++vertex) + for (unsigned int v=0; + v < GeometryInfo<2>::vertices_per_cell; + ++v) { // If this cell is at the // inner boundary, then @@ -266,7 +266,7 @@ void second_grid () // vertices and move on // to the next cell. const double distance_from_center - = center.distance (cell->vertex(vertex)); + = center.distance (cell->vertex(v)); if (std::fabs(distance_from_center - inner_radius) < 1e-10) {