![]() |
|
#include <pml_mapping_functions.h>
Public Member Functions | |
BermudezPMLMapping () | |
Default constructor (empty) More... | |
std::complex< double > | gamma (const double &nu_i, const double &pml_width_i, const double &wavenumber_squared, const double &alpha_shift=0.0) |
![]() | |
PMLMapping () | |
Default constructor (empty) More... | |
A mapping function propsed by Bermudez et al, appears to be the best for the Helmholtz equations and so this will be the default mapping (see definition of PmlHelmholtzEquations)
|
inlinevirtual |
Overwrite the pure Pml mapping coefficient function to return the coeffcients proposed by Bermudez et al
return \(\gamma=1 + (1/k)(i/|outer_boundary - x|)\)
Implements oomph::PMLMapping.
References boost::multiprecision::fabs(), oomph::MathematicalConstants::I(), and sqrt().