rwsurface.cpp

Go to the documentation of this file.
00001 #include "SurfaceWaveModel.h"
00002 #include <iostream>
00003 #include <string>
00004 
00005 using namespace std;
00006 
00007 int main()
00008 {
00009         SurfaceWaveModel Model;
00010         string filename;
00011         cout << "Filename: ";
00012         cin >> filename;
00013         std::vector<double> periods;
00014         periods.push_back(10);
00015         periods.push_back(350);
00016         Model.ReadModel(filename);
00017         Model.WriteModel(filename+".run.mod");
00018         Model.WriteRunFile(filename+".run",periods);
00019 }

Generated on Mon Sep 15 12:54:34 2008 for GPLIB++ by  doxygen 1.5.5