|
GPLIB++
|
Calculate synthetic fundamental mode Rayleigh phase velocity data from an isotropic 1D model. More...
#include <SurfaceWaveSynthetic.h>
Public Member Functions | |
| void | PreParallel (const std::string &filename) |
| For a parallel execution, these are things that have to be done before any parallel block. More... | |
| SurfaceWaveData | SafeParallel (const std::string &filename) |
| Operations that are safe to perform in parallel. More... | |
| const SurfaceWaveModel & | GetModel () |
| Read only access to the current seismic model. More... | |
| const trealdata & | GetCalculationPeriods () const |
| Get the vector of periods in s for which we want to calculate phase velocities. More... | |
| void | SetCalculationPeriods (const trealdata &c) |
| Set the vector of periods in s for which we want to calculate phase velocities. More... | |
| void | SetModel (const Sdisp96Model &m) |
| Set the model for which we want to calculate the data. More... | |
| SurfaceWaveData | GetSynthData (const std::string &filename) |
| Perform a complete forward calculation and return the calculated data, not thread safe as it calls PreParallel. More... | |
| SurfaceWaveSynthetic () | |
| virtual | ~SurfaceWaveSynthetic () |
Calculate synthetic fundamental mode Rayleigh phase velocity data from an isotropic 1D model.
Definition at line 14 of file SurfaceWaveSynthetic.h.
| gplib::SurfaceWaveSynthetic::SurfaceWaveSynthetic | ( | ) |
Definition at line 6 of file SurfaceWaveSynthetic.cpp.
|
virtual |
Definition at line 10 of file SurfaceWaveSynthetic.cpp.
|
inline |
Get the vector of periods in s for which we want to calculate phase velocities.
Definition at line 31 of file SurfaceWaveSynthetic.h.
Referenced by gplib::SurfaceWaveObjective::PreParallel().
|
inline |
Read only access to the current seismic model.
Definition at line 26 of file SurfaceWaveSynthetic.h.
Referenced by gplib::SurfaceWaveObjective::WriteModel(), and gplib::SurfaceWaveObjective::WritePlot().
| SurfaceWaveData gplib::SurfaceWaveSynthetic::GetSynthData | ( | const std::string & | filename | ) |
Perform a complete forward calculation and return the calculated data, not thread safe as it calls PreParallel.
Definition at line 32 of file SurfaceWaveSynthetic.cpp.
References PreParallel(), and SafeParallel().
| void gplib::SurfaceWaveSynthetic::PreParallel | ( | const std::string & | filename | ) |
For a parallel execution, these are things that have to be done before any parallel block.
Definition at line 14 of file SurfaceWaveSynthetic.cpp.
References gplib::Sdisp96Model::WriteModel(), and gplib::Sdisp96Model::WriteRunFile().
Referenced by GetSynthData(), and gplib::SurfaceWaveObjective::PreParallel().
| SurfaceWaveData gplib::SurfaceWaveSynthetic::SafeParallel | ( | const std::string & | filename | ) |
Operations that are safe to perform in parallel.
Definition at line 21 of file SurfaceWaveSynthetic.cpp.
References gplib::SurfaceWaveData::ReadSurf96().
Referenced by GetSynthData(), and gplib::SurfaceWaveObjective::SafeParallel().
|
inline |
Set the vector of periods in s for which we want to calculate phase velocities.
Definition at line 36 of file SurfaceWaveSynthetic.h.
Referenced by gplib::SurfaceWaveObjective::PreParallel().
|
inline |
Set the model for which we want to calculate the data.
Definition at line 42 of file SurfaceWaveSynthetic.h.
Referenced by gplib::SurfaceWaveObjective::PreParallel().
1.8.6