concepts::LocalDtNmapFeng2D Class Reference

Class that allows to apply the local DtN Boundary Conditions of Feng for the Helmholtz equation for order 1-5. More...

#include <localDtNmap2D.hh>

Public Member Functions

void addlocalDtNmapFeng2D (double R, double k, int N, double h, int p, Matrix< Cmplx > &dest, concepts::Vector< Cmplx > &destVec, const SpaceOnCells< Real > &spc)
 Adds the local DtN operator of Feng to the destination matrix, evaluates the DtN operator on the incoming wave and adds it to the destination vector. More...
 
void addlocalDtNmapFeng2D (double R, double k, int N, double h, int p, Matrix< Cmplx > &dest, const SpaceOnCells< Real > &spc)
 Adds the local DtN operator of Feng to the destination matrix. More...
 
 LocalDtNmapFeng2D ()
 Constructor. More...
 
void setFactor (const concepts::Cmplx factor)
 Changes the factor for the local DtN map. More...
 
void setuInc (const concepts::ParsedFormula< Cmplx > &uinc)
 Sets the incoming wave for the ...field formulation. More...
 
void setuIncD2 (const concepts::ParsedFormula< Cmplx > &uincD2)
 Sets the second tangential derivative of the incoming wave for the ...field formulation. More...
 
void setuIncD4 (const concepts::ParsedFormula< Cmplx > &uincD4)
 Sets the fourth tangential derivative of the incoming wave for the ...field formulation. More...
 
virtual ~LocalDtNmapFeng2D ()
 Destructor. More...
 

Protected Attributes

concepts::Cmplx factor_
 The DtN map is multiplied with the factor before added into the destination matrix. More...
 
std::unique_ptr< concepts::ParsedFormula< Cmplx > > uInc_
 
std::unique_ptr< concepts::ParsedFormula< Cmplx > > uIncD2_
 The second tangential derivative of the incoming wave. More...
 
std::unique_ptr< concepts::ParsedFormula< Cmplx > > uIncD4_
 The second tangential derivative of the incoming wave. More...
 

Detailed Description

Class that allows to apply the local DtN Boundary Conditions of Feng for the Helmholtz equation for order 1-5.

Definition at line 19 of file localDtNmap2D.hh.

Constructor & Destructor Documentation

◆ LocalDtNmapFeng2D()

concepts::LocalDtNmapFeng2D::LocalDtNmapFeng2D ( )

Constructor.

◆ ~LocalDtNmapFeng2D()

virtual concepts::LocalDtNmapFeng2D::~LocalDtNmapFeng2D ( )
virtual

Destructor.

Member Function Documentation

◆ addlocalDtNmapFeng2D() [1/2]

void concepts::LocalDtNmapFeng2D::addlocalDtNmapFeng2D ( double  R,
double  k,
int  N,
double  h,
int  p,
Matrix< Cmplx > &  dest,
concepts::Vector< Cmplx > &  destVec,
const SpaceOnCells< Real > &  spc 
)

Adds the local DtN operator of Feng to the destination matrix, evaluates the DtN operator on the incoming wave and adds it to the destination vector.

Parameters
R- The radius of the circle on which fengs boundary conditions are applied
k- The wavenumber of the problem
N- The number when Fengs expansion should be truncated
h- The size of the Elements in the Space
dest- The matrix where the local DtN operator of Feng is written
destVec- The vector where the evaluation of the local DtN operator of the incoming wave is written.
spc- The trace space on the outer circle, where fengs boundary conditions are applied

◆ addlocalDtNmapFeng2D() [2/2]

void concepts::LocalDtNmapFeng2D::addlocalDtNmapFeng2D ( double  R,
double  k,
int  N,
double  h,
int  p,
Matrix< Cmplx > &  dest,
const SpaceOnCells< Real > &  spc 
)

Adds the local DtN operator of Feng to the destination matrix.

Parameters
R- The radius of the circle on which fengs boundary conditions are applied
k- The wavenumber of the problem
N- The number when Fengs expansion should be truncated
h- The size of the Elements in the Space
dest- The system matrix without Fengs DtN-operator
spc- The trace space on the outer circle, where fengs boundary conditions are applied

◆ setFactor()

void concepts::LocalDtNmapFeng2D::setFactor ( const concepts::Cmplx  factor)

Changes the factor for the local DtN map.

Parameters
factor

◆ setuInc()

void concepts::LocalDtNmapFeng2D::setuInc ( const concepts::ParsedFormula< Cmplx > &  uinc)

Sets the incoming wave for the ...field formulation.

Parameters
uinc- The incoming wave as ParsedForumla

◆ setuIncD2()

void concepts::LocalDtNmapFeng2D::setuIncD2 ( const concepts::ParsedFormula< Cmplx > &  uincD2)

Sets the second tangential derivative of the incoming wave for the ...field formulation.

Just required for Fengs boundary condition of order > 1

Parameters
uincD2- The second tangential derivative of the incoming wave as ParsedForumla

◆ setuIncD4()

void concepts::LocalDtNmapFeng2D::setuIncD4 ( const concepts::ParsedFormula< Cmplx > &  uincD4)

Sets the fourth tangential derivative of the incoming wave for the ...field formulation.

Just required for Fengs boundary condition of order > 3

Parameters
uincD4- The fourth tangential derivative of the incoming wave as ParsedForumla

Member Data Documentation

◆ factor_

concepts::Cmplx concepts::LocalDtNmapFeng2D::factor_
protected

The DtN map is multiplied with the factor before added into the destination matrix.

Default value is 1.

Definition at line 97 of file localDtNmap2D.hh.

◆ uInc_

std::unique_ptr<concepts::ParsedFormula<Cmplx> > concepts::LocalDtNmapFeng2D::uInc_
protected

Definition at line 85 of file localDtNmap2D.hh.

◆ uIncD2_

std::unique_ptr<concepts::ParsedFormula<Cmplx> > concepts::LocalDtNmapFeng2D::uIncD2_
protected

The second tangential derivative of the incoming wave.

Definition at line 88 of file localDtNmap2D.hh.

◆ uIncD4_

std::unique_ptr<concepts::ParsedFormula<Cmplx> > concepts::LocalDtNmapFeng2D::uIncD4_
protected

The second tangential derivative of the incoming wave.

Definition at line 91 of file localDtNmap2D.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