Acoustic FDTD Solver
Function.hpp
Go to the documentation of this file.
1 #ifndef FUNCTION_HPP
2 #define FUNCTION_HPP
3 
4 #include "constant.hpp"
5 
6 
7 class Function {
8 public:
9  Function();
13  virtual double getValue(const double x) const;
14  virtual void setScale(const double x);
18  virtual double getDf(const double x) const;
22  virtual double getFrequency() const;
35  double rtnewt(const double x1, const double x2, const double xacc) const;
45  double rtsecan(double xn_1, double xn, const double xacc) const;
46 
47  virtual ~Function() {}
48 };
49 
50 #endif