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