#include <SurfaceWaveData.h>

Public Member Functions | |
| const trealdata & | GetPhaseVelocities () const |
| Read-only access to the vector of phase velocities. | |
| const trealdata & | GetPeriods () const |
| Read-only access to the vector of periods for the phase velocities. | |
| trealdata & | SetPhaseVelocities () |
| Read-write access to phase velocities, the format might be changed in the future. | |
| trealdata & | SetPeriods () |
| Read-write access to periods, the format might be changed in the future. | |
| void | ReadFile (const std::string &filename) |
| Read data from file, depending on the extension. | |
| virtual void | ReadAscii (const std::string &filename) |
| Read a file in general ascii format, i.e lines with period velocity each. | |
| void | ReadSurf96 (const std::string &filename) |
| read data as produced by the computer programs in seismology codes ascii | |
| virtual void | WriteAscii (const std::string &filename) const |
| Write the data in simple ascii format. | |
| SurfaceWaveData & | operator= (const SurfaceWaveData &source) |
| SurfaceWaveData (const SurfaceWaveData &Old) | |
| SurfaceWaveData () | |
| virtual | ~SurfaceWaveData () |
Definition at line 11 of file SurfaceWaveData.h.
| gplib::SurfaceWaveData::SurfaceWaveData | ( | const SurfaceWaveData & | Old | ) |
Definition at line 19 of file SurfaceWaveData.cpp.
| gplib::SurfaceWaveData::SurfaceWaveData | ( | ) |
Definition at line 11 of file SurfaceWaveData.cpp.
| gplib::SurfaceWaveData::~SurfaceWaveData | ( | ) | [virtual] |
Definition at line 15 of file SurfaceWaveData.cpp.
| const trealdata& gplib::SurfaceWaveData::GetPeriods | ( | ) | const [inline] |
Read-only access to the vector of periods for the phase velocities.
Definition at line 23 of file SurfaceWaveData.h.
Referenced by gplib::AbsVelRecObjective::PostParallel(), gplib::SurfaceWaveObjective::PreParallel(), gplib::ParkSurfaceWaveData::ReadAscii(), and gplib::ParkSurfaceWaveData::WriteAscii().
| const trealdata& gplib::SurfaceWaveData::GetPhaseVelocities | ( | ) | const [inline] |
Read-only access to the vector of phase velocities.
Definition at line 18 of file SurfaceWaveData.h.
Referenced by main(), gplib::AbsVelRecObjective::PostParallel(), gplib::ParkSurfaceWaveData::ReadAscii(), gplib::SurfaceWaveObjective::SafeParallel(), gplib::AnisoSurfaceWaveObjective::SafeParallel(), and gplib::ParkSurfaceWaveData::WriteAscii().
| SurfaceWaveData & gplib::SurfaceWaveData::operator= | ( | const SurfaceWaveData & | source | ) |
| void gplib::SurfaceWaveData::ReadAscii | ( | const std::string & | filename | ) | [virtual] |
Read a file in general ascii format, i.e lines with period velocity each.
Reimplemented in gplib::ParkSurfaceWaveData.
Definition at line 73 of file SurfaceWaveData.cpp.
Referenced by main(), ReadFile(), and SetupRecObjective().
| void gplib::SurfaceWaveData::ReadFile | ( | const std::string & | filename | ) |
Read data from file, depending on the extension.
Read data from file, depending on the extension it will either call <ReadAscii> (for ending .asc), or <ReadSurf96> (for any other ending
Definition at line 38 of file SurfaceWaveData.cpp.
References ReadAscii(), and ReadSurf96().
Referenced by main().
| void gplib::SurfaceWaveData::ReadSurf96 | ( | const std::string & | filename | ) |
read data as produced by the computer programs in seismology codes ascii
Definition at line 50 of file SurfaceWaveData.cpp.
Referenced by ReadFile(), and gplib::SurfaceWaveSynthetic::SafeParallel().
| trealdata& gplib::SurfaceWaveData::SetPeriods | ( | ) | [inline] |
Read-write access to periods, the format might be changed in the future.
Definition at line 33 of file SurfaceWaveData.h.
Referenced by gplib::AbsVelRecObjective::PostParallel(), and gplib::ParkSurfaceWaveData::ReadAscii().
| trealdata& gplib::SurfaceWaveData::SetPhaseVelocities | ( | ) | [inline] |
Read-write access to phase velocities, the format might be changed in the future.
Definition at line 28 of file SurfaceWaveData.h.
Referenced by main(), gplib::AbsVelRecObjective::PostParallel(), and gplib::ParkSurfaceWaveData::ReadAscii().
| void gplib::SurfaceWaveData::WriteAscii | ( | const std::string & | filename | ) | const [virtual] |
Write the data in simple ascii format.
Reimplemented in gplib::ParkSurfaceWaveData.
Definition at line 93 of file SurfaceWaveData.cpp.
Referenced by main(), gplib::SurfaceWaveObjective::WriteData(), and gplib::AbsVelRecObjective::WriteData().
1.5.8