#include <sources.hh>
Public Types | |
typedef concepts::Realtype< F >::type | G |
typedef F | value_type |
Public Member Functions | |
FormulaLayerPlaneWaveTotalGrad (const Vector< Real > &epsilon, const Vector< Real > &d, const Real kx, const Real omega, const std::map< int, int > phystolayer) | |
virtual PiecewiseFormula< Cmplx2d > * | clone () const |
Virtual copy constructor. | |
virtual Cmplx2d | operator() (const Connector &cell, const Real p, const Real t=0.0) const |
Gives the value in an particular cell. | |
virtual Cmplx2d | operator() (const Connector &cell, const Real2d &p, const Real t=0.0) const |
virtual Cmplx2d | operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0 |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
void | set (const uint attrib, const Formula< Cmplx2d > &formula) |
void | set (const uint attrib, const Cmplx2d a) |
void | multiply (const H &factor) |
Multiplies all values with this factor. | |
void | multiply (const uint attrib, const H &factor) |
Multiply the formula with attribute attrib with this factor. | |
virtual const F & | dflt_value () const |
Gives default value. | |
virtual F & | dflt_value () |
Gives default value. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
HashMap< FormulaFactor > | formula_ |
Mapping from the elements on to the formula. | |
Formula for gradient of plane wave source in layered structure.
This Formula build the gradient of layer plane wave
Definition at line 1198 of file sources.hh.
|
inherited |
Definition at line 45 of file piecewiseFormula.hh.
|
inherited |
Definition at line 37 of file elementFormula.hh.
|
inline |
Constructor
epsilon | Vector containing the parameter, per layer, of size |
d | Vector containing the decreasing values of layer separation, of size |
kx | Wave number in the -direction |
omega | Frequency |
phystolayer | Mapping from physical attributes to layer attributes. |
For any cell that has a physical attribute p
, and a layer attribute l
, we consider that
l=0
: the cell is above the line l=N-1
: the cell is below the line Definition at line 1215 of file sources.hh.
|
inline |
Definition at line 1301 of file sources.hh.
|
virtualinherited |
Virtual copy constructor.
Implements concepts::PiecewiseFormulaBase< F >.
|
inlinevirtualinherited |
Gives default value.
Definition at line 83 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Gives default value.
Definition at line 81 of file piecewiseFormula.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::PiecewiseFormulaBase< F >.
|
inherited |
Multiplies all values with this factor.
Definition at line 239 of file formula.hh.
|
inherited |
Multiply the formula with attribute attrib
with this factor.
Definition at line 242 of file formula.hh.
|
virtualinherited |
Gives the value in an particular cell.
Implements concepts::PiecewiseFormulaBase< F >.
|
virtualinherited |
Implements concepts::PiecewiseFormulaBase< F >.
|
virtualinherited |
Implements concepts::PiecewiseFormulaBase< F >.
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
inlinevirtualinherited |
Definition at line 52 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Definition at line 57 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Definition at line 63 of file piecewiseFormula.hh.
|
inherited |
|
protectedinherited |
Mapping from the elements on to the formula.
Definition at line 258 of file formula.hh.