GPLIB++
Aniso1DMTObjective.cpp
Go to the documentation of this file.
1 #include "Aniso1DMTObjective.h"
2 #include "Member2Aniso.h"
3 
4 namespace gplib
5  {
7  C1DMTObjective(LocalMTData)
8  {
9  }
10 
12  const Aniso1DMTObjective& source)
13  {
14  if (this == &source)
15  return *this;
17  AnisoMTSynth = source.AnisoMTSynth;
18  return *this;
19  }
20 
22  C1DMTObjective(Old), AnisoMTSynth(Old.AnisoMTSynth)
23  {
24 
25  }
26 
28  {
29  }
30 
31  void Aniso1DMTObjective::CalcSynthData(const ttranscribed &member)
32  {
33  Member2Aniso(member, AnisoMTSynth); //setup forward model with parameter given in member
34  AnisoMTSynth.GetData(); //do forward calculation
35  }
36  }
ublas::vector< double > ttranscribed
Definition: gentypes.h:21
Aniso1DMTObjective(const Aniso1DMTObjective &Old)
virtual void GetData()
Calculate the synthetic data given the previously set parameters.
void Member2Aniso(const ttranscribed &member, C1DAnisoMTSynthData &Synth)
This function sets the properties for the 1D MT anisotropic forward calculation, from the variable me...
Definition: Member2Aniso.h:10
Aniso1DMTObjective & operator=(const Aniso1DMTObjective &source)
The class MTStation is used to store the transfer functions and related information for a MT-site...
Definition: MTStation.h:17
C1DMTObjective & operator=(const C1DMTObjective &source)
C1DMTObjective is the base class for MT misfit calculations from 1D models, it provides common functi...