Formula for $ -a \Delta u_{inc} + b k^2 u_{inc}$. More...

#include <pml_formula.h>

Inheritance diagram for concepts::FormulaIncPlaneWaveSource:
concepts::ElementFormula< Cmplx > concepts::Cloneable concepts::OutputOperator

Public Types

typedef std::map< int, double > MID
 
typedef std::map< int, double > MID
 
typedef Cmplx value_type
 

Public Member Functions

virtual FormulaIncPlaneWaveSourceclone () const
 Virtual constructor. More...
 
virtual FormulaIncPlaneWaveSourceclone () const
 Virtual constructor. More...
 
virtual ElementFormula< Cmplx, typename Realtype< Cmplx >::type > * clone () const=0
 Virtual copy constructor. More...
 
 FormulaIncPlaneWaveSource (ElementFormulaContainer< Cmplx > coeff_a, ElementFormulaContainer< Cmplx > coeff_b, RCP< concepts::FormulaExpImag2D > u_inc)
 
 FormulaIncPlaneWaveSource (ElementFormulaContainer< Cmplx > coeff_a, ElementFormulaContainer< Cmplx > coeff_b, RCP< FormulaExpImag2D > u_inc)
 
virtual Cmplx operator() (const ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
 
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 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< Real > &elm, const Real3d &p, const Real t=0.0) const
 
template<class RealNd >
Cmplx operator() (const ElementWithCell< Real > &elm, const RealNd &p, Real2d px, const Real t=0.0) const
 
template<class RealNd >
Cmplx operator() (const ElementWithCell< Real > &elm, const RealNd &p, Real2d px, 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...
 

Static Public Member Functions

static PiecewiseConstFormula< CmplxgenTECoeff (const MID &attToEps)
 
static PiecewiseConstFormula< CmplxgenTECoeff (const MID &attToEps)
 
static PiecewiseConstFormula< CmplxgenTMCoeff (const MID &attToEps)
 
static PiecewiseConstFormula< CmplxgenTMCoeff (const MID &attToEps)
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

concepts::ElementFormulaContainer< Cmplxcoeff_a
 
ElementFormulaContainer< Cmplxcoeff_a
 
concepts::ElementFormulaContainer< Cmplxcoeff_b
 
ElementFormulaContainer< Cmplxcoeff_b
 
RCP< concepts::FormulaExpImag2Du_inc
 
RCP< FormulaExpImag2Du_inc
 

Detailed Description

Formula for $ -a \Delta u_{inc} + b k^2 u_{inc}$.

Definition at line 358 of file pml_formula.h.

Member Typedef Documentation

◆ MID [1/2]

typedef std::map<int, double> concepts::FormulaIncPlaneWaveSource::MID

Definition at line 360 of file pml_formula.h.

◆ MID [2/2]

typedef std::map<int, double> concepts::FormulaIncPlaneWaveSource::MID

Definition at line 392 of file sources.hh.

◆ value_type

typedef Cmplx concepts::ElementFormula< Cmplx , typename Realtype<Cmplx >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ FormulaIncPlaneWaveSource() [1/2]

concepts::FormulaIncPlaneWaveSource::FormulaIncPlaneWaveSource ( ElementFormulaContainer< Cmplx coeff_a,
ElementFormulaContainer< Cmplx coeff_b,
RCP< concepts::FormulaExpImag2D u_inc 
)
inline

Definition at line 362 of file pml_formula.h.

◆ FormulaIncPlaneWaveSource() [2/2]

concepts::FormulaIncPlaneWaveSource::FormulaIncPlaneWaveSource ( ElementFormulaContainer< Cmplx coeff_a,
ElementFormulaContainer< Cmplx coeff_b,
RCP< FormulaExpImag2D u_inc 
)
inline

Definition at line 394 of file sources.hh.

Member Function Documentation

◆ clone() [1/3]

virtual FormulaIncPlaneWaveSource* concepts::FormulaIncPlaneWaveSource::clone ( ) const
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 372 of file pml_formula.h.

◆ clone() [2/3]

virtual FormulaIncPlaneWaveSource* concepts::FormulaIncPlaneWaveSource::clone ( ) const
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 402 of file sources.hh.

◆ clone() [3/3]

virtual ElementFormula<Cmplx ,typename Realtype<Cmplx >::type >* concepts::ElementFormula< Cmplx , typename Realtype<Cmplx >::type >::clone
pure virtualinherited

Virtual copy constructor.

◆ genTECoeff() [1/2]

PiecewiseConstFormula< Cmplx > concepts::FormulaIncPlaneWaveSource::genTECoeff ( const MID attToEps)
static

Definition at line 463 of file pml_formula.h.

◆ genTECoeff() [2/2]

static PiecewiseConstFormula<Cmplx> concepts::FormulaIncPlaneWaveSource::genTECoeff ( const MID attToEps)
static

◆ genTMCoeff() [1/2]

PiecewiseConstFormula< Cmplx > concepts::FormulaIncPlaneWaveSource::genTMCoeff ( const MID attToEps)
static

Definition at line 434 of file pml_formula.h.

◆ genTMCoeff() [2/2]

static PiecewiseConstFormula<Cmplx> concepts::FormulaIncPlaneWaveSource::genTMCoeff ( const MID attToEps)
static

◆ info() [1/2]

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 424 of file pml_formula.h.

◆ info() [2/2]

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 441 of file sources.hh.

◆ operator()() [1/11]

virtual Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 388 of file pml_formula.h.

◆ operator()() [2/11]

virtual Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 418 of file sources.hh.

◆ operator()() [3/11]

virtual Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 382 of file pml_formula.h.

◆ operator()() [4/11]

virtual Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 412 of file sources.hh.

◆ operator()() [5/11]

virtual Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 376 of file pml_formula.h.

◆ operator()() [6/11]

virtual Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 406 of file sources.hh.

◆ operator()() [7/11]

template<class RealNd >
Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const RealNd &  p,
Real2d  px,
const Real  t = 0.0 
) const
inline

Definition at line 395 of file pml_formula.h.

◆ operator()() [8/11]

template<class RealNd >
Cmplx concepts::FormulaIncPlaneWaveSource::operator() ( const ElementWithCell< Real > &  elm,
const RealNd &  p,
Real2d  px,
const Real  t = 0.0 
) const
inline

Definition at line 425 of file sources.hh.

◆ operator()() [9/11]

virtual Cmplx concepts::ElementFormula< Cmplx , typename Realtype<Cmplx >::type >::operator() ( const ElementWithCell< typename Realtype<Cmplx >::type > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [10/11]

virtual Cmplx concepts::ElementFormula< Cmplx , typename Realtype<Cmplx >::type >::operator() ( const ElementWithCell< typename Realtype<Cmplx >::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [11/11]

virtual Cmplx concepts::ElementFormula< Cmplx , typename Realtype<Cmplx >::type >::operator() ( const ElementWithCell< typename Realtype<Cmplx >::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Member Data Documentation

◆ coeff_a [1/2]

concepts::ElementFormulaContainer<Cmplx> concepts::FormulaIncPlaneWaveSource::coeff_a
private

Definition at line 428 of file pml_formula.h.

◆ coeff_a [2/2]

ElementFormulaContainer<Cmplx> concepts::FormulaIncPlaneWaveSource::coeff_a
private

Definition at line 445 of file sources.hh.

◆ coeff_b [1/2]

concepts::ElementFormulaContainer<Cmplx> concepts::FormulaIncPlaneWaveSource::coeff_b
private

Definition at line 428 of file pml_formula.h.

◆ coeff_b [2/2]

ElementFormulaContainer<Cmplx> concepts::FormulaIncPlaneWaveSource::coeff_b
private

Definition at line 445 of file sources.hh.

◆ u_inc [1/2]

RCP< concepts::FormulaExpImag2D > concepts::FormulaIncPlaneWaveSource::u_inc
private

Definition at line 431 of file pml_formula.h.

◆ u_inc [2/2]

RCP< FormulaExpImag2D > concepts::FormulaIncPlaneWaveSource::u_inc
private

Definition at line 446 of file sources.hh.


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