Acoustic FDTD Solver
Gaussian.hpp
Go to the documentation of this file.
1 #ifndef GAUSSIAN_HPP
2 #define GAUSSIAN_HPP
3 
4 #include "constant.hpp"
5 #include "Function.hpp"
6 
7 
8 class Gaussian:public Function {
9  double A;
10  double mu;
11  double sigma;
12 public:
13  Gaussian(const double magnitude,
14  const double mean,
15  const double std_dev);
16  virtual double getValue(const double x) const;
17  virtual void setScale(const double magnitude);
19  virtual double getDf(const double x) const;
20  virtual double getFrequency() const;
21  int getType() const;
22  virtual ~Gaussian() {}
23 };
24 
25 #endif