concepts::FormulaExpImag2DGrad Class Referenceabstract

Formula for gradient of a plane wave. More...

#include <pml_formula.h>

Inheritance diagram for concepts::FormulaExpImag2DGrad:
concepts::Formula< concepts::Point< Cmplx, 2 > >

Public Types

typedef Realtype< concepts::Point< Cmplx, 2 > >::type G
 
typedef concepts::Point< Cmplx, 2 > value_type
 

Public Member Functions

virtual FormulaExpImag2DGradclone () const
 
virtual FormulaExpImag2DGradclone () const
 
virtual Formulaclone () const=0
 
 FormulaExpImag2DGrad (const Real2d k, const Cmplx u=1.0, Real2d x0=Real2d(0, 0))
 
 FormulaExpImag2DGrad (const Real2d k, const Cmplx u=1.0, Real2d x0=Real2d(0, 0))
 
virtual Cmplx2d operator() (const concepts::Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx2d operator() (const concepts::Real3d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx2d operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx2d operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx2d operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx2d operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 
virtual concepts::Point< Cmplx, 2 > operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual concepts::Point< Cmplx, 2 > operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual concepts::Point< Cmplx, 2 > operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual concepts::Point< Cmplx, 2 > operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual concepts::Point< Cmplx, 2 > operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual concepts::Point< Cmplx, 2 > operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 

Public Attributes

const Real2d k
 
const Cmplx u
 
const Real2d x0
 

Protected Member Functions

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

Detailed Description

Formula for gradient of a plane wave.

I.e, formula for $ \nabla_x u \mathrm{exp}(ik(x-x_0)) $.

Definition at line 136 of file pml_formula.h.

Member Typedef Documentation

◆ G

typedef Realtype<concepts::Point< Cmplx, 2 > >::type concepts::Formula< concepts::Point< Cmplx, 2 > >::G
inherited

Definition at line 37 of file formula.hh.

◆ value_type

Definition at line 36 of file formula.hh.

Constructor & Destructor Documentation

◆ FormulaExpImag2DGrad() [1/2]

concepts::FormulaExpImag2DGrad::FormulaExpImag2DGrad ( const Real2d  k,
const Cmplx  u = 1.0,
Real2d  x0 = Real2d(0,0) 
)
inline

Definition at line 139 of file pml_formula.h.

◆ FormulaExpImag2DGrad() [2/2]

concepts::FormulaExpImag2DGrad::FormulaExpImag2DGrad ( const Real2d  k,
const Cmplx  u = 1.0,
Real2d  x0 = Real2d(0,0) 
)
inline

Definition at line 166 of file sources.hh.

Member Function Documentation

◆ clone() [1/3]

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

Definition at line 143 of file pml_formula.h.

◆ clone() [2/3]

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

Definition at line 170 of file sources.hh.

◆ clone() [3/3]

virtual Formula* concepts::Formula< concepts::Point< Cmplx, 2 > >::clone
pure virtualinherited

◆ info() [1/2]

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

Definition at line 170 of file pml_formula.h.

◆ info() [2/2]

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

Definition at line 197 of file sources.hh.

◆ operator()() [1/9]

virtual Cmplx2d concepts::FormulaExpImag2DGrad::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< concepts::Point< Cmplx, 2 > >.

Definition at line 151 of file pml_formula.h.

◆ operator()() [2/9]

virtual Cmplx2d concepts::FormulaExpImag2DGrad::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< concepts::Point< Cmplx, 2 > >.

Definition at line 165 of file pml_formula.h.

◆ operator()() [3/9]

virtual concepts::Point< Cmplx, 2 > concepts::Formula< concepts::Point< Cmplx, 2 > >::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 concepts::Point< Cmplx, 2 > concepts::Formula< concepts::Point< Cmplx, 2 > >::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 concepts::Point< Cmplx, 2 > concepts::Formula< concepts::Point< Cmplx, 2 > >::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 Cmplx2d concepts::FormulaExpImag2DGrad::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< concepts::Point< Cmplx, 2 > >.

Definition at line 147 of file pml_formula.h.

◆ operator()() [7/9]

virtual Cmplx2d concepts::FormulaExpImag2DGrad::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< concepts::Point< Cmplx, 2 > >.

Definition at line 174 of file sources.hh.

◆ operator()() [8/9]

virtual Cmplx2d concepts::FormulaExpImag2DGrad::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< concepts::Point< Cmplx, 2 > >.

Definition at line 178 of file sources.hh.

◆ operator()() [9/9]

virtual Cmplx2d concepts::FormulaExpImag2DGrad::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< concepts::Point< Cmplx, 2 > >.

Definition at line 192 of file sources.hh.

Member Data Documentation

◆ k

const Real2d concepts::FormulaExpImag2DGrad::k

Definition at line 174 of file pml_formula.h.

◆ u

const Cmplx concepts::FormulaExpImag2DGrad::u

Definition at line 175 of file pml_formula.h.

◆ x0

const Real2d concepts::FormulaExpImag2DGrad::x0

Definition at line 174 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