Namespace to test representation of planar wave in spherical polars. More...
Functions | |
std::complex< double > | I (0.0, 1.0) |
Imaginary unit. | |
void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
Exact solution as a Vector of size 2, containing real and imag parts. | |
void | plot () |
Plot. | |
Variables | |
unsigned | N_terms =100 |
Number of terms in series. | |
double | K =3.0*MathematicalConstants::Pi |
Wave number. | |
Namespace to test representation of planar wave in spherical polars.
std::complex< double > PlanarWave::I | ( | 0. | 0, |
1. | 0 | ||
) |
Imaginary unit.
Referenced by get_exact_u(), and plot().
void PlanarWave::plot | ( | ) |
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.
Referenced by get_exact_u().