11 string version
= "$Id: writevtk.cpp 1849 2010-05-07 11:53:45Z mmoorkamp $"
<< " This is writevtk, convert Mackie or WinGlink model files to vtk format for display"
<< " Output format is legacy VTK format, ending '.vtk' is appended to output"
cout << " This is Version: "
<< endl << endl;
infilename = AskFilename("Modelfile: "
cout << "Type 1 for old Mackie, 2 for Winglink: "
cout << "Outfile root: "
(outfilename + ".vtk"
cerr << e.what() << endl;
void ReadMackie(std::string filename)
Read an ascii file in the format use by Mackie's old code.
void WriteNetCDF(std::string filename)
Write the model in netcdf format.
The class 3DMTModel manages 3D models for magnetotelluric model calculations, at this point this is o...
void ReadWinGLink(std::string filename)
Read an ascii file in the format written by WinGLink.
void WriteVTK(std::string filename)
Write an ascii file in .vtk format for plotting.
The basic exception class for all errors that arise in gplib.