Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix divergence of real part of hankelH1 and hankelH2 at small |z| #13

Closed
wants to merge 2 commits into from

Conversation

joeydumont
Copy link
Owner

@joeydumont joeydumont commented Apr 1, 2020

Fixes #11.

The real part of hankelH1 and hankelH2 overflows for small |z|, breaking the relationship hankelH_\nu(z) = J_\nu(z) ± i Y_\nu(z). Trying to find the source of that overflow and fixing it.

A workaround is to choose a given value of |z| < 1 for which we compute hankelH with the relationship above, but it should be possible to isolate the source of the overflow and fix it.

…ix divergence of real part of hankelH1 and hankelH2 at low |z|.
@joeydumont joeydumont changed the title Overhaul of CMakeLists.txt. Formal tests with CTest. First tests to f… Fix divergence of real part of hankelH1 and hankelH2 at small |z| Apr 1, 2020
@joeydumont
Copy link
Owner Author

This approach is doomed to fail without either a thorough mathematical analysis, or proper error checking. Should start again with the error handling code.

@joeydumont joeydumont closed this Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hankel functions overflowing for |z| < 10^{-1}
1 participant