GPLIB++
Public Member Functions | List of all members
gplib::ParkSurfaceWaveData Class Reference

#include <ParkSurfaceWaveData.h>

Inheritance diagram for gplib::ParkSurfaceWaveData:
Inheritance graph
[legend]

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...
 
SurfaceWaveDataoperator= (const SurfaceWaveData &source)
 
 SurfaceWaveData (const SurfaceWaveData &Old)
 
 SurfaceWaveData ()
 
virtual ~SurfaceWaveData ()
 

Detailed Description

Definition at line 14 of file ParkSurfaceWaveData.h.

Constructor & Destructor Documentation

gplib::ParkSurfaceWaveData::ParkSurfaceWaveData ( )

Definition at line 49 of file ParkSurfaceWaveData.cpp.

gplib::ParkSurfaceWaveData::~ParkSurfaceWaveData ( )
virtual

Definition at line 53 of file ParkSurfaceWaveData.cpp.

Member Function Documentation

void gplib::ParkSurfaceWaveData::ReadAscii ( const std::string &  filename)
virtual
void gplib::ParkSurfaceWaveData::WriteAscii ( const std::string &  filename) const
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().


The documentation for this class was generated from the following files: