Acoustic FDTD Solver
Public Member Functions | Public Attributes | List of all members
Model Class Reference

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

Materialbackground
 default to free space
std::vector< AcousticProperty * > matrl_vec
std::vector< Shape * > shape_vec
PML negY
PML posY
PML negZ
PML posZ

Detailed Description

Container class.

Constructor & Destructor Documentation

Model::Model ( )
Model::~Model ( )

Do nothing.

Member Function Documentation

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)

Member Data Documentation

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

The documentation for this class was generated from the following files: