Use the complex frequency shifted PML as the acoustic absorbing boundary condition.
More...
#include <PML.hpp>
Public Member Functions |
| | PML () |
| | PML (unsigned nLayers, double xi_ratio, double kappa_max, double alpha_max) |
| | PML (unsigned nLayers, double xi_ratio) |
| | This is effectively the U-PML.
|
| double | getAlpha (const double delta, const unsigned i, const int flag) const |
| double | getXi (const double delta, const unsigned i, const int flag) const |
| | Calculate .
|
| double | getKappa (const double delta, const unsigned i, const int flag) const |
| unsigned | getnLayers () const |
Private Attributes |
| unsigned | N |
| double | xi_rat |
| | ratio between the maxium and the loss proposed in (7.62) in [Taflove2005].
|
| double | ka_max |
| | maxium value of .
|
| double | al_max |
| | maxium value of .
|
| unsigned | m |
| | order of the polynomial used to find the profile of and .
|
| unsigned | m_alpha |
| | order of the polynomial used to find the profile of .
|
Detailed Description
Use the complex frequency shifted PML as the acoustic absorbing boundary condition.
Constructor & Destructor Documentation
| PML::PML |
( |
unsigned |
nLayers, |
|
|
double |
xi_ratio, |
|
|
double |
kappa_max, |
|
|
double |
alpha_max |
|
) |
| |
- Parameters
-
| nLayers | |
| xi_ratio | ratio between the maximum to be used in the PML region and the optimal loss (denoted as ) proposed in (7.62) in [Taflove2005]. |
| kappa_max | |
| alpha_max | |
| PML::PML |
( |
unsigned |
nLayers, |
|
|
double |
xi_ratio |
|
) |
| |
This is effectively the U-PML.
PML:ka_max is set to 1 and PML::al_max is set to 0.0.
Member Function Documentation
| double PML::getAlpha |
( |
const double |
delta, |
|
|
const unsigned |
i, |
|
|
const int |
flag |
|
) |
| const |
| double PML::getKappa |
( |
const double |
delta, |
|
|
const unsigned |
i, |
|
|
const int |
flag |
|
) |
| const |
| unsigned PML::getnLayers |
( |
| ) |
const |
| double PML::getXi |
( |
const double |
delta, |
|
|
const unsigned |
i, |
|
|
const int |
flag |
|
) |
| const |
Calculate
.
- Parameters
-
| delta | spatial increment in the PML region |
| i | identify the i-th PML layer |
| flag | identify the face |
Member Data Documentation
maxium value of
.
maxium value of
.
order of the polynomial used to find the profile of
and
.
Fixed to 3.
order of the polynomial used to find the profile of
.
Fixed to 1.
ratio between the maxium
and the loss proposed in (7.62) in [Taflove2005].
The documentation for this class was generated from the following files: