From 4b5159d0100f22e5fc839d6774e7bb558f595b13 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 25 Oct 2009 02:47:44 +0000 Subject: [PATCH] Avoid confusing people with cell->vertex(vertex). git-svn-id: https://svn.dealii.org/trunk@19994 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-1/step-1.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.39.5