ProblemParameters Namespace Reference

Namespace for the Fourier decomposed Helmholtz problem parameters. More...

## Functions

Vector< double > Coeff (N_terms, 1.0)
Coefficients in the exact solution. More...

std::complex< double > I (0.0, 1.0)
Imaginary unit. More...

void get_exact_u (const Vector< double > &x, Vector< double > &u)
Exact solution as a Vector of size 2, containing real and imag parts. More...

void exact_minus_dudr (const Vector< double > &x, std::complex< double > &flux)
Get -du/dr (spherical r) for exact solution. Equal to prescribed flux on inner boundary. More...

## Variables

double K_squared =10.0
Square of the wavenumber. More...

int N_fourier =3
Fourier wave number. More...

unsigned Nterms_for_DtN =6
Number of terms in computation of DtN boundary condition. More...

unsigned N_terms =6
Number of terms in the exact solution. More...

unsigned El_multiplier =1
Multiplier for number of elements. More...

## Detailed Description

Namespace for the Fourier decomposed Helmholtz problem parameters.

## Function Documentation

 Vector< double > ProblemParameters::Coeff ( N_terms , 1. 0 )

Coefficients in the exact solution.

Referenced by exact_minus_dudr(), and get_exact_u().

 void ProblemParameters::exact_minus_dudr ( const Vector< double > & x, std::complex< double > & flux )

Get -du/dr (spherical r) for exact solution. Equal to prescribed flux on inner boundary.

Definition at line 306 of file sphere_scattering.cc.

References Coeff(), I(), K_squared, N_fourier, and N_terms.

 void ProblemParameters::get_exact_u ( const Vector< double > & x, Vector< double > & u )

Exact solution as a Vector of size 2, containing real and imag parts.

Definition at line 247 of file sphere_scattering.cc.

References Coeff(), I(), K_squared, N_fourier, and N_terms.

 std::complex< double > ProblemParameters::I ( 0. 0, 1. 0 )

## Variable Documentation

 unsigned ProblemParameters::El_multiplier =1

Multiplier for number of elements.

Definition at line 367 of file sphere_scattering.cc.

 double ProblemParameters::K_squared =10.0

Square of the wavenumber.

Definition at line 229 of file sphere_scattering.cc.

 int ProblemParameters::N_fourier =3

Fourier wave number.

Definition at line 232 of file sphere_scattering.cc.

 unsigned ProblemParameters::N_terms =6

Number of terms in the exact solution.

Definition at line 238 of file sphere_scattering.cc.

Referenced by exact_minus_dudr(), PlanarWave::get_exact_u(), and get_exact_u().

 unsigned ProblemParameters::Nterms_for_DtN =6

Number of terms in computation of DtN boundary condition.

Definition at line 235 of file sphere_scattering.cc.