GPLIB++
Public Member Functions | List of all members
gplib::Aniso1DMTObjective Class Reference

#include <Aniso1DMTObjective.h>

Inheritance diagram for gplib::Aniso1DMTObjective:
Inheritance graph
[legend]

Public Member Functions

Aniso1DMTObjectiveoperator= (const Aniso1DMTObjective &source)
 
 Aniso1DMTObjective (const Aniso1DMTObjective &Old)
 
 Aniso1DMTObjective (const MTStation &LocalMTData)
 
virtual ~Aniso1DMTObjective ()
 
virtual Aniso1DMTObjectiveclone () 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_tGetErrorFunctions () 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 ()
 
C1DMTObjectiveoperator= (const C1DMTObjective &source)
 
- Public Member Functions inherited from gplib::PlottableObjective
 PlottableObjective ()
 
 PlottableObjective (const PlottableObjective &Old)
 
PlottableObjectiveoperator= (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 tmisfitGetMisfit ()
 Return the misfit vector. More...
 
const tdataGetSynthData ()
 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)
 
GeneralObjectiveoperator= (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_tdatafuncvector_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)
 
tmisfitSetMisfit ()
 Only derived classes can write access the Misfit. More...
 
void SetMisfit (const tmisfit &LocalMisfit)
 
tdataSetSynthData ()
 Only derived classes can write access the Synthetic data. More...
 
void SetSynthData (const tdata &LocalSynthData)
 

Detailed Description

Definition at line 8 of file Aniso1DMTObjective.h.

Constructor & Destructor Documentation

gplib::Aniso1DMTObjective::Aniso1DMTObjective ( const Aniso1DMTObjective Old)

Definition at line 21 of file Aniso1DMTObjective.cpp.

Referenced by clone().

gplib::Aniso1DMTObjective::Aniso1DMTObjective ( const MTStation LocalMTData)
explicit

Definition at line 6 of file Aniso1DMTObjective.cpp.

gplib::Aniso1DMTObjective::~Aniso1DMTObjective ( )
virtual

Definition at line 27 of file Aniso1DMTObjective.cpp.

Member Function Documentation

virtual Aniso1DMTObjective* gplib::Aniso1DMTObjective::clone ( ) const
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=().

virtual void gplib::Aniso1DMTObjective::WriteData ( const std::string &  filename)
inlinevirtual

Write current data to a file.

Implements gplib::C1DMTObjective.

Definition at line 37 of file Aniso1DMTObjective.h.

References gplib::MTStation::WriteAsMtt().

virtual void gplib::Aniso1DMTObjective::WriteModel ( const std::string &  filename)
inlinevirtual

write the current model to a file

Implements gplib::C1DMTObjective.

Definition at line 27 of file Aniso1DMTObjective.h.

References gplib::C1DAnisoMTSynthData::WriteModel().

virtual void gplib::Aniso1DMTObjective::WritePlot ( const std::string &  filename)
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().


The documentation for this class was generated from the following files: