GPLIB++
PTensorMTData.h
Go to the documentation of this file.
1 #ifndef PTENSORMTDATA_H_
2 #define PTENSORMTDATA_H_
3 
4 #include "ptfuncs.h"
5 
6 namespace gplib
7  {
8  /** \addtogroup mttools MT data analysis, processing and inversion */
9  /* @{ */
10 
11  //! This class is for the special case where we only have phase tensor data and errors, but not the full impedance
13  {
14  private:
15  double phi11;
16  double phi12;
17  double phi21;
18  double phi22;
19  double dphi11;
20  double dphi12;
21  double dphi21;
22  double dphi22;
23  double frequency;
24  public:
25  double GetPhi11() const
26  {
27  return phi11;
28  }
29  void SetPhi11(const double p)
30  {
31  phi11 = p;
32  }
33  double GetPhi12() const
34  {
35  return phi12;
36  }
37  void SetPhi12(const double p)
38  {
39  phi12 = p;
40  }
41  double GetPhi21() const
42  {
43  return phi21;
44  }
45  void SetPhi21(const double p)
46  {
47  phi21 = p;
48  }
49  double GetPhi22() const
50  {
51  return phi22;
52  }
53  void SetPhi22(const double p)
54  {
55  phi22 = p;
56  }
57  double GetdPhi11() const
58  {
59  return dphi11;
60  }
61  void SetdPhi11(const double p)
62  {
63  dphi11 = p;
64  }
65  double GetdPhi12() const
66  {
67  return dphi12;
68  }
69  void SetdPhi12(const double p)
70  {
71  dphi12 = p;
72  }
73  double GetdPhi21() const
74  {
75  return dphi21;
76  }
77  void SetdPhi21(const double p)
78  {
79  dphi21 = p;
80  }
81  double GetdPhi22() const
82  {
83  return dphi22;
84  }
85  void SetdPhi22(const double p)
86  {
87  dphi22 = p;
88  }
89  double GetFrequency() const
90  {
91  return frequency;
92  }
93  void SetFrequency(const double f)
94  {
95  frequency = f;
96  }
97  PTensorMTData(const double f, const double p11, const double p12,
98  const double p21, const double p22, const double dp11,
99  const double dp12, const double dp21, const double dp22);
100  PTensorMTData();
101  virtual ~PTensorMTData();
102  };
103  /* @} */
104  }
105 #endif /*PTENSORMTDATA_H_*/
This class is for the special case where we only have phase tensor data and errors, but not the full impedance.
Definition: PTensorMTData.h:12
void SetdPhi22(const double p)
Definition: PTensorMTData.h:85
double GetPhi22() const
Definition: PTensorMTData.h:49
double GetFrequency() const
Definition: PTensorMTData.h:89
void SetPhi12(const double p)
Definition: PTensorMTData.h:37
void SetPhi22(const double p)
Definition: PTensorMTData.h:53
void f(vector< double > &v1, vector< double > &v2, vector< double > &v3, vector< double > &v4)
Definition: perftest.cpp:17
void SetdPhi11(const double p)
Definition: PTensorMTData.h:61
void SetFrequency(const double f)
Definition: PTensorMTData.h:93
void SetdPhi12(const double p)
Definition: PTensorMTData.h:69
double GetPhi11() const
Definition: PTensorMTData.h:25
void SetdPhi21(const double p)
Definition: PTensorMTData.h:77
double GetdPhi22() const
Definition: PTensorMTData.h:81
double GetdPhi12() const
Definition: PTensorMTData.h:65
void SetPhi11(const double p)
Definition: PTensorMTData.h:29
double GetdPhi21() const
Definition: PTensorMTData.h:73
double GetPhi12() const
Definition: PTensorMTData.h:33
void SetPhi21(const double p)
Definition: PTensorMTData.h:45
double GetdPhi11() const
Definition: PTensorMTData.h:57
double GetPhi21() const
Definition: PTensorMTData.h:41