#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. | |
| 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 | |
| void | WriteAscii (const std::string &filename) |
| Write the data in simple ascii format. | |
| SurfaceWaveData & | operator= (const SurfaceWaveData &source) |
| SurfaceWaveData (const SurfaceWaveData &Old) | |
| SurfaceWaveData () | |
| virtual | ~SurfaceWaveData () |
Definition at line 9 of file SurfaceWaveData.h.
| SurfaceWaveData::SurfaceWaveData | ( | const SurfaceWaveData & | Old | ) |
Definition at line 17 of file SurfaceWaveData.cpp.
| SurfaceWaveData::SurfaceWaveData | ( | ) |
Definition at line 9 of file SurfaceWaveData.cpp.
| SurfaceWaveData::~SurfaceWaveData | ( | ) | [virtual] |
Definition at line 13 of file SurfaceWaveData.cpp.
| const trealdata& SurfaceWaveData::GetPeriods | ( | ) | const [inline] |
Read-only access to the vector of periods for the phase velocities.
Definition at line 18 of file SurfaceWaveData.h.
Referenced by AbsVelRecObjective::PostParallel(), and SurfaceWaveObjective::PreParallel().
| const trealdata& SurfaceWaveData::GetPhaseVelocities | ( | ) | const [inline] |
Read-only access to the vector of phase velocities.
Definition at line 16 of file SurfaceWaveData.h.
Referenced by main(), AbsVelRecObjective::PostParallel(), and SurfaceWaveObjective::SafeParallel().
| SurfaceWaveData & SurfaceWaveData::operator= | ( | const SurfaceWaveData & | source | ) |
| void SurfaceWaveData::ReadAscii | ( | const std::string & | filename | ) |
Read a file in general ascii format, i.e lines with period velocity each.
Definition at line 67 of file SurfaceWaveData.cpp.
Referenced by main(), ReadFile(), and SetupRecObjective().
| void 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 33 of file SurfaceWaveData.cpp.
References ReadAscii(), and ReadSurf96().
Referenced by main().
| void SurfaceWaveData::ReadSurf96 | ( | const std::string & | filename | ) |
read data as produced by the computer programs in seismology codes ascii
Definition at line 45 of file SurfaceWaveData.cpp.
Referenced by ReadFile(), and SurfaceWaveSynthetic::SafeParallel().
| trealdata& SurfaceWaveData::SetPeriods | ( | ) | [inline] |
Read-write access to periods, the format might be changed in the future.
Definition at line 22 of file SurfaceWaveData.h.
Referenced by AbsVelRecObjective::PostParallel().
| trealdata& SurfaceWaveData::SetPhaseVelocities | ( | ) | [inline] |
Read-write access to phase velocities, the format might be changed in the future.
Definition at line 20 of file SurfaceWaveData.h.
Referenced by main(), and AbsVelRecObjective::PostParallel().
| void SurfaceWaveData::WriteAscii | ( | const std::string & | filename | ) |
Write the data in simple ascii format.
Definition at line 86 of file SurfaceWaveData.cpp.
Referenced by main(), SurfaceWaveObjective::WriteData(), and AbsVelRecObjective::WriteData().
1.5.8