Public Member Functions | List of all members
oomph::BermudezPMLMapping Class Reference

#include <pml_mapping_functions.h>

+ Inheritance diagram for oomph::BermudezPMLMapping:

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)
 Overwrite the pure Pml mapping coefficient function to return the coeffcients proposed by Bermudez et al. More...
 
- Public Member Functions inherited from oomph::PMLMapping
 PMLMapping ()
 Default constructor (empty) More...
 

Detailed Description

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)

Definition at line 72 of file pml_mapping_functions.h.

Constructor & Destructor Documentation

oomph::BermudezPMLMapping::BermudezPMLMapping ( )
inline

Default constructor (empty)

Definition at line 78 of file pml_mapping_functions.h.

Member Function Documentation

std::complex<double> oomph::BermudezPMLMapping::gamma ( const double &  nu_i,
const double &  pml_width_i,
const double &  wavenumber_squared,
const double &  alpha_shift = 0.0 
)
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.

Definition at line 82 of file pml_mapping_functions.h.

References oomph::MathematicalConstants::I().


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