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

Minimize the misfit for several surface wave dispersion curves simultaneously. More...

#include <MultiAnisoSurfaceWaveObjective.h>

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

Public Member Functions

virtual
MultiAnisoSurfaceWaveObjective
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...
 
void AddMeasurement (const ParkSurfaceWaveData &Measured, const double back, const double avel)
 
virtual void PreParallel (const ttranscribed &member)
 Some operations cannot be done in parallel, these are done before. More...
 
virtual double PostParallel (const ttranscribed &member)
 Some operations cannot be done in parallel, these are done after, returns the misfit value. More...
 
virtual void SafeParallel (const ttranscribed &member)
 The core performance calculation, has to be safe to be done in parallel. More...
 
void WriteData (const std::string &filename)
 
void WriteModel (const std::string &filename)
 
void WritePlot (const std::string &filename)
 
 MultiAnisoSurfaceWaveObjective (const MultiAnisoSurfaceWaveObjective &Old)
 
MultiAnisoSurfaceWaveObjectiveoperator= (const MultiAnisoSurfaceWaveObjective &source)
 
 MultiAnisoSurfaceWaveObjective ()
 
virtual ~MultiAnisoSurfaceWaveObjective ()
 
- 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...
 
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

- 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

Minimize the misfit for several surface wave dispersion curves simultaneously.

Definition at line 13 of file MultiAnisoSurfaceWaveObjective.h.

Constructor & Destructor Documentation

gplib::MultiAnisoSurfaceWaveObjective::MultiAnisoSurfaceWaveObjective ( const MultiAnisoSurfaceWaveObjective Old)

Definition at line 59 of file MultiAnisoSurfaceWaveObjective.cpp.

gplib::MultiAnisoSurfaceWaveObjective::MultiAnisoSurfaceWaveObjective ( )

Definition at line 8 of file MultiAnisoSurfaceWaveObjective.cpp.

Referenced by clone().

gplib::MultiAnisoSurfaceWaveObjective::~MultiAnisoSurfaceWaveObjective ( )
virtual

Definition at line 12 of file MultiAnisoSurfaceWaveObjective.cpp.

Member Function Documentation

void gplib::MultiAnisoSurfaceWaveObjective::AddMeasurement ( const ParkSurfaceWaveData Measured,
const double  back,
const double  avel 
)

Definition at line 16 of file MultiAnisoSurfaceWaveObjective.cpp.

Referenced by SetupSurfaceWaveObjective().

virtual MultiAnisoSurfaceWaveObjective* gplib::MultiAnisoSurfaceWaveObjective::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 20 of file MultiAnisoSurfaceWaveObjective.h.

References MultiAnisoSurfaceWaveObjective().

MultiAnisoSurfaceWaveObjective & gplib::MultiAnisoSurfaceWaveObjective::operator= ( const MultiAnisoSurfaceWaveObjective source)

Definition at line 100 of file MultiAnisoSurfaceWaveObjective.cpp.

double gplib::MultiAnisoSurfaceWaveObjective::PostParallel ( const ttranscribed member)
virtual

Some operations cannot be done in parallel, these are done after, returns the misfit value.

Implements gplib::GeneralObjective.

Definition at line 40 of file MultiAnisoSurfaceWaveObjective.cpp.

References gplib::AnisoSurfaceWaveObjective::PostParallel().

void gplib::MultiAnisoSurfaceWaveObjective::PreParallel ( const ttranscribed member)
virtual

Some operations cannot be done in parallel, these are done before.

Reimplemented from gplib::GeneralObjective.

Definition at line 26 of file MultiAnisoSurfaceWaveObjective.cpp.

References gplib::GeneralObjective::GetParallelID().

void gplib::MultiAnisoSurfaceWaveObjective::SafeParallel ( const ttranscribed member)
virtual

The core performance calculation, has to be safe to be done in parallel.

Reimplemented from gplib::GeneralObjective.

Definition at line 52 of file MultiAnisoSurfaceWaveObjective.cpp.

References gplib::AnisoSurfaceWaveObjective::SafeParallel().

void gplib::MultiAnisoSurfaceWaveObjective::WriteData ( const std::string &  filename)

Definition at line 75 of file MultiAnisoSurfaceWaveObjective.cpp.

void gplib::MultiAnisoSurfaceWaveObjective::WriteModel ( const std::string &  filename)

Definition at line 85 of file MultiAnisoSurfaceWaveObjective.cpp.

void gplib::MultiAnisoSurfaceWaveObjective::WritePlot ( const std::string &  filename)

Definition at line 95 of file MultiAnisoSurfaceWaveObjective.cpp.


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