ometah-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[oMetah-devel] ometah/common itsPoint.hpp geometry.hpp logic.c...


From: Johann
Subject: [oMetah-devel] ometah/common itsPoint.hpp geometry.hpp logic.c...
Date: Mon, 21 Feb 2005 04:38:00 -0500

CVSROOT:        /cvsroot/ometah
Module name:    ometah
Branch:         
Changes by:     Johann <address@hidden> 05/02/21 09:37:59

Modified files:
        common         : itsPoint.hpp 
Added files:
        common         : geometry.hpp logic.cpp logic.hpp matrix.hpp 
                         random.cpp random.hpp string.hpp 

Log message:
        * add shared functions headers
        * and random functions code

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/geometry.hpp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/logic.cpp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/logic.hpp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/matrix.hpp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/random.cpp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/random.hpp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/string.hpp?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/common/itsPoint.hpp.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: ometah/common/itsPoint.hpp
diff -u ometah/common/itsPoint.hpp:1.2 ometah/common/itsPoint.hpp:1.3
--- ometah/common/itsPoint.hpp:1.2      Fri Feb  4 15:10:18 2005
+++ ometah/common/itsPoint.hpp  Mon Feb 21 09:37:59 2005
@@ -8,16 +8,16 @@
 
 /*
  *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
+ *  it under the terms of the GNU Lesser General Public License as published by
  *  the Free Software Foundation; either version 2 of the License, or
  *  (at your option) any later version.
  *
  *  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 Library General Public License for more details.
+ *  GNU Lesser General Public License for more details.
  *
- *  You should have received a copy of the GNU General Public License
+ *  You should have received a copy of the GNU Lesser 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.
  */
@@ -30,13 +30,26 @@
 /*! 
   A point is a value and a solution vector
 */
- class itsPoint
- {
- public:
-   //! the solution vector 
-   vector<double> solution;
-   //! the value vector
-   vector<double> values;
- }
+class itsPoint
+{
+protected:
+  //! the solution vector 
+  vector<double> solution;
+  //! the value vector
+  vector<double> values;
+
+public:
+  //! Get the solution vector
+  vector<double> getSolution();
+
+  //! Set the solution vector
+  void setSolution(vector<double> solution);
+  
+  //! Get the value vector
+  vector<double> getValues();
+ 
+  //! Set the value vector
+  void setValues(vector<double> values);
+}
  
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]