Functions | Variables
PlanarWave Namespace Reference

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...
 

Detailed Description

Namespace to test representation of planar wave in spherical polars

Function Documentation

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 125 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 184 of file sphere_scattering.cc.

References ProblemParameters::get_exact_u(), and ProblemParameters::I().

Variable Documentation

double PlanarWave::K =3.0*MathematicalConstants::Pi

Wave number.

Definition at line 119 of file sphere_scattering.cc.

Referenced by get_exact_u().

unsigned PlanarWave::N_terms =100

Number of terms in series.

Definition at line 116 of file sphere_scattering.cc.