Acoustic FDTD Solver
Main Page
Classes
Files
File List
File Members
include
Scalar.hpp
Go to the documentation of this file.
1
#ifndef SCALAR_HPP
2
#define SCALR_HPP
3
4
#include "
constant.hpp
"
5
#include "
Function.hpp
"
6
7
8
class
Scalar
:
public
Function
{
9
double
A
;
10
public
:
11
Scalar
(
const
double
magnitude);
12
virtual
double
getValue
(
const
double
x)
const
;
13
virtual
void
setScale
(
const
double
magnitude);
15
virtual
double
getDf
(
const
double
x)
const
;
16
virtual
double
getFrequency
()
const
;
17
int
getType
()
const
;
18
virtual
~Scalar
() {}
19
20
};
21
22
#endif
Generated on Sun Jun 30 2013 00:04:08 for Acoustic FDTD Solver by
1.8.1.2