GPLIB++
|
SeismicModelDiff calculates the roughness of a joint MT- receiver functions model compared to a seismic model. More...
#include <SeismicModelDiff.h>
Public Member Functions | |
virtual SeismicModelDiff * | clone () const |
Clone the object. More... | |
virtual void | SafeParallel (const ttranscribed &member) |
Calculate the roughness of the model given by the parameter member. More... | |
virtual double | PostParallel (const ttranscribed &member) |
Some operations cannot be done in parallel, these are done after, returns the misfit value. More... | |
SeismicModelDiff (const ResPkModel &Seis) | |
SeismicModelDiff (const SeismicModelDiff &Old) | |
SeismicModelDiff & | operator= (const SeismicModelDiff &source) |
virtual | ~SeismicModelDiff () |
Public Member Functions inherited from gplib::GeneralObjective | |
void | SetFitExponent (const int x) |
Set the Fit exponent. More... | |
int | GetFitExponent () |
Get the Fit exponent. More... | |
double | GetRMS () |
Get the current RMS. More... | |
const std::string & | GetParallelID () |
Derived classes need to read the ParallelId for their forward calculations. More... | |
void | SetParallelID (const std::string &s) |
We need to set the parallel ID outside the Objective function object. More... | |
const tmisfit & | GetMisfit () |
Return the misfit vector. More... | |
const tdata & | GetSynthData () |
Return the current synthetic data. More... | |
virtual void | PreParallel (const ttranscribed &member) |
Some operations cannot be done in parallel, these are done before. More... | |
double | CalcPerformance (const ttranscribed &member) |
For serial execution CalcPerformance calls the three Parallel functions for more convenient use. More... | |
GeneralObjective () | |
GeneralObjective (const GeneralObjective &Old) | |
GeneralObjective & | operator= (const GeneralObjective &source) |
virtual | ~GeneralObjective () |
Additional Inherited Members | |
Protected Member Functions inherited from gplib::GeneralObjective | |
double | CalcMisfit (const double measured, const double predicted, const double measerror, const double errorlevel, const int index) |
void | SetRMS (const double x) |
tmisfit & | SetMisfit () |
Only derived classes can write access the Misfit. More... | |
void | SetMisfit (const tmisfit &LocalMisfit) |
tdata & | SetSynthData () |
Only derived classes can write access the Synthetic data. More... | |
void | SetSynthData (const tdata &LocalSynthData) |
SeismicModelDiff calculates the roughness of a joint MT- receiver functions model compared to a seismic model.
Definition at line 9 of file SeismicModelDiff.h.
|
explicit |
Definition at line 9 of file SeismicModelDiff.cpp.
Referenced by clone().
gplib::SeismicModelDiff::SeismicModelDiff | ( | const SeismicModelDiff & | Old | ) |
Definition at line 18 of file SeismicModelDiff.cpp.
|
virtual |
Definition at line 14 of file SeismicModelDiff.cpp.
|
inlinevirtual |
Clone the object.
Implements gplib::GeneralObjective.
Definition at line 15 of file SeismicModelDiff.h.
References SeismicModelDiff().
SeismicModelDiff & gplib::SeismicModelDiff::operator= | ( | const SeismicModelDiff & | source | ) |
Definition at line 23 of file SeismicModelDiff.cpp.
References gplib::GeneralObjective::operator=().
|
virtual |
Some operations cannot be done in parallel, these are done after, returns the misfit value.
Implements gplib::GeneralObjective.
Definition at line 85 of file SeismicModelDiff.cpp.
References gplib::GeneralObjective::GetRMS().
|
virtual |
Calculate the roughness of the model given by the parameter member.
Reimplemented from gplib::GeneralObjective.
Definition at line 34 of file SeismicModelDiff.cpp.
References gplib::SeismicModel::GetSVelocity(), gplib::SeismicModel::GetThickness(), and gplib::GeneralObjective::SetRMS().