GPLIB++
SeismicModelDiff.h
Go to the documentation of this file.
1 #ifndef _SEISMICMODELDIFF_H_
2 #define _SEISMICMODELDIFF_H_
3 #include "GeneralObjective.h"
4 #include "ResPkModel.h"
5 
6 namespace gplib
7  {
8  //! SeismicModelDiff calculates the roughness of a joint MT- receiver functions model compared to a seismic model
10  {
11  private:
12  ResPkModel Model;
13  public:
14  //! Clone the object
15  virtual SeismicModelDiff *clone() const
16  {
17  return new SeismicModelDiff(*this);
18  }
19  virtual void SafeParallel(const ttranscribed &member);
20  virtual double PostParallel(const ttranscribed &member);
21  explicit SeismicModelDiff(const ResPkModel &Seis);
24  virtual ~SeismicModelDiff();
25  };
26  }
27 #endif /*_SEISMICMODELDIFF_H_*/
ublas::vector< double > ttranscribed
Definition: gentypes.h:21
virtual void SafeParallel(const ttranscribed &member)
Calculate the roughness of the model given by the parameter member.
SeismicModelDiff calculates the roughness of a joint MT- receiver functions model compared to a seism...
The basic object for any objective function, mainly an interface class and some storage.
SeismicModelDiff & operator=(const SeismicModelDiff &source)
virtual double PostParallel(const ttranscribed &member)
Some operations cannot be done in parallel, these are done after, returns the misfit value...
virtual SeismicModelDiff * clone() const
Clone the object.
This class stores and writes model for the respktn 1D seismic code that we use for receiver function ...
Definition: ResPkModel.h:18
SeismicModelDiff(const ResPkModel &Seis)