////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// 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... | |
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
Namespace for the Fourier decomposed Helmholtz problem parameters
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 302 of file sphere_scattering.cc.
References Coeff(), I(), K_squared, N_fourier, and N_terms.
Referenced by FourierDecomposedHelmholtzProblem< ELEMENT >::check_gamma(), and FourierDecomposedHelmholtzProblem< ELEMENT >::create_flux_elements_on_inner_boundary().
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 243 of file sphere_scattering.cc.
References Coeff(), I(), K_squared, N_fourier, and N_terms.
Referenced by FourierDecomposedHelmholtzProblem< ELEMENT >::doc_solution(), and PlanarWave::plot().
std::complex< double > ProblemParameters::I | ( | 0. | 0, |
1. | 0 | ||
) |
Imaginary unit.
Referenced by exact_minus_dudr(), PlanarWave::get_exact_u(), get_exact_u(), and PlanarWave::plot().
unsigned ProblemParameters::El_multiplier =1 |
Multiplier for number of elements.
Definition at line 363 of file sphere_scattering.cc.
Referenced by FourierDecomposedHelmholtzProblem< ELEMENT >::FourierDecomposedHelmholtzProblem(), and main().
double ProblemParameters::K_squared =10.0 |
Square of the wavenumber.
Definition at line 225 of file sphere_scattering.cc.
Referenced by FourierDecomposedHelmholtzProblem< ELEMENT >::actions_after_adapt(), FourierDecomposedHelmholtzProblem< ELEMENT >::doc_solution(), exact_minus_dudr(), FourierDecomposedHelmholtzProblem< ELEMENT >::FourierDecomposedHelmholtzProblem(), and get_exact_u().
int ProblemParameters::N_fourier =3 |
Fourier wave number.
Definition at line 228 of file sphere_scattering.cc.
Referenced by FourierDecomposedHelmholtzProblem< ELEMENT >::actions_after_adapt(), FourierDecomposedHelmholtzProblem< ELEMENT >::doc_solution(), exact_minus_dudr(), FourierDecomposedHelmholtzProblem< ELEMENT >::FourierDecomposedHelmholtzProblem(), get_exact_u(), and main().
unsigned ProblemParameters::N_terms =6 |
Number of terms in the exact solution.
Definition at line 234 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 231 of file sphere_scattering.cc.
Referenced by FourierDecomposedHelmholtzProblem< ELEMENT >::FourierDecomposedHelmholtzProblem().