DtNmap2D.hh
Real integrate(const Element< G > &elm)
Returns the area of the cell belonging to the element elm.
Definition: integral.hh:43
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:49
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:132
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:76
void addExactDtN_X_2Dsincos(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:837
void addExactDtN_Y_2Dsincos(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:656
#define LaplaceDtNCoeff_D
Debug flag for construction of the DtN coefficients.
Definition: DtNmap2D.hh:24
void addExactDtN_Y_2D(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:488
Sequence< Real > getLaplaceDtNCoeff_Circle2D(const Real R, uint N=0)
Returns the coefficients for a non-local DtN map for the Laplace operator for a circular boundary of ...
Definition: DtNmap2D.hh:61
Sequence< Real > getLaplaceDtNCoeff_Straight2D(const Real L, uint N=0)
Returns the coefficients for a non-local DtN map for the Laplace operator for a straight boundary of ...
Definition: DtNmap2D.hh:129
void addExactDtN_X_2D(Matrix< Real > &dest, const SpaceOnCells< Real > &spc, const Sequence< Real > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:373
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
void addExactDtN_X_2Dcos(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:700
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:22
void addInto(Matrix< H > &dest, const I fact, const uint rowoffset=0, const uint coloffset=0) const
This matrix is added as block to the given matrix dest.
Definition: sparseMatrix.hh:538
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:103
#define DEBUGL(doit, msg)
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:250
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:220
void addExactDtN_X_2Dcossin(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:794
void addExactDtN_Circle2D(Matrix< Real > &dest, const SpaceOnCells< Real > &spc, const Sequence< Real > DtNCoeff)
Add DtN contribution for a circular boundary.
Definition: DtNmap2D.hh:223
Cmplx hankel_1_deriv_n(const Real x, const int n)
Evaluates the derivative of the Hankel function .
void addExactDtN_X_2Dunsym(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:772
void addExactDtN_Y_2Dsym(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:553
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:162
void addExactDtN_Y_2Dcossin(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:635
Class for evaluating for points in cartesian coordinates.
Definition: formulas2D.hh:191
void addIntoT(Matrix< H > &dest, const I fact, const uint rowoffset=0, const uint coloffset=0) const
The transposed of this matrix is added as block to the given matrix.
Definition: sparseMatrix.hh:567
Sequence< Cmplx > getHelmholtzDtNCoeff_Circle2D(const Real omega, const Real R, uint N=0)
Returns the coefficients for a non-local DtN map for the Helmholtz operator with frequency omega for ...
Definition: DtNmap2D.hh:39
void addExactDtN_Y_2Dunsym(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:613
void addExactDtN_Y_2Dsin(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:596
Sequence< Cmplx > getHelmholtzDtNCoeff_Straight2D(const Real omega, const Real L, uint N=0)
Returns the coefficients for a non-local DtN map for the Helmholtz operator with frequency omega for ...
Definition: DtNmap2D.hh:190
Sequence< int > makeRangeSequence(uint n)
Returns the sequence 0,1,...,n-1.
void addExactDtN_X_2Dsin(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:737
void addExactDtN_Y_2Dcos(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:578
void addExactDtN_X_2Dsym(Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc, const Sequence< F > DtNCoeff, const Real L=1.0)
Definition: DtNmap2D.hh:675