concepts::FormulaPMLPowerSigma2D< F > Class Template Referenceabstract
Class for the function for radial PML, see INRIA report of Collino & Monk. More...
#include <pml_formula.h>
Public Types | |
typedef Realtype< Real >::type | G |
typedef Real | value_type |
Public Member Functions | |
virtual FormulaPMLPowerSigma2D * | clone () const |
virtual FormulaPMLPowerSigma2D * | clone () const |
virtual Formula * | clone () const=0 |
FormulaPMLPowerSigma2D (const Real offset, const int power=2, const F sigma0=5.0, const Real2d ¢er=Real2d(0, 0)) | |
FormulaPMLPowerSigma2D (const Real offset, const int power=2, const F sigma0=5.0, const Real2d ¢er=Real2d(0, 0)) | |
Constructor. More... | |
bool | inPMLregion (const concepts::Real2d &p, const Real t=0.0) |
bool | inPMLregion (const Real2d &p, const Real t=0.0) const |
virtual F | operator() (const concepts::Real2d &p, const Real t=0.0) const |
Application operator. More... | |
virtual F | operator() (const concepts::Real3d &p, const Real t=0.0) const |
Application operator. More... | |
virtual F | operator() (const Real p, const Real t=0.0) const |
Application operator. More... | |
virtual F | operator() (const Real p, const Real t=0.0) const |
Application operator. More... | |
virtual F | operator() (const Real2d &p, const Real t=0.0) const |
Application operator. More... | |
virtual F | operator() (const Real3d &p, const Real t=0.0) const |
Application operator. More... | |
Static Public Member Functions | |
template<typename Real > | |
static Real | powi (Real x, int power) |
template<typename Real > | |
static Real | powi (Real x, int powercoeff) |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
const Real2d & | center |
const Real2d | center_ |
Center of circular domain. More... | |
const Real | offset |
const Real | offset_ |
Distance of PML interface to center of circular domain. More... | |
const int | power |
const int | power_ |
const F | sigma0 |
const F | sigma0_ |
Detailed Description
template<typename F = Real>
class concepts::FormulaPMLPowerSigma2D< F >
Class for the function for radial PML, see INRIA report of Collino & Monk.
The function takes the form
where is the distance of PML interface to center of circular domain, and are called PML exponent and PML strength. The radius is the distance from the midpoint of the circular domain.
Definition at line 551 of file pml_formula.h.
Member Typedef Documentation
◆ G
|
inherited |
Definition at line 37 of file formula.hh.
◆ value_type
|
inherited |
Definition at line 36 of file formula.hh.
Constructor & Destructor Documentation
◆ FormulaPMLPowerSigma2D() [1/2]
|
inline |
Definition at line 553 of file pml_formula.h.
◆ FormulaPMLPowerSigma2D() [2/2]
|
inline |
Constructor.
- Parameters
-
offset distance of PML interface to center of circular domain power PML exponent sigma0 PML strength center center of the circular domain
Definition at line 124 of file pml_formula.hh.
Member Function Documentation
◆ clone() [1/3]
|
inlinevirtual |
Definition at line 557 of file pml_formula.h.
◆ clone() [2/3]
|
inlinevirtual |
Definition at line 130 of file pml_formula.hh.
◆ clone() [3/3]
|
pure virtualinherited |
◆ info() [1/2]
|
inlineprotectedvirtual |
Definition at line 598 of file pml_formula.h.
◆ info() [2/2]
|
inlineprotectedvirtual |
Definition at line 170 of file pml_formula.hh.
◆ inPMLregion() [1/2]
|
inline |
Definition at line 565 of file pml_formula.h.
◆ inPMLregion() [2/2]
|
inline |
Definition at line 139 of file pml_formula.hh.
◆ operator()() [1/9]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 573 of file pml_formula.h.
◆ operator()() [2/9]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 581 of file pml_formula.h.
◆ operator()() [3/9]
|
inlinevirtualinherited |
Convenience implementation, that by default ignores its elm param.
Definition at line 53 of file formula.hh.
◆ operator()() [4/9]
|
inlinevirtualinherited |
Convenience implementation, that by default ignores its elm param.
Definition at line 56 of file formula.hh.
◆ operator()() [5/9]
|
inlinevirtualinherited |
Convenience implementation, that by default ignores its elm param.
Definition at line 59 of file formula.hh.
◆ operator()() [6/9]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 561 of file pml_formula.h.
◆ operator()() [7/9]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 134 of file pml_formula.hh.
◆ operator()() [8/9]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 146 of file pml_formula.hh.
◆ operator()() [9/9]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 153 of file pml_formula.hh.
◆ powi() [1/2]
|
inlinestatic |
Definition at line 586 of file pml_formula.h.
◆ powi() [2/2]
|
inlinestatic |
Definition at line 158 of file pml_formula.hh.
Member Data Documentation
◆ center
|
private |
Definition at line 604 of file pml_formula.h.
◆ center_
|
private |
Center of circular domain.
Definition at line 178 of file pml_formula.hh.
◆ offset
|
private |
Definition at line 603 of file pml_formula.h.
◆ offset_
|
private |
Distance of PML interface to center of circular domain.
Definition at line 176 of file pml_formula.hh.
◆ power
|
private |
Definition at line 605 of file pml_formula.h.
◆ power_
|
private |
Definition at line 180 of file pml_formula.hh.
◆ sigma0
|
private |
Definition at line 606 of file pml_formula.h.
◆ sigma0_
|
private |
Definition at line 182 of file pml_formula.hh.
The documentation for this class was generated from the following files:
- applications/pml_formula.h
- waveprop/pml_formula.hh