Acoustic FDTD Solver
Main Page
Classes
Files
File List
File Members
include
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
Generated on Sun Jun 30 2013 00:04:08 for Acoustic FDTD Solver by
1.8.1.2