GPLIB++
|
Calculate response of a 1D anisotropic model, code is based on Pek and Santos fortran code. More...
#include <C1DAnisoMTSynthData.h>
Public Member Functions | |
void | SetStrikes (const trealdata &a) |
Set the anisotropy strike for each layer in degree. More... | |
void | SetSlants (const trealdata &a) |
Set the anisotropy slant for each layer in degree. More... | |
void | SetDips (const trealdata &a) |
Set the anisotropy dip for each layer in degree. More... | |
void | SetRho1 (const trealdata &a) |
Set the first principal resistivity for each layer in Ohm.m. More... | |
void | SetRho2 (const trealdata &a) |
Set the second principal resistivity for each layer in Ohm.m. More... | |
void | SetRho3 (const trealdata &a) |
Set the first principal resistivity for each layer in Ohm.m. More... | |
void | SetThicknesses (const trealdata &thick) |
Set the thicknes in km. More... | |
const trealdata & | GetThicknesses () |
virtual void | GetData () |
Calculate the synthetic data given the previously set parameters. More... | |
gplib::rvec | GetModelVector () |
write model into file More... | |
void | WriteModel (std::string filename) |
void | ReadModel (std::string filename) |
void | WritePlot (std::string filename) |
virtual C1DAnisoMTSynthData * | clone () const |
for parallel runs we need to make a copy of the object and its derived classes More... | |
C1DAnisoMTSynthData (const C1DAnisoMTSynthData &old) | |
C1DAnisoMTSynthData () | |
virtual | ~C1DAnisoMTSynthData () |
Public Member Functions inherited from gplib::MTStation | |
void | AssignAll (const int nfreq) |
void | Rotate (const double rotangle) |
void | Rotate (void) |
Rotate to zero rotation angle. More... | |
trealdata | GetFrequencies () const |
return the available frequencies in a single vector More... | |
void | SetFrequencies (const trealdata &freqs) |
Set the frequencies of the tensor elements, invalidates the previously stored impedance data, mainly for creating synthetic data. More... | |
double | GetLatitude () const |
access funtion for Latitude More... | |
void | SetLatitude (double lat) |
double | GetLongitude () const |
void | SetLongitude (double lon) |
double | GetElevation () const |
std::string | GetName () |
double | GetAzimuth () const |
const MTTensor & | at (const unsigned int i) const |
direct acces to a tensor at a given index More... | |
const std::vector< MTTensor > & | GetMTData () const |
Get the full vector of Tensor elements read only. More... | |
std::vector< MTTensor > & | SetMTData () |
Get the full vector of Tensor elements for reading and writing. More... | |
MTStation & | operator= (const MTStation &source) |
MTStation () | |
MTStation (const MTStation &old) | |
MTStation (const int size) | |
MTStation (const std::string filename) | |
virtual | ~MTStation () |
virtual void | GetData (const std::string filename) |
read in data from file, determines format by ending More... | |
virtual void | WriteData (const std::string filename) |
void | WriteAsMtt (const std::string filename) |
Write data in goettingen .mtt format. More... | |
void | WriteAsEdi (const std::string filename) |
Write data as edi (no functionality yet) More... | |
void | WriteAsJ (const std::string filename) |
Write data to j-file. More... | |
void | WriteBack () |
Write data back in original format, with filename given by station name. More... | |
Additional Inherited Members | |
Public Types inherited from gplib::MTStation | |
enum | tmtdataformat { unknown, mtt, j, edi, pek, nc, zmm, mtf } |
Protected Member Functions inherited from gplib::MTStation | |
void | Update () |
Update all derived quantities. More... | |
void | Assign (const int nfreq) |
Assign() assigns zero to all derived quantities, this makes the calculation. More... | |
Calculate response of a 1D anisotropic model, code is based on Pek and Santos fortran code.
Definition at line 12 of file C1DAnisoMTSynthData.h.
gplib::C1DAnisoMTSynthData::C1DAnisoMTSynthData | ( | const C1DAnisoMTSynthData & | old | ) |
Definition at line 303 of file C1DAnisoMTSynthData.cpp.
gplib::C1DAnisoMTSynthData::C1DAnisoMTSynthData | ( | ) |
Definition at line 311 of file C1DAnisoMTSynthData.cpp.
Referenced by clone().
|
virtual |
Definition at line 315 of file C1DAnisoMTSynthData.cpp.
|
inlinevirtual |
for parallel runs we need to make a copy of the object and its derived classes
Reimplemented from gplib::MTStation.
Definition at line 78 of file C1DAnisoMTSynthData.h.
References C1DAnisoMTSynthData().
|
virtual |
Calculate the synthetic data given the previously set parameters.
Reimplemented from gplib::MTStation.
Definition at line 95 of file C1DAnisoMTSynthData.cpp.
References gplib::MTStation::Assign(), gplib::frequenzen, gplib::MTStation::GetFrequencies(), gplib::T, and gplib::MTStation::Update().
Referenced by main(), and gplib::PTensor1DMTObjective::SafeParallel().
gplib::rvec gplib::C1DAnisoMTSynthData::GetModelVector | ( | ) |
write model into file
Definition at line 285 of file C1DAnisoMTSynthData.cpp.
|
inline |
Definition at line 66 of file C1DAnisoMTSynthData.h.
void gplib::C1DAnisoMTSynthData::ReadModel | ( | std::string | filename | ) |
Definition at line 219 of file C1DAnisoMTSynthData.cpp.
Referenced by main().
|
inline |
Set the anisotropy dip for each layer in degree.
Definition at line 42 of file C1DAnisoMTSynthData.h.
Referenced by main(), and gplib::Member2Aniso().
|
inline |
Set the first principal resistivity for each layer in Ohm.m.
Definition at line 47 of file C1DAnisoMTSynthData.h.
Referenced by main(), and gplib::Member2Aniso().
|
inline |
Set the second principal resistivity for each layer in Ohm.m.
Definition at line 52 of file C1DAnisoMTSynthData.h.
Referenced by main(), and gplib::Member2Aniso().
|
inline |
Set the first principal resistivity for each layer in Ohm.m.
Definition at line 57 of file C1DAnisoMTSynthData.h.
Referenced by main(), and gplib::Member2Aniso().
|
inline |
Set the anisotropy slant for each layer in degree.
Definition at line 37 of file C1DAnisoMTSynthData.h.
Referenced by main(), and gplib::Member2Aniso().
|
inline |
Set the anisotropy strike for each layer in degree.
Definition at line 32 of file C1DAnisoMTSynthData.h.
Referenced by main(), and gplib::Member2Aniso().
|
inline |
Set the thicknes in km.
Definition at line 62 of file C1DAnisoMTSynthData.h.
Referenced by main(), and gplib::Member2Aniso().
void gplib::C1DAnisoMTSynthData::WriteModel | ( | std::string | filename | ) |
Definition at line 192 of file C1DAnisoMTSynthData.cpp.
Referenced by gplib::Aniso1DMTObjective::WriteModel(), and gplib::PTensor1DMTObjective::WriteModel().
void gplib::C1DAnisoMTSynthData::WritePlot | ( | std::string | filename | ) |
Definition at line 263 of file C1DAnisoMTSynthData.cpp.
Referenced by gplib::Aniso1DMTObjective::WritePlot(), and gplib::PTensor1DMTObjective::WritePlot().