Acoustic FDTD Solver
Main Page
Classes
Files
File List
File Members
include
Model.hpp
Go to the documentation of this file.
1
#ifndef MODEL_HPP
2
#define MODEL_HPP
3
4
#include "
constant.hpp
"
5
#include "
Material.hpp
"
6
#include "
AcousticProperty.hpp
"
7
#include "
ElasticProperty.hpp
"
8
#include "
Shape.hpp
"
9
#include "
PML.hpp
"
10
14
class
Model
{
15
public
:
16
Material
*
background
;
17
std::vector<AcousticProperty *>
matrl_vec
;
18
std::vector<Shape *>
shape_vec
;
19
// std::vector<Solid> solid;
20
21
PML
negY
;
22
PML
posY
;
23
PML
negZ
;
24
PML
posZ
;
25
26
Model
();
27
32
void
setBackground
(
AcousticProperty
*mat);
33
39
void
add
(
Shape
*shape,
AcousticProperty
*material);
40
41
void
surroundPML
(
const
PML
&pml);
42
46
~Model
();
47
};
48
49
#endif
Generated on Sun Jun 30 2013 00:04:08 for Acoustic FDTD Solver by
1.8.1.2