mod2asc96.cpp

Go to the documentation of this file.
00001 #include <iostream>
00002 #include <string>
00003 #include "SurfaceWaveModel.h"
00004 #include "Sdisp96Model.h"
00005 
00006 using namespace std;
00007 using namespace gplib;
00008 
00009 int main()
00010   {
00011     string infilename;
00012     
00013     cout << "Input file: ";
00014     cin >> infilename;
00015     string outfilename(infilename+".asc96");
00016     
00017     SurfaceWaveModel InFormat;
00018     InFormat.ReadModel(infilename);
00019     Sdisp96Model OutFormat(InFormat);
00020     
00021     OutFormat.WriteModel(outfilename);
00022   }
00023 

Generated on Tue May 4 16:52:14 2010 for GPLIB++ by  doxygen 1.5.8