r90: Convert MPI structure to C++ class
[ctsim.git] / include / array2d.h
index 8d7cf4e3c4f3c577ebef27db3669ba17fb98cbc7..30b92d474d264b6025bc79bcaa7e7f6cda808f92 100644 (file)
@@ -1,3 +1,34 @@
+/*****************************************************************************
+** FILE IDENTIFICATION
+**
+**     Name:         array2d.h
+**      Purpose:      2-dimension array classes
+**     Programmer:   Kevin Rosenberg
+**     Date Started: June 2000
+**
+**  This is part of the CTSim program
+**  Copyright (C) 1983-2000 Kevin Rosenberg
+**
+**  $Id: array2d.h,v 1.3 2000/06/09 01:35:33 kevin Exp $
+**  $Log: array2d.h,v $
+**  Revision 1.3  2000/06/09 01:35:33  kevin
+**  Convert MPI structure to C++ class
+**
+**
+**  This program is free software; you can redistribute it and/or modify
+**  it under the terms of the GNU General Public License (version 2) as
+**  published by the Free Software Foundation.
+**
+**  This program is distributed in the hope that it will be useful,
+**  but WITHOUT ANY WARRANTY; without even the implied warranty of
+**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+**  GNU General Public License for more details.
+**
+**  You should have received a copy of the GNU General Public License
+**  along with this program; if not, write to the Free Software
+**  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+******************************************************************************/
+
 #ifndef ARRAY2D_H
 #define ARRAY2D_H
 
@@ -19,7 +50,7 @@ class Array2d {
            ny = y;
            array_data = new T*[nx];
            
-           for (int i = 0; i < nx; i++)
+           for (unsigned int i = 0; i < nx; i++)
                array_data[i] = new T[ny];
        }