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

A class to store information about anisotropic surface wave models. More...

#include <AnisoSurfaceWaveModel.h>

Public Member Functions

const trealdata & GetThicknesses () const
 Get read-only access to the vector of layer thicknesses in km. More...
 
const trealdata & GetVp () const
 Get read-only access to the vector of P-wave velocities in km/s. More...
 
const trealdata & GetVs () const
 Get read-only access to the vector of S-wave velocities in km/s. More...
 
const trealdata & GetVsapp () const
 Get read-only access to the vector of apparent S-wave velocities in km/s. More...
 
const trealdata & GetAngle1 () const
 Get read-only access to the vector of S-wave velocities in km/s. More...
 
const trealdata & GetB () const
 Get read-only access to the vector of anisotropy coefficients for each layer. More...
 
const trealdata & GetTemp () const
 Get read-only access to the vector of anisotropy coefficients for each layer. More...
 
const trealdata & GetTemp2 () const
 
const trealdata & GetC () const
 Get read-only access to the vector of anisotropy coefficients for each layer. More...
 
const trealdata & GetE () const
 Get read-only access to the vector of anisotropy coefficients for each layer. More...
 
const trealdata & GetAnisoS () const
 Get read-only access to the vector of anisotropy coefficients for each layer. More...
 
const trealdata & GetTheta () const
 Get read-only access to the vector of anisotropy angles theta for each layer. More...
 
const trealdata & GetPhi () const
 Get read-only access to the vector of anisotropy angles phi for each layer. More...
 
const trealdata & GetDensities () const
 Get read-only access to the vector densities for each layer. More...
 
trealdata & SetThicknesses ()
 Set the vector of layer thicknesses in km. More...
 
trealdata & SetVp ()
 Set the vector of P-wave velocities in km/s. More...
 
trealdata & SetVs ()
 Set the vector of S-wave velocities in km/s. More...
 
trealdata & SetVsapp ()
 Set the vector of S-wave velocities in km/s. More...
 
trealdata & SetAngle1 ()
 Set the vector of S-wave velocities in km/s. More...
 
trealdata & SetB ()
 Set the vector of anisotropy coefficients B. More...
 
trealdata & SetTemp ()
 Set the vector of temporary coefficient Temp. More...
 
trealdata & SetTemp2 ()
 Set the vector of temporary coefficient Temp2. More...
 
trealdata & SetC ()
 Set the vector of anisotropy coefficients C. More...
 
trealdata & SetE ()
 Set the vector of anisotropy coefficients E. More...
 
trealdata & SetAnisoS ()
 Set the vector of anisotropy coefficients E. More...
 
trealdata & SetTheta ()
 Set the vector of anisotropy angles theta. More...
 
trealdata & SetPhi ()
 Set the vector of anisotropy angles phi. More...
 
trealdata & SetDensities ()
 Set the vector of densities. More...
 
void ReadModel (const std::string &filename)
 Read the model information from an ascii file with name filename. More...
 
void WriteModel (const std::string &filename) const
 Write the model to a file with name filename. More...
 
void WriteRunFile (const std::string &filename) const
 Write out a script that computes synthetic data for a model with name filename+.dat. More...
 
void WritePlot (const std::string &filename) const
 Write out an ascii file for plotting the model with xmgrace. More...
 
 AnisoSurfaceWaveModel ()
 
virtual ~AnisoSurfaceWaveModel ()
 

Detailed Description

A class to store information about anisotropic surface wave models.

This class stores 1D anisotropic seismic models. At the moment we use these models to calculate surface waves with AnisoSurfaceWaveSynthetic, but in general it can be used for other seismic methods as well.

Definition at line 18 of file AnisoSurfaceWaveModel.h.

Constructor & Destructor Documentation

gplib::AnisoSurfaceWaveModel::AnisoSurfaceWaveModel ( )

Definition at line 15 of file AnisoSurfaceWaveModel.cpp.

gplib::AnisoSurfaceWaveModel::~AnisoSurfaceWaveModel ( )
virtual

Definition at line 19 of file AnisoSurfaceWaveModel.cpp.

Member Function Documentation

const trealdata& gplib::AnisoSurfaceWaveModel::GetAngle1 ( ) const
inline

Get read-only access to the vector of S-wave velocities in km/s.

Definition at line 64 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetAnisoS ( ) const
inline

Get read-only access to the vector of anisotropy coefficients for each layer.

Definition at line 93 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetB ( ) const
inline

Get read-only access to the vector of anisotropy coefficients for each layer.

Definition at line 69 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetC ( ) const
inline

Get read-only access to the vector of anisotropy coefficients for each layer.

Definition at line 83 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetDensities ( ) const
inline

Get read-only access to the vector densities for each layer.

Definition at line 108 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetE ( ) const
inline

Get read-only access to the vector of anisotropy coefficients for each layer.

Definition at line 88 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetPhi ( ) const
inline

Get read-only access to the vector of anisotropy angles phi for each layer.

Definition at line 103 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetTemp ( ) const
inline

Get read-only access to the vector of anisotropy coefficients for each layer.

Definition at line 74 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetTemp2 ( ) const
inline

Definition at line 78 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetTheta ( ) const
inline

Get read-only access to the vector of anisotropy angles theta for each layer.

Definition at line 98 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetThicknesses ( ) const
inline

Get read-only access to the vector of layer thicknesses in km.

Definition at line 44 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetVp ( ) const
inline

Get read-only access to the vector of P-wave velocities in km/s.

Definition at line 49 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetVs ( ) const
inline

Get read-only access to the vector of S-wave velocities in km/s.

Definition at line 54 of file AnisoSurfaceWaveModel.h.

const trealdata& gplib::AnisoSurfaceWaveModel::GetVsapp ( ) const
inline

Get read-only access to the vector of apparent S-wave velocities in km/s.

Definition at line 59 of file AnisoSurfaceWaveModel.h.

void gplib::AnisoSurfaceWaveModel::ReadModel ( const std::string &  filename)

Read the model information from an ascii file with name filename.

Definition at line 23 of file AnisoSurfaceWaveModel.cpp.

trealdata& gplib::AnisoSurfaceWaveModel::SetAngle1 ( )
inline

Set the vector of S-wave velocities in km/s.

Definition at line 133 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetAnisoS ( )
inline

Set the vector of anisotropy coefficients E.

Definition at line 163 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetB ( )
inline

Set the vector of anisotropy coefficients B.

Definition at line 138 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetC ( )
inline

Set the vector of anisotropy coefficients C.

Definition at line 153 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetDensities ( )
inline

Set the vector of densities.

Definition at line 178 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetE ( )
inline

Set the vector of anisotropy coefficients E.

Definition at line 158 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetPhi ( )
inline

Set the vector of anisotropy angles phi.

Definition at line 173 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetTemp ( )
inline

Set the vector of temporary coefficient Temp.

Definition at line 143 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetTemp2 ( )
inline

Set the vector of temporary coefficient Temp2.

Definition at line 148 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetTheta ( )
inline

Set the vector of anisotropy angles theta.

Definition at line 168 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetThicknesses ( )
inline

Set the vector of layer thicknesses in km.

Definition at line 113 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetVp ( )
inline

Set the vector of P-wave velocities in km/s.

Definition at line 118 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetVs ( )
inline

Set the vector of S-wave velocities in km/s.

Definition at line 123 of file AnisoSurfaceWaveModel.h.

trealdata& gplib::AnisoSurfaceWaveModel::SetVsapp ( )
inline

Set the vector of S-wave velocities in km/s.

Definition at line 128 of file AnisoSurfaceWaveModel.h.

void gplib::AnisoSurfaceWaveModel::WriteModel ( const std::string &  filename) const

Write the model to a file with name filename.

Definition at line 97 of file AnisoSurfaceWaveModel.cpp.

void gplib::AnisoSurfaceWaveModel::WritePlot ( const std::string &  filename) const

Write out an ascii file for plotting the model with xmgrace.

Definition at line 241 of file AnisoSurfaceWaveModel.cpp.

void gplib::AnisoSurfaceWaveModel::WriteRunFile ( const std::string &  filename) const

Write out a script that computes synthetic data for a model with name filename+.dat.

Definition at line 195 of file AnisoSurfaceWaveModel.cpp.


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