GPLIB++
|
#include <Aniso1DMTObjective.h>
Public Member Functions | |
Aniso1DMTObjective & | operator= (const Aniso1DMTObjective &source) |
Aniso1DMTObjective (const Aniso1DMTObjective &Old) | |
Aniso1DMTObjective (const MTStation &LocalMTData) | |
virtual | ~Aniso1DMTObjective () |
virtual Aniso1DMTObjective * | clone () const |
We need clone and create for building an array of derived objects, see FAQ lite 20.8, the return type depends on the derived class. More... | |
virtual void | WriteModel (const std::string &filename) |
write the current model to a file More... | |
virtual void | WritePlot (const std::string &filename) |
write the current model for plotting to a file More... | |
virtual void | WriteData (const std::string &filename) |
Write current data to a file. More... | |
Public Member Functions inherited from gplib::C1DMTObjective | |
void | SetFitParameters (const datafuncvector_t TheDataV, const datafuncvector_t TheErrorV, const std::vector< double > TheErrLevel) |
function to set the parameters that determine the type of fit More... | |
void | AppendFitParameters (const datafunc_t TheDataFunc, const datafunc_t TheErrorFunc, const double TheErrLevel) |
virtual void | SafeParallel (const ttranscribed &member) |
Calc misfit for a model given by member. More... | |
virtual double | PostParallel (const ttranscribed &member) |
All calculation has been done in SafeParallel we only return the stored result. More... | |
const datafuncvector_t & | GetErrorFunctions () const |
return a vector with pointers to the functions used to calculate the errors More... | |
C1DMTObjective (const MTStation &LocalMTData) | |
We need data to fit for any objective function, so we want it as constructor parameter, but no implicit conversion. More... | |
C1DMTObjective (const C1DMTObjective &Old) | |
virtual | ~C1DMTObjective () |
C1DMTObjective & | operator= (const C1DMTObjective &source) |
Public Member Functions inherited from gplib::PlottableObjective | |
PlottableObjective () | |
PlottableObjective (const PlottableObjective &Old) | |
PlottableObjective & | operator= (const PlottableObjective &source) |
virtual | ~PlottableObjective () |
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 | |
Public Types inherited from gplib::C1DMTObjective | |
typedef boost::function < double(const MTTensor *const )> | datafunc_t |
A function that returns a real valued quantity calculated from an MT impedance tensor. More... | |
typedef std::vector< datafunc_t > | datafuncvector_t |
A vector of MT data functions. This is used to store the types of data to fit. More... | |
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) |
Definition at line 8 of file Aniso1DMTObjective.h.
gplib::Aniso1DMTObjective::Aniso1DMTObjective | ( | const Aniso1DMTObjective & | Old | ) |
Definition at line 21 of file Aniso1DMTObjective.cpp.
Referenced by clone().
|
explicit |
Definition at line 6 of file Aniso1DMTObjective.cpp.
|
virtual |
Definition at line 27 of file Aniso1DMTObjective.cpp.
|
inlinevirtual |
We need clone and create for building an array of derived objects, see FAQ lite 20.8, the return type depends on the derived class.
Implements gplib::GeneralObjective.
Definition at line 22 of file Aniso1DMTObjective.h.
References Aniso1DMTObjective().
Aniso1DMTObjective & gplib::Aniso1DMTObjective::operator= | ( | const Aniso1DMTObjective & | source | ) |
Definition at line 11 of file Aniso1DMTObjective.cpp.
References gplib::C1DMTObjective::operator=().
|
inlinevirtual |
Write current data to a file.
Implements gplib::C1DMTObjective.
Definition at line 37 of file Aniso1DMTObjective.h.
References gplib::MTStation::WriteAsMtt().
|
inlinevirtual |
write the current model to a file
Implements gplib::C1DMTObjective.
Definition at line 27 of file Aniso1DMTObjective.h.
References gplib::C1DAnisoMTSynthData::WriteModel().
|
inlinevirtual |
write the current model for plotting to a file
Implements gplib::C1DMTObjective.
Definition at line 32 of file Aniso1DMTObjective.h.
References gplib::C1DAnisoMTSynthData::WritePlot().