Acoustic FDTD Solver
|
Container class. More...
#include <Model.hpp>
Public Member Functions | |
Model () | |
void | setBackground (AcousticProperty *mat) |
Pointer is added this object, and the object pointed by this pointer is distroyed inside ~Model(). | |
void | add (Shape *shape, AcousticProperty *material) |
Pointers are added this object, and the objects pointed by these pointers are distroyed inside ~Model(). | |
void | surroundPML (const PML &pml) |
~Model () | |
Do nothing. |
Public Attributes | |
Material * | background |
default to free space | |
std::vector< AcousticProperty * > | matrl_vec |
std::vector< Shape * > | shape_vec |
PML | negY |
PML | posY |
PML | negZ |
PML | posZ |
Container class.
Model::Model | ( | ) |
Model::~Model | ( | ) |
Do nothing.
void Model::add | ( | Shape * | shape, |
AcousticProperty * | material | ||
) |
Pointers are added this object, and the objects pointed by these pointers are distroyed inside ~Model().
void Model::setBackground | ( | AcousticProperty * | mat | ) |
Pointer is added this object, and the object pointed by this pointer is distroyed inside ~Model().
void Model::surroundPML | ( | const PML & | pml | ) |
Material* Model::background |
default to free space
std::vector<AcousticProperty *> Model::matrl_vec |
PML Model::negY |
PML Model::negZ |
PML Model::posY |
PML Model::posZ |
std::vector<Shape *> Model::shape_vec |