Go to the source code of this file.
Classes | |
| class | ScatteringProblem< ELEMENT > |
| Problem class to compute scattering of planar wave from unit disk. More... | |
Namespaces | |
| GlobalParameters | |
| Namespace for "global" problem parameters. | |
Functions | |
| std::complex< double > | GlobalParameters::I (0.0, 1.0) |
| Imaginary unit. More... | |
| void | GlobalParameters::get_exact_u (const Vector< double > &x, Vector< double > &u) |
| Exact solution for scattered field (vector returns real and impaginary parts). More... | |
| void | GlobalParameters::prescribed_incoming_flux (const Vector< double > &x, complex< double > &flux) |
| Flux (normal derivative) on the unit disk for a planar incoming wave. More... | |
| int | main (int argc, char **argv) |
Variables | |
| double | GlobalParameters::K_squared =10.0 |
| Square of the wavenumber. More... | |
| unsigned | GlobalParameters::N_fourier =10 |
| Number of terms used in the computation of the exact solution. More... | |
| bool | GlobalParameters::DtN_BC =false |
| Flag to choose the Dirichlet to Neumann BC or ABC BC. More... | |
| unsigned | GlobalParameters::ABC_order =3 |
| Flag to choose wich order to use. More... | |
| double | GlobalParameters::Outer_radius =1.5 |
| Radius of outer boundary (must be a circle!) More... | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Solve 2D Helmholtz problem for scattering of a planar wave from a unit disk
Definition at line 713 of file scattering.cc.
References GlobalParameters::ABC_order, ScatteringProblem< ELEMENT >::doc_solution(), and GlobalParameters::DtN_BC.