From: Guido Kanschat Date: Thu, 3 Nov 2005 19:18:20 +0000 (+0000) Subject: rename vertex number to something more intuitive to students X-Git-Tag: v8.0.0~12913 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ec604eabdfc628014a03baa2fa69888ffbf0fd;p=dealii.git rename vertex number to something more intuitive to students git-svn-id: https://svn.dealii.org/trunk@11700 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 8d2f18886b..ae3766bdf4 100644 --- a/deal.II/examples/step-1/step-1.cc +++ b/deal.II/examples/step-1/step-1.cc @@ -1,15 +1,12 @@ -/* $Id$ */ -/* Author: Wolfgang Bangerth, University of Heidelberg, 1999 */ - -/* $Id$ */ -/* Version: $Name$ */ -/* */ -/* Copyright (C) 1999, 2000, 2001, 2002, 2003 by the deal.II authors */ -/* */ -/* This file is subject to QPL and may not be distributed */ -/* without copyright and license information. Please refer */ -/* to the file deal.II/doc/license.html for the text and */ -/* further information on this license. */ +// $Id$ +// Version: $Name$ +// +// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors +// +// This file is subject to QPL and may not be distributed +// without copyright and license information. Please refer +// to the file deal.II/doc/license.html for the text and +// further information on this license. // The most fundamental class in the @@ -167,9 +164,9 @@ void second_grid () // by which we find out about // the number of faces of a // cell - for (unsigned int vertex=0; - vertex < GeometryInfo<2>::vertices_per_cell; - ++vertex) + for (unsigned int ivertex=0; + ivertex < GeometryInfo<2>::vertices_per_cell; + ++ivertex) { // If this cell is at the // inner boundary, then @@ -178,7 +175,7 @@ void second_grid () // distance from the center // of 0.5 const Point<2> vector_to_center - = (cell->vertex(vertex) - center); + = (cell->vertex(ivertex) - center); const double distance_from_center = std::sqrt(vector_to_center.square());