Classes | Namespaces | Functions | Variables
unstructured_two_d_helmholtz_scattering.cc File Reference

Go to the source code of this file.

Classes

class  GlobalParameters::TestPMLMapping
 
class  PMLProblem< ELEMENT >
 Problem class to demonstrate use of perfectly matched layers for Helmholtz problems. More...
 

Namespaces

namespace  GlobalParameters
 Namespace for the Helmholtz problem parameters.
 

Functions

std::complex< double > GlobalParameters::I (0.0, 1.0)
 Imaginary unit.
 
void GlobalParameters::get_exact_u (const Vector< double > &x, Vector< double > &u)
 Exact solution for scattered field (vector returns real and impaginary parts).
 
void GlobalParameters::prescribed_incoming_flux (const Vector< double > &x, complex< double > &flux)
 Flux (normal derivative) on the unit disk for a planar incoming wave.
 
int main (int argc, char **argv)
 Solve 2D Helmholtz problem.
 

Variables

unsigned GlobalParameters::N_fourier =100
 Number of terms used in the computation of the exact solution.
 
TestPMLMappingGlobalParameters::Test_pml_mapping_pt = new TestPMLMapping
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Solve 2D Helmholtz problem.

Definition at line 915 of file unstructured_two_d_helmholtz_scattering.cc.

References PMLProblem< ELEMENT >::doc_solution().