concepts::FormulaPMLEdgeRadia Class Referenceabstract
Class for radial PML in polar coordinates. More...
#include <pml_edge.hh>
Public Types | |
enum | Mode : int { Mode::A11, Mode::A22, Mode::A12, Mode::A21, Mode::M11, Mode::M22, Mode::M12, Mode::M21, Mode::N11, Mode::N22, Mode::N12, Mode::N21, Mode::IDENT, Mode::ROTROT } |
typedef Cmplx | value_type |
Public Member Functions | |
virtual FormulaPMLEdgeRadia * | clone () const |
Virtual constructor. More... | |
virtual ElementFormula< Cmplx, typename Realtype< Cmplx >::type > * | clone () const=0 |
Virtual copy constructor. More... | |
FormulaPMLEdgeRadia () | |
Constructor. More... | |
FormulaPMLEdgeRadia (RCP< Formula< Real > > sigma, RCP< Formula< Real > > sigmaB, Mode mode, const Real2d ¢er=Real2d(0, 0)) | |
virtual Cmplx | operator() (const ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const |
virtual Cmplx | operator() (const ElementWithCell< Real > &elm, const Real2d &p, const Real t=0.0) const |
virtual Cmplx | operator() (const ElementWithCell< Real > &elm, const Real3d &p, const Real t=0.0) const |
virtual Cmplx | operator() (const ElementWithCell< typename Realtype< Cmplx >::type > &elm, const Real p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual Cmplx | operator() (const ElementWithCell< typename Realtype< Cmplx >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual Cmplx | operator() (const ElementWithCell< typename Realtype< Cmplx >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
RCP< Formula< Real > > | sigma () const |
RCP< Formula< Real > > | sigmaB () const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Member Functions | |
Cmplx | gamma_ (Real2d &p) const |
Returns the parameter on page 2067 (no equation number) of the above article. More... | |
Cmplx | gammaB_ (Real2d &p) const |
Returns the parameter on page 2067 (no equation number) of the above article. More... | |
Private Attributes | |
Real2d | center_ |
Center of PML. More... | |
Mode | mode_ |
The choosen mode. More... | |
RCP< Formula< Real > > | sigma_ |
Function . More... | |
RCP< Formula< Real > > | sigmaB_ |
Function . More... | |
Detailed Description
Class for radial PML in polar coordinates.
The class provides formulas for radial PML in polar coordinates, which are determined by one of the following modes:
IDENT The term for the (scalar) identity. ROTROT The term for the curl-curl. Aij The i-j-enty of the matrix function A. Mij The i-j-enty of the matrix function M. Nij The i-j-enty of the matrix function N.
Definition at line 30 of file pml_edge.hh.
Member Typedef Documentation
◆ value_type
|
inherited |
Definition at line 37 of file elementFormula.hh.
Member Enumeration Documentation
◆ Mode
|
strong |
Enumerator | |
---|---|
A11 | |
A22 | |
A12 | |
A21 | |
M11 | |
M22 | |
M12 | |
M21 | |
N11 | |
N22 | |
N12 | |
N21 | |
IDENT | |
ROTROT |
Definition at line 32 of file pml_edge.hh.
Constructor & Destructor Documentation
◆ FormulaPMLEdgeRadia() [1/2]
concepts::FormulaPMLEdgeRadia::FormulaPMLEdgeRadia | ( | ) |
◆ FormulaPMLEdgeRadia() [2/2]
concepts::FormulaPMLEdgeRadia::FormulaPMLEdgeRadia | ( | RCP< Formula< Real > > | sigma, |
RCP< Formula< Real > > | sigmaB, | ||
Mode | mode, | ||
const Real2d & | center = Real2d(0, 0) |
||
) |
Member Function Documentation
◆ clone() [1/2]
|
inlinevirtual |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::Cloneable.
Definition at line 60 of file pml_edge.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual copy constructor.
◆ gamma_()
Returns the parameter on page 2067 (no equation number) of the above article.
Definition at line 92 of file pml_edge.hh.
◆ gammaB_()
Returns the parameter on page 2067 (no equation number) of the above article.
Definition at line 98 of file pml_edge.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
◆ operator()() [1/6]
|
virtual |
◆ operator()() [2/6]
|
virtual |
◆ operator()() [3/6]
|
virtual |
◆ operator()() [4/6]
|
pure virtualinherited |
◆ operator()() [5/6]
|
pure virtualinherited |
◆ operator()() [6/6]
|
pure virtualinherited |
◆ sigma()
Definition at line 71 of file pml_edge.hh.
◆ sigmaB()
Definition at line 74 of file pml_edge.hh.
Member Data Documentation
◆ center_
|
private |
Center of PML.
Definition at line 87 of file pml_edge.hh.
◆ mode_
|
private |
The choosen mode.
Definition at line 85 of file pml_edge.hh.
◆ sigma_
Function .
Definition at line 81 of file pml_edge.hh.
◆ sigmaB_
Function .
Definition at line 83 of file pml_edge.hh.
The documentation for this class was generated from the following file:
- waveprop/pml_edge.hh