Formula for $u \mathrm{exp}(ik(x-x_0))$. More...

#include <pml_formula.h>

Inheritance diagram for concepts::FormulaExpImag1D:
concepts::Formula< Cmplx >

Public Types

typedef Realtype< Cmplx >::type G
 
typedef Cmplx value_type
 

Public Member Functions

virtual FormulaExpImag1Dclone () const
 
virtual FormulaExpImag1Dclone () const
 
virtual Formulaclone () const=0
 
 FormulaExpImag1D (const Real k, const Cmplx u=1.0, Real x0=0.0)
 
 FormulaExpImag1D (const Real k, const Cmplx u=1.0, Real x0=0.0)
 
virtual Cmplx operator() (const concepts::Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx operator() (const concepts::Real3d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 
virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

const Real k_
 
const Cmplx u_
 
const Real x0_
 

Detailed Description

Formula for $u \mathrm{exp}(ik(x-x_0))$.

Definition at line 22 of file pml_formula.h.

Member Typedef Documentation

◆ G

typedef Realtype<Cmplx >::type concepts::Formula< Cmplx >::G
inherited

Definition at line 37 of file formula.hh.

◆ value_type

typedef Cmplx concepts::Formula< Cmplx >::value_type
inherited

Definition at line 36 of file formula.hh.

Constructor & Destructor Documentation

◆ FormulaExpImag1D() [1/2]

concepts::FormulaExpImag1D::FormulaExpImag1D ( const Real  k,
const Cmplx  u = 1.0,
Real  x0 = 0.0 
)
inline

Definition at line 24 of file pml_formula.h.

◆ FormulaExpImag1D() [2/2]

concepts::FormulaExpImag1D::FormulaExpImag1D ( const Real  k,
const Cmplx  u = 1.0,
Real  x0 = 0.0 
)
inline

Definition at line 53 of file sources.hh.

Member Function Documentation

◆ clone() [1/3]

virtual FormulaExpImag1D* concepts::FormulaExpImag1D::clone ( ) const
inlinevirtual

Definition at line 27 of file pml_formula.h.

◆ clone() [2/3]

virtual FormulaExpImag1D* concepts::FormulaExpImag1D::clone ( ) const
inlinevirtual

Definition at line 56 of file sources.hh.

◆ clone() [3/3]

virtual Formula* concepts::Formula< Cmplx >::clone ( ) const
pure virtualinherited

◆ info() [1/2]

virtual std::ostream& concepts::FormulaExpImag1D::info ( std::ostream &  os) const
inlineprotectedvirtual

Definition at line 42 of file pml_formula.h.

◆ info() [2/2]

virtual std::ostream& concepts::FormulaExpImag1D::info ( std::ostream &  os) const
inlineprotectedvirtual

Definition at line 71 of file sources.hh.

◆ operator()() [1/9]

virtual Cmplx concepts::FormulaExpImag1D::operator() ( const concepts::Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

Definition at line 35 of file pml_formula.h.

◆ operator()() [2/9]

virtual Cmplx concepts::FormulaExpImag1D::operator() ( const concepts::Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

Definition at line 38 of file pml_formula.h.

◆ operator()() [3/9]

virtual Cmplx concepts::Formula< Cmplx >::operator() ( const Connector cntr,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Convenience implementation, that by default ignores its elm param.

Definition at line 53 of file formula.hh.

◆ operator()() [4/9]

virtual Cmplx concepts::Formula< Cmplx >::operator() ( const Connector cntr,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Convenience implementation, that by default ignores its elm param.

Definition at line 56 of file formula.hh.

◆ operator()() [5/9]

virtual Cmplx concepts::Formula< Cmplx >::operator() ( const Connector cntr,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Convenience implementation, that by default ignores its elm param.

Definition at line 59 of file formula.hh.

◆ operator()() [6/9]

virtual Cmplx concepts::FormulaExpImag1D::operator() ( const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

Definition at line 31 of file pml_formula.h.

◆ operator()() [7/9]

virtual Cmplx concepts::FormulaExpImag1D::operator() ( const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

Definition at line 60 of file sources.hh.

◆ operator()() [8/9]

virtual Cmplx concepts::FormulaExpImag1D::operator() ( const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

Definition at line 64 of file sources.hh.

◆ operator()() [9/9]

virtual Cmplx concepts::FormulaExpImag1D::operator() ( const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

Definition at line 67 of file sources.hh.

Member Data Documentation

◆ k_

const Real concepts::FormulaExpImag1D::k_
private

Definition at line 46 of file pml_formula.h.

◆ u_

const Cmplx concepts::FormulaExpImag1D::u_
private

Definition at line 47 of file pml_formula.h.

◆ x0_

const Real concepts::FormulaExpImag1D::x0_
private

Definition at line 46 of file pml_formula.h.


The documentation for this class was generated from the following files:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich