Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::FormulaIncPlaneWaveSource Class Referenceabstract

#include <sources.hh>

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

Public Types

typedef std::map< int, doubleMID
 
typedef std::map< int, doubleMID
 
typedef Cmplx value_type
 

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

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/2]

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

Virtual copy constructor.

Implements concepts::ElementFormula< Cmplx >.

Definition at line 372 of file pml_formula.h.

◆ clone() [2/2]

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

Virtual copy constructor.

Implements concepts::ElementFormula< Cmplx >.

Definition at line 402 of file sources.hh.

◆ genTECoeff()

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

Definition at line 463 of file pml_formula.h.

◆ genTMCoeff()

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

Definition at line 434 of file pml_formula.h.

◆ 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

The documentation for this class was generated from the following files: