|
GPLIB++
|
This class can write files specific for the synthetic surface wave codes that are part of the computer programs in seismology. More...
#include <Sdisp96Model.h>

Public Member Functions | |
| void | SetSpherical (const bool s) |
| Do we want a spherical model or a flat earth model. More... | |
| virtual void | ReadModel (const std::string &filename) |
| Read the model from a file. More... | |
| virtual void | WriteModel (const std::string &filename) const |
| Write them model to a file so that the forward codes can use it. More... | |
| virtual void | WriteRunFile (const std::string &filename, const std::vector< double > periods) const |
| Write out a script file that when run creates synthetic data with the name filename+'.asc'. More... | |
| Sdisp96Model & | operator= (const Sdisp96Model &source) |
| Sdisp96Model (const Sdisp96Model &Old) | |
| Sdisp96Model (const SurfaceWaveModel &Old) | |
| Sdisp96Model () | |
| virtual | ~Sdisp96Model () |
Public Member Functions inherited from gplib::SurfaceWaveModel | |
| const trealdata & | GetPvVelocities () const |
| const trealdata & | GetPhVelocities () const |
| const trealdata & | GetSvVelocities () const |
| const trealdata & | GetShVelocities () const |
| const trealdata & | GetDensities () const |
| const trealdata & | GetThicknesses () const |
| const trealdata & | GetEta () const |
| const trealdata & | GetQmu () const |
| const trealdata & | GetQkappa () const |
| std::string | GetName () const |
| trealdata & | SetPvVelocities () |
| trealdata & | SetPhVelocities () |
| trealdata & | SetSvVelocities () |
| trealdata & | SetShVelocities () |
| trealdata & | SetDensities () |
| trealdata & | SetThicknesses () |
| trealdata & | SetEta () |
| trealdata & | SetQmu () |
| trealdata & | SetQkappa () |
| double | GetMaxDepth (const double depth) |
| int | SplitLayer (const int index, const double maxthick) |
| Splits a layer into several layers with a maximum thickness of maxthick, but otherwise identical properties. More... | |
| void | AddDiscontinuity (const int index) |
| Insert a layer with 0 thickness to create a discontinuity for the forward code. More... | |
| void | MergeModel (const SurfaceWaveModel &Background) |
| Merge this model with another background model, the depth range below this model will be filled with the values from the background model. More... | |
| void | WritePlot (const std::string &filename) const |
| Write out an ascii file for plotting with xmgrace or similar programs. More... | |
| SurfaceWaveModel & | operator= (const SurfaceWaveModel &source) |
| SurfaceWaveModel (const SurfaceWaveModel &Old) | |
| SurfaceWaveModel () | |
| virtual | ~SurfaceWaveModel () |
Additional Inherited Members | |
Protected Member Functions inherited from gplib::SurfaceWaveModel | |
| void | CheckConsistency () const |
This class can write files specific for the synthetic surface wave codes that are part of the computer programs in seismology.
Definition at line 12 of file Sdisp96Model.h.
| gplib::Sdisp96Model::Sdisp96Model | ( | const Sdisp96Model & | Old | ) |
Definition at line 31 of file Sdisp96Model.cpp.
|
inline |
Definition at line 31 of file Sdisp96Model.h.
| gplib::Sdisp96Model::Sdisp96Model | ( | ) |
Definition at line 13 of file Sdisp96Model.cpp.
|
virtual |
Definition at line 18 of file Sdisp96Model.cpp.
| Sdisp96Model & gplib::Sdisp96Model::operator= | ( | const Sdisp96Model & | source | ) |
Definition at line 22 of file Sdisp96Model.cpp.
References gplib::SurfaceWaveModel::operator=().
|
virtual |
Read the model from a file.
Implements gplib::SurfaceWaveModel.
Definition at line 37 of file Sdisp96Model.cpp.
|
inline |
Do we want a spherical model or a flat earth model.
Definition at line 18 of file Sdisp96Model.h.
|
virtual |
Write them model to a file so that the forward codes can use it.
Implements gplib::SurfaceWaveModel.
Definition at line 42 of file Sdisp96Model.cpp.
References gplib::SurfaceWaveModel::CheckConsistency(), gplib::SurfaceWaveModel::GetDensities(), gplib::SurfaceWaveModel::GetEta(), gplib::SurfaceWaveModel::GetName(), gplib::SurfaceWaveModel::GetPvVelocities(), gplib::SurfaceWaveModel::GetQkappa(), gplib::SurfaceWaveModel::GetQmu(), gplib::SurfaceWaveModel::GetSvVelocities(), and gplib::SurfaceWaveModel::GetThicknesses().
Referenced by main(), and gplib::SurfaceWaveSynthetic::PreParallel().
|
virtual |
Write out a script file that when run creates synthetic data with the name filename+'.asc'.
Implements gplib::SurfaceWaveModel.
Definition at line 84 of file Sdisp96Model.cpp.
References gplib::SurfaceWaveModel::CheckConsistency().
Referenced by gplib::SurfaceWaveSynthetic::PreParallel().
1.8.6