Acoustic FDTD Solver
GaussianModulatedSinusoid.hpp
Go to the documentation of this file.
1 #ifndef GAUSSIANMODULATEDSINUSOID_HPP
2 #define GAUSSIANMODULATEDSINUSOID_HPP
3 
4 #include "constant.hpp"
5 #include "Function.hpp"
6 
7 
9  double A;
10  double f_c;
11  double mu;
12  double sigma;
13 public:
30  GaussianModulatedSinusoid(const double magnitude,
31  const double frequency,
32  const double mean,
33  const double std_dev);
34  virtual double getValue(const double x) const;
35  virtual void setScale(const double magnitude);
36  virtual double getDf(const double x) const;
37  virtual double getFrequency() const;
38  int getType() const;
40 };
41 
42 #endif