#include <SurfaceWaveObjective.h>

Public Member Functions | |
| void | SetPoisson (const double p) |
| Set Poisson's ratio Vp/Vs. | |
| void | SetErrorLevel (const double level) |
| Set the relative error for each measurement. | |
| virtual GeneralObjective * | 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. | |
| virtual void | PreParallel (const ttranscribed &member) |
| Some operations cannot be done in parallel, these are done before. | |
| virtual double | PostParallel (const ttranscribed &member) |
| Some operations cannot be done in parallel, these are done after, returns the misfit value. | |
| virtual void | SafeParallel (const ttranscribed &member) |
| The core performance calculation, has to be safe to be done in parallel. | |
| virtual void | WriteData (const std::string &filename) |
| Write the synthetic data to a sac file with name filename. | |
| virtual void | WriteModel (const std::string &filename) |
| Write the current model to ascii file for calculations. | |
| virtual void | WritePlot (const std::string &filename) |
| Write the current model to ascii file for plotting. | |
| SurfaceWaveObjective & | operator= (const SurfaceWaveObjective &source) |
| SurfaceWaveObjective (const SurfaceWaveObjective &Old) | |
| SurfaceWaveObjective (const SurfaceWaveData &Data) | |
| virtual | ~SurfaceWaveObjective () |
Definition at line 13 of file SurfaceWaveObjective.h.
| SurfaceWaveObjective::SurfaceWaveObjective | ( | const SurfaceWaveObjective & | Old | ) |
Definition at line 30 of file SurfaceWaveObjective.cpp.
References errorlevel, and poisson.
Referenced by clone().
| SurfaceWaveObjective::SurfaceWaveObjective | ( | const SurfaceWaveData & | Data | ) |
Definition at line 11 of file SurfaceWaveObjective.cpp.
| SurfaceWaveObjective::~SurfaceWaveObjective | ( | ) | [virtual] |
Definition at line 38 of file SurfaceWaveObjective.cpp.
| virtual GeneralObjective* SurfaceWaveObjective::clone | ( | ) | const [inline, virtual] |
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 GeneralObjective.
Definition at line 38 of file SurfaceWaveObjective.h.
References SurfaceWaveObjective().
| SurfaceWaveObjective & SurfaceWaveObjective::operator= | ( | const SurfaceWaveObjective & | source | ) |
Definition at line 18 of file SurfaceWaveObjective.cpp.
References errorlevel, MeasuredData, poisson, SynthData, and Synthetic.
| double SurfaceWaveObjective::PostParallel | ( | const ttranscribed & | member | ) | [virtual] |
Some operations cannot be done in parallel, these are done after, returns the misfit value.
Implements GeneralObjective.
Definition at line 80 of file SurfaceWaveObjective.cpp.
References GeneralObjective::GetRMS().
| void SurfaceWaveObjective::PreParallel | ( | const ttranscribed & | member | ) | [virtual] |
Some operations cannot be done in parallel, these are done before.
Reimplemented from GeneralObjective.
Definition at line 42 of file SurfaceWaveObjective.cpp.
References SurfaceWaveSynthetic::GetCalculationPeriods(), GeneralObjective::GetParallelID(), SurfaceWaveData::GetPeriods(), SurfaceWaveSynthetic::PreParallel(), SurfaceWaveSynthetic::SetCalculationPeriods(), and SurfaceWaveSynthetic::SetModel().
| void SurfaceWaveObjective::SafeParallel | ( | const ttranscribed & | member | ) | [virtual] |
The core performance calculation, has to be safe to be done in parallel.
Reimplemented from GeneralObjective.
Definition at line 86 of file SurfaceWaveObjective.cpp.
References GeneralObjective::CalcMisfit(), GeneralObjective::GetFitExponent(), GeneralObjective::GetParallelID(), SurfaceWaveData::GetPhaseVelocities(), SurfaceWaveSynthetic::SafeParallel(), GeneralObjective::SetMisfit(), GeneralObjective::SetRMS(), and GeneralObjective::SetSynthData().
| void SurfaceWaveObjective::SetErrorLevel | ( | const double | level | ) | [inline] |
| void SurfaceWaveObjective::SetPoisson | ( | const double | p | ) | [inline] |
| virtual void SurfaceWaveObjective::WriteData | ( | const std::string & | filename | ) | [inline, virtual] |
Write the synthetic data to a sac file with name filename.
Reimplemented from PlottableObjective.
Definition at line 50 of file SurfaceWaveObjective.h.
References SurfaceWaveData::WriteAscii().
| virtual void SurfaceWaveObjective::WriteModel | ( | const std::string & | filename | ) | [inline, virtual] |
Write the current model to ascii file for calculations.
Reimplemented from PlottableObjective.
Definition at line 55 of file SurfaceWaveObjective.h.
References SurfaceWaveSynthetic::GetModel(), and SurfaceWaveModel::WriteModel().
| virtual void SurfaceWaveObjective::WritePlot | ( | const std::string & | filename | ) | [inline, virtual] |
Write the current model to ascii file for plotting.
Reimplemented from PlottableObjective.
Definition at line 60 of file SurfaceWaveObjective.h.
References SurfaceWaveSynthetic::GetModel(), and SurfaceWaveModel::WritePlot().
1.5.8