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

Numerical Poisson solver gives wrong result in origin. #37

Closed
tovrstra opened this issue May 28, 2016 · 0 comments
Closed

Numerical Poisson solver gives wrong result in origin. #37

tovrstra opened this issue May 28, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@tovrstra
Copy link
Member

The Poisson solver by itself works fine but the generated cubic splines make the wrong extrapolation for very small radii. They just return zero for r=0, which is wrong for l=0. A related problem is that for l>0, the IntGrid.eval_decomposition method returns NaN, which is not the correct answer in most cases.

@tovrstra tovrstra added this to the 2.0.1 milestone May 28, 2016
@tovrstra tovrstra self-assigned this May 28, 2016
tovrstra added a commit to tovrstra/horton that referenced this issue Jun 2, 2016
Also a few fixes are included to avoid division by zero in
IntGrid.eval_decomposition. This commit includes tests for
the fixed bugs.
tovrstra added a commit to tovrstra/horton that referenced this issue Jun 3, 2016
Also a few fixes are included to avoid division by zero in
IntGrid.eval_decomposition. This commit includes tests for
the fixed bugs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants