GPLIB++
AnisoSurfaceWaveSynthetic.h
Go to the documentation of this file.
1 #ifndef ANISOSURFACEWAVESYNTHETIC_H_
2 #define ANISOSURFACEWAVESYNTHETIC_H_
3 
4 #include "ParkSurfaceWaveData.h"
6 #include <string>
7 #include <boost/shared_ptr.hpp>
8 
9 #include "types.h"
10 
11 namespace gplib
12  {
13  /** \addtogroup seistools Seismic data analysis and modeling */
14  /* @{ */
15  //! Calculate synthetic anisotropic surface wave data
17  {
18  private:
19  trealdata calculationperiods;
20  boost::shared_ptr<const AnisoSurfaceWaveModel> Model;
21  ParkSurfaceWaveData SynthData;
22  public:
24  {
25  return SynthData;
26  }
28  {
29  return *Model.get();
30  }
31  void SetModel(const boost::shared_ptr<AnisoSurfaceWaveModel> m)
32  {
33  Model = m;
34  }
35  void WriteModel(const std::string &filename) const
36  {
37  Model->WriteModel(filename);
38  }
39  void WritePlot(const std::string &filename) const
40  {
41  Model->WritePlot(filename);
42  }
43  void PreParallel(const std::string &filename);
44  ParkSurfaceWaveData SafeParallel(const std::string &filename);
45  ParkSurfaceWaveData GetSynthData(const std::string &filename);
48  };
49  /* @} */
50  }
51 #endif /*ANISOSURFACEWAVESYNTHETIC_H_*/
A class to store information about anisotropic surface wave models.
void WriteModel(const std::string &filename) const
void SetModel(const boost::shared_ptr< AnisoSurfaceWaveModel > m)
const ParkSurfaceWaveData & GetSynthData() const
const AnisoSurfaceWaveModel & GetModel() const
ParkSurfaceWaveData SafeParallel(const std::string &filename)
void PreParallel(const std::string &filename)
Calculate synthetic anisotropic surface wave data.
void WritePlot(const std::string &filename) const