Classes | Namespaces | Functions
unstructured_sphere_scattering.cc File Reference

Go to the source code of this file.

Classes

class  FourierDecomposedHelmholtzProblem< ELEMENT >
 Problem class. More...
 

Namespaces

namespace  PlanarWave
 Namespace to test representation of planar wave in spherical polars.
 
namespace  ProblemParameters
 Namespace for the Fourier decomposed Helmholtz problem parameters.
 

Functions

std::complex< doublePlanarWave::I (0.0, 1.0)
 Imaginary unit.
 
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.
 
void PlanarWave::plot ()
 Plot.
 
Vector< doubleProblemParameters::Coeff (N_terms, 1.0)
 Coefficients in the exact solution.
 
std::complex< doubleProblemParameters::I (0.0, 1.0)
 Imaginary unit.
 
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.
 
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.
 
int main (int argc, char **argv)
 Driver code for Fourier decomposed Helmholtz problem.
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Driver code for Fourier decomposed Helmholtz problem.

Definition at line 881 of file unstructured_sphere_scattering.cc.

References AnnularQuadMesh< ELEMENT >::AnnularQuadMesh(), and ProblemParameters::N_fourier.