Classes | Functions | Variables
GlobalParameters Namespace Reference

Namespace for the Helmholtz problem parameters. More...

Classes

class  TestPMLMapping
 

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 for scattered field (vector returns real and impaginary parts). More...
 
void prescribed_incoming_flux (const Vector< double > &x, complex< double > &flux)
 Flux (normal derivative) on the unit disk for a planar incoming wave. More...
 

Variables

double Wavenumber = sqrt(50.0)
 Wavenumber (also known as k), k=omega/c. More...
 
double K_squared = Wavenumber * Wavenumber
 Square of the wavenumber (also known as k^2) More...
 
unsigned N_fourier =100
 Number of terms used in the computation of the exact solution. More...
 
TestPMLMappingTest_pml_mapping_pt = new TestPMLMapping
 

Detailed Description

Namespace for the Helmholtz problem parameters.

Function Documentation

void GlobalParameters::get_exact_u ( const Vector< double > &  x,
Vector< double > &  u 
)

Exact solution for scattered field (vector returns real and impaginary parts).

Definition at line 84 of file unstructured_two_d_helmholtz_scattering.cc.

References I(), N_fourier, and Wavenumber.

std::complex<double> GlobalParameters::I ( 0.  0,
1.  0 
)

Imaginary unit.

Referenced by get_exact_u(), and prescribed_incoming_flux().

void GlobalParameters::prescribed_incoming_flux ( const Vector< double > &  x,
complex< double > &  flux 
)

Flux (normal derivative) on the unit disk for a planar incoming wave.

Definition at line 156 of file unstructured_two_d_helmholtz_scattering.cc.

References I(), N_fourier, and Wavenumber.

Referenced by PMLProblem< ELEMENT >::create_flux_elements().

Variable Documentation

double GlobalParameters::K_squared = Wavenumber * Wavenumber

Square of the wavenumber (also known as k^2)

Definition at line 65 of file unstructured_two_d_helmholtz.cc.

Referenced by PMLProblem< ELEMENT >::actions_after_adapt(), and PMLProblem< ELEMENT >::PMLProblem().

unsigned GlobalParameters::N_fourier =100

Number of terms used in the computation of the exact solution.

Definition at line 77 of file unstructured_two_d_helmholtz_scattering.cc.

Referenced by get_exact_u(), and prescribed_incoming_flux().

TestPMLMapping* GlobalParameters::Test_pml_mapping_pt = new TestPMLMapping

Definition at line 232 of file unstructured_two_d_helmholtz_scattering.cc.

double GlobalParameters::Wavenumber = sqrt(50.0)

Wavenumber (also known as k), k=omega/c.

Definition at line 62 of file unstructured_two_d_helmholtz.cc.

Referenced by get_exact_u(), and prescribed_incoming_flux().