From 6ec61508d71b142e716227081e8424a2565f6818 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 21 Jun 2004 09:12:24 +0000 Subject: Renamed local variable 'index' to 'vindex' to get rid of gcc compiler warnings about naming variables after global functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusWave/IDScalarWaveCXX/trunk@40 7ec00dc9-1e7a-42ad-bf73-a299ee168e72 --- src/InitialData.cc | 94 +++++++++++++++++++++++++----------------------------- 1 file changed, 44 insertions(+), 50 deletions(-) diff --git a/src/InitialData.cc b/src/InitialData.cc index d5c6682..57c4aab 100644 --- a/src/InitialData.cc +++ b/src/InitialData.cc @@ -1,16 +1,17 @@ /*@@ - @file InitialData.cc - @date - @author Werner Benger - @desc - Initial data for the 3D Wave Equation - Derived from Tom Goodale - @enddesc + @file InitialData.cc + @date + @author Werner Benger + @desc + Initial data for the 3D Wave Equation + Derived from Tom Goodale + @enddesc + @version $Id$ @@*/ #include -#include "cctk.h" +#include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" @@ -27,20 +28,17 @@ inline CCTK_REAL sqr(CCTK_REAL val) /*@@ @routine IDScalarWave_InitialData - @date + @date @author Tom Goodale - @desc + @desc Set up initial data for the wave equation - @enddesc - @calls - @calledby - @history + @enddesc + @history @hdate Mon Oct 11 11:48:03 1999 @hauthor Werner Benger @hdesc Converted to C++ @hdate Mon Oct 11 11:48:20 1999 @hauthor Tom Goodale @hdesc Added the rest of the initial data. - @endhistory - + @endhistory @@*/ extern "C" void IDScalarWaveCXX_InitialData(CCTK_ARGUMENTS) @@ -59,14 +57,13 @@ extern "C" void IDScalarWaveCXX_InitialData(CCTK_ARGUMENTS) for(int j=0; j