4 #include <boost/multi_array.hpp>
24 int LookupIndex(
const double resistivity);
25 double LookupResistivity(
const int index);
t3DModelRes Resistivities
const t3DModelDim & GetZSizes()
Get the cell sizes in z-direction (down) in m.
void SetAirlayers(const int n)
Set the number of air layers in the model.
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.
std::vector< double > t3DModelRes
std::vector< double > t3DModelDim
const t3DModelDim & GetXSizes()
Get the cell sizes in x-direction (North) in m.
boost::multi_array< int, 3 > t3DModelData
void WriteMackie(std::string filename)
Write an ascii file in the format use by Mackie's old code.
The class 3DMTModel manages 3D models for magnetotelluric model calculations, at this point this is o...
const t3DModelDim & GetYSizes()
Get the cell sizes in y-direction (East) in m.
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.
int GetAirlayers()
Return the number of air layers in the model.
const t3DModelData & GetModel()
Return a three dimensional multi-array with the indices of the resistivity values in each model cell...
void WriteWinGLink(std::string filename)
Write an ascii file in the format written by WinGLink.
const t3DModelRes & GetResistivities()
Return the table of resistivity values that correspond to the index values in GetModel.