concepts::FormulaLayerPlaneWaveLayerGrad Class Referenceabstract

Formula for gradient of plane wave source in layered structure. More...

#include <sources.hh>

Inheritance diagram for concepts::FormulaLayerPlaneWaveLayerGrad:
concepts::Formula< Cmplx2d >

Public Types

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

Public Member Functions

FormulaLayerPlaneWaveLayerGradclone () const
 
virtual Formulaclone () const=0
 
 FormulaLayerPlaneWaveLayerGrad (const Cmplx a, const Cmplx b, const Real kx, const Real ky, const int layer_label=0)
 
 FormulaLayerPlaneWaveLayerGrad (const FormulaLayerPlaneWaveLayerGrad &other)
 
std::ostream & info (std::ostream &os) const
 
Cmplx2d operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
Cmplx2d operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
Cmplx2d operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 
 ~FormulaLayerPlaneWaveLayerGrad ()
 

Protected Attributes

Cmplx a_
 Complex coefficient associated to the plane wave $\exp(\imath(k_x x + k_y y))$. More...
 
Cmplx b_
 Complex coefficient associated to the plane wave $\exp(\imath(k_x x - k_y y))$. More...
 
Real kx_
 Wave number in the $x$-direction. More...
 
Real ky_
 Wave number in the $y$-direction. More...
 
int layer_label_
 Layer label. More...
 

Detailed Description

Formula for gradient of plane wave source in layered structure.

This formula build the gradient of the layered plane wave source for one layer, given the coefficients of this layer.

Author
Adrien Semin, 2016

Definition at line 1021 of file sources.hh.

Member Typedef Documentation

◆ G

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

Definition at line 37 of file formula.hh.

◆ value_type

Definition at line 36 of file formula.hh.

Constructor & Destructor Documentation

◆ FormulaLayerPlaneWaveLayerGrad() [1/2]

concepts::FormulaLayerPlaneWaveLayerGrad::FormulaLayerPlaneWaveLayerGrad ( const Cmplx  a,
const Cmplx  b,
const Real  kx,
const Real  ky,
const int  layer_label = 0 
)
inline

Definition at line 1036 of file sources.hh.

◆ FormulaLayerPlaneWaveLayerGrad() [2/2]

concepts::FormulaLayerPlaneWaveLayerGrad::FormulaLayerPlaneWaveLayerGrad ( const FormulaLayerPlaneWaveLayerGrad other)
inline

Definition at line 1039 of file sources.hh.

◆ ~FormulaLayerPlaneWaveLayerGrad()

concepts::FormulaLayerPlaneWaveLayerGrad::~FormulaLayerPlaneWaveLayerGrad ( )
inline

Definition at line 1042 of file sources.hh.

Member Function Documentation

◆ clone() [1/2]

FormulaLayerPlaneWaveLayerGrad* concepts::FormulaLayerPlaneWaveLayerGrad::clone ( ) const
inline

Definition at line 1044 of file sources.hh.

◆ clone() [2/2]

virtual Formula* concepts::Formula< Cmplx2d >::clone
pure virtualinherited

◆ info()

std::ostream& concepts::FormulaLayerPlaneWaveLayerGrad::info ( std::ostream &  os) const
inline

Definition at line 1068 of file sources.hh.

◆ operator()() [1/6]

virtual Cmplx2d concepts::Formula< Cmplx2d >::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()() [2/6]

virtual Cmplx2d concepts::Formula< Cmplx2d >::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()() [3/6]

virtual Cmplx2d concepts::Formula< Cmplx2d >::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()() [4/6]

Cmplx2d concepts::FormulaLayerPlaneWaveLayerGrad::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< Cmplx2d >.

Definition at line 1062 of file sources.hh.

◆ operator()() [5/6]

Cmplx2d concepts::FormulaLayerPlaneWaveLayerGrad::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< Cmplx2d >.

Definition at line 1054 of file sources.hh.

◆ operator()() [6/6]

Cmplx2d concepts::FormulaLayerPlaneWaveLayerGrad::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< Cmplx2d >.

Definition at line 1048 of file sources.hh.

Member Data Documentation

◆ a_

Cmplx concepts::FormulaLayerPlaneWaveLayerGrad::a_
protected

Complex coefficient associated to the plane wave $\exp(\imath(k_x x + k_y y))$.

Definition at line 1025 of file sources.hh.

◆ b_

Cmplx concepts::FormulaLayerPlaneWaveLayerGrad::b_
protected

Complex coefficient associated to the plane wave $\exp(\imath(k_x x - k_y y))$.

Definition at line 1027 of file sources.hh.

◆ kx_

Real concepts::FormulaLayerPlaneWaveLayerGrad::kx_
protected

Wave number in the $x$-direction.

Definition at line 1029 of file sources.hh.

◆ ky_

Real concepts::FormulaLayerPlaneWaveLayerGrad::ky_
protected

Wave number in the $y$-direction.

Definition at line 1031 of file sources.hh.

◆ layer_label_

int concepts::FormulaLayerPlaneWaveLayerGrad::layer_label_
protected

Layer label.

Definition at line 1033 of file sources.hh.


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