![]() |
|
Functions | |
void | Hankel_first (const unsigned &n, const double &x, Vector< std::complex< double >> &h, Vector< std::complex< double >> &hp) |
void | CHankel_first (const unsigned &n, const std::complex< double > &x, Vector< std::complex< double >> &h, Vector< std::complex< double >> &hp) |
//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// Namespace to provide Hankel function of the first kind and various orders – needed for Helmholtz computations.
void oomph::Hankel_functions_for_helmholtz_problem::CHankel_first | ( | const unsigned & | n, |
const std::complex< double > & | x, | ||
Vector< std::complex< double >> & | h, | ||
Vector< std::complex< double >> & | hp | ||
) |
Compute Hankel function of the first kind of orders 0...n and its derivates at coordinate x. The function returns the vector then its derivative (complex version). This functionality is only required in the computation of the solution for the complex- shifted Laplacian preconditioner.
References CRBond_Bessel::cbessjyna(), i, imag(), n, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, and plotDoE::x.
void oomph::Hankel_functions_for_helmholtz_problem::Hankel_first | ( | const unsigned & | n, |
const double & | x, | ||
Vector< std::complex< double >> & | h, | ||
Vector< std::complex< double >> & | hp | ||
) |
Compute Hankel function of the first kind of orders 0...n and its derivates at coordinate x. The function returns the vector then its derivative.
References CRBond_Bessel::bessjyna(), i, n, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, and plotDoE::x.
Referenced by GlobalParameters::get_exact_u(), GlobalParameters::get_exact_u_bessel(), and oomph::HelmholtzDtNMesh< ELEMENT >::setup_gamma().