Acoustic FDTD Solver
Main Page
Classes
Files
File List
File Members
include
HardPlaneWaveSource.hpp
Go to the documentation of this file.
1
#ifndef HARDPLANEWAVESOURCE_HPP
2
#define HARDPLANEWAVESOURCE_HPP
3
4
#include "
constant.hpp
"
5
#include "
Function.hpp
"
6
#include "
Gaussian.hpp
"
7
#include "
GaussianModulatedSinusoid.hpp
"
8
#include "
Sinusoid.hpp
"
9
#include "
Scalar.hpp
"
10
11
12
27
class
HardPlaneWaveSource
{
28
public
:
29
double
theta
;
30
double
y_0
;
31
double
z_0
;
32
Function
*
f_t
;
33
Function
*
g_z
;
34
double
T
;
35
public
:
36
HardPlaneWaveSource
();
55
HardPlaneWaveSource
(
const
double
incident_angle,
56
const
double
y_coord,
57
const
double
z_coord,
58
const
double
freq,
59
const
double
t_spread,
60
const
double
s_spread);
61
62
77
HardPlaneWaveSource
(
const
double
incident_angle,
78
const
double
y_coord,
79
const
double
z_coord,
80
const
double
freq,
81
const
unsigned
nPeriods,
82
const
double
s_spread);
83
98
HardPlaneWaveSource
(
const
double
incident_angle,
99
const
double
y_coord,
100
const
double
freq,
101
const
double
t_spread);
102
110
double
getSpatialWaveform
(
const
double
z)
const
;
111
119
double
getTemporalWaveform
(
const
double
t,
const
double
z,
const
double
v_p)
const
;
120
121
122
double
getFrequency
();
123
124
};
125
126
#endif
Generated on Sun Jun 30 2013 00:04:08 for Acoustic FDTD Solver by
1.8.1.2