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

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) More...

#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 65 of file pml_mapping_functions.h.

Constructor & Destructor Documentation

◆ BermudezPMLMapping()

oomph::BermudezPMLMapping::BermudezPMLMapping ( )
inline

Default constructor (empty)

Definition at line 69 of file pml_mapping_functions.h.

Member Function Documentation

◆ gamma()

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 73 of file pml_mapping_functions.h.

References oomph::MathematicalConstants::I().


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