Changeset 807 in Sophya for trunk/SophyaProg/Tests/tobjio.cc


Ignore:
Timestamp:
Apr 3, 2000, 7:44:06 PM (25 years ago)
Author:
ansari
Message:

Amelioration tests - Adaptation modifs TArray<T>,PPersist - Reza 03/04/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tobjio.cc

    r768 r807  
    1414#include "fmath.h"
    1515#include "nbrandom.h"
     16#include "fioarr.h"
    1617
    1718
     
    9697  for(i=0; i<20; i++) { x = 8.*i/20;  (*vpx)(i) = x;  (*vpy)(i) = 3*cos(x)+2*sin(x); }
    9798  nom = "vx1";
    98   FIO_TVector<double>  oiov1(vpx);
     99  FIO_TArray<double>  oiov1(vpx);
    99100  oiov1.Write(so, nom);
    100101  cout << "Writing " << nom << endl;
    101102  nom = "vy1";
    102   FIO_TVector<double>  oiov2(vpy);
     103  FIO_TArray<double>  oiov2(vpy);
    103104  oiov2.Write(so, nom);
    104105  cout << "Writing " << nom << endl;
     
    106107  for(i=0; i<30; i++) { x = 8.*i/30+0.1;  (*vpx)(i) = sin(2.*x)/(2.*x); }
    107108  nom = "vx2";
    108   FIO_TVector<double>  oiov3(vpy);
     109  FIO_TArray<double>  oiov3(vpy);
    109110  oiov3.Write(so, nom);
    110111  cout << "Writing " << nom << endl;
     
    163164     }
    164165  nom = "mtx1";
    165   FIO_TMatrix<double> oiom(mtx);
     166  FIO_TArray<double> oiom(mtx);
    166167  oiom.Write(so, nom);
    167168  cout << "Writing " << nom << endl;
Note: See TracChangeset for help on using the changeset viewer.