GPLIB++
|
#include <ParkSurfaceWaveData.h>
Public Member Functions | |
virtual void | ReadAscii (const std::string &filename) |
Read a file in general ascii format, i.e lines with period velocity each. More... | |
virtual void | WriteAscii (const std::string &filename) const |
Write the data in simple ascii format. More... | |
ParkSurfaceWaveData () | |
virtual | ~ParkSurfaceWaveData () |
Public Member Functions inherited from gplib::SurfaceWaveData | |
const trealdata & | GetPhaseVelocities () const |
Read-only access to the vector of phase velocities. More... | |
const trealdata & | GetPeriods () const |
Read-only access to the vector of periods for the phase velocities. More... | |
trealdata & | SetPhaseVelocities () |
Read-write access to phase velocities, the format might be changed in the future. More... | |
trealdata & | SetPeriods () |
Read-write access to periods, the format might be changed in the future. More... | |
void | ReadFile (const std::string &filename) |
Read data from file, depending on the extension. More... | |
void | ReadSurf96 (const std::string &filename) |
read data as produced by the computer programs in seismology codes ascii More... | |
SurfaceWaveData & | operator= (const SurfaceWaveData &source) |
SurfaceWaveData (const SurfaceWaveData &Old) | |
SurfaceWaveData () | |
virtual | ~SurfaceWaveData () |
Definition at line 14 of file ParkSurfaceWaveData.h.
gplib::ParkSurfaceWaveData::ParkSurfaceWaveData | ( | ) |
Definition at line 49 of file ParkSurfaceWaveData.cpp.
|
virtual |
Definition at line 53 of file ParkSurfaceWaveData.cpp.
|
virtual |
Read a file in general ascii format, i.e lines with period velocity each.
Reimplemented from gplib::SurfaceWaveData.
Definition at line 10 of file ParkSurfaceWaveData.cpp.
References gplib::SurfaceWaveData::GetPeriods(), gplib::SurfaceWaveData::GetPhaseVelocities(), gplib::SurfaceWaveData::SetPeriods(), and gplib::SurfaceWaveData::SetPhaseVelocities().
Referenced by gplib::AnisoSurfaceWaveSynthetic::SafeParallel(), and SetupSurfaceWaveObjective().
|
virtual |
Write the data in simple ascii format.
Reimplemented from gplib::SurfaceWaveData.
Definition at line 34 of file ParkSurfaceWaveData.cpp.
References gplib::SurfaceWaveData::GetPeriods(), gplib::SurfaceWaveData::GetPhaseVelocities(), and size.
Referenced by gplib::AnisoSurfaceWaveObjective::WriteData().