Namespace to test representation of planar wave in spherical polars. More...
Functions | |
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 | plot () |
Plot. More... | |
Variables | |
unsigned | N_terms =100 |
Number of terms in series. More... | |
double | K =3.0*MathematicalConstants::Pi |
Wave number. More... | |
Namespace to test representation of planar wave in spherical polars.
////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
Namespace to test representation of planar wave in spherical polars
void PlanarWave::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 121 of file sphere_scattering.cc.
References ProblemParameters::I(), K, and ProblemParameters::N_terms.
std::complex< double > PlanarWave::I | ( | 0. | 0, |
1. | 0 | ||
) |
Imaginary unit.
void PlanarWave::plot | ( | ) |
Plot.
Definition at line 180 of file sphere_scattering.cc.
References ProblemParameters::get_exact_u(), and ProblemParameters::I().
double PlanarWave::K =3.0*MathematicalConstants::Pi |
unsigned PlanarWave::N_terms =100 |
Number of terms in series.
Definition at line 112 of file sphere_scattering.cc.