GPLIB++
FkModel.h
Go to the documentation of this file.
1 #ifndef CFKMODEL_H
2 #define CFKMODEL_H
3 
4 #include "SeismicModel.h"
5 
6 namespace gplib
7  {
8  /** \addtogroup seistools Seismic data analysis and modeling */
9  /* @{ */
10 
11  //! A model for forward calculations with a wavenumber integration code, currently not in use and might be removed in a later version
12  class FkModel: public SeismicModel
13  {
14  private:
15  trealdata RecDist;
16  public:
17  //! Read-only access to the vector of receiver distances
18  const trealdata &GetRecDist() const
19  {
20  return RecDist;
21  }
22  //! Read-write access to the vector of receiver distances
23  trealdata &SetRecDist()
24  {
25  return RecDist;
26  }
27  //! Read the model in its native format from a file
28  virtual void ReadModel(const std::string filename);
29  //! Write the model in its native format to a file
30  virtual void WriteModel(const std::string filename);
31  FkModel();
32  virtual ~FkModel();
33  };
34  /* @} */
35  }
36 #endif // CFKMODEL_H
A model for forward calculations with a wavenumber integration code, currently not in use and might b...
Definition: FkModel.h:12
virtual void ReadModel(const std::string filename)
Read the model in its native format from a file.
Definition: FkModel.cpp:66
virtual void WriteModel(const std::string filename)
Write the model in its native format to a file.
Definition: FkModel.cpp:16
The class SeismicModel is the base class for some of the model format for seismic codes...
Definition: SeismicModel.h:17
virtual ~FkModel()
Definition: FkModel.cpp:12
trealdata & SetRecDist()
Read-write access to the vector of receiver distances.
Definition: FkModel.h:23
const trealdata & GetRecDist() const
Read-only access to the vector of receiver distances.
Definition: FkModel.h:18