-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Density Integration Inaccuracy with AtomDB Densities and Specific Grid/Transform Combinations #265
Comments
This is very cool and interesting. Thank you for submitting this issue. Just couple of quick thoughts I have, that may or may not help with your question
[1] Gill, Peter MW, and Siu‐Hung Chien. "Radial quadrature for multiexponential integrands." Journal of computational chemistry 24.6 (2003): 732-740. |
Thank you for the detailed feedback! I’ve implemented some of the suggestions and have new results to share. Changes made based on your recommendations:
I appreciate the insight regarding quadrature accuracy and the recommendation to visualize point distribution using OneDGrid with RTransform. I’ll explore that further to understand how different grid choices affect accuracy. Additionally, the issue with Multi-Exp returning negative values is interesting. If there's anything I can do to help resolve the bug, let me know! Thanks again for the helpful references and suggestions. Let me know if there are any other adjustments you'd recommend. Updated results:
|
When using electron densities from the AtomDB repository within the Grid library, the integrated density does not correctly sum to the expected number of electrons for certain combinations of grids and radial transforms. This discrepancy suggests a potential issue with the numerical integration methods or their interaction with AtomDB density functions.
Any insights into why specific grid/transform combinations might lead to discrepancies would be helpful. Additionally, guidance on choosing appropriate grid and radial transformations parameters to improve accuracy would be greatly appreciated.
Thank you for looking into this issue!
Expected Behavior
The total integrated electron density should match the expected number of electrons for the given atomic system.
Observed Behavior
The integrated density deviates from the expected value depending on the grid and transformation settings.
Steps to Reproduce
Load an atomic density from AtomDB.
Choose different grid configurations and radial transformations in Grid.
Perform numerical integration of the density.
Compare the integrated value to the expected electron count.
Example Code
The code was executed on a Google Colab notebook.
Here's the result in the form of a table:
The text was updated successfully, but these errors were encountered: