You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analytically, both the real and reciprocal space sums converge absolutely for any real number p>0, suggesting that this is due to a numerical instability. The obvious candidate in the current implementation is the incomplete gamma function gammaincc(a,x) = gammaincc((3-p)/2, x) whose first argument a needs to be positive for the torch (and also scipy) implementations. As a approaches zero, there could be numerical instabilities due to this.
The text was updated successfully, but these errors were encountered:
As discvoered by @E-Rum , the potentials obtained from the calculator seem to diverge as the exponent p-->3:
leading to Outputs:
Analytically, both the real and reciprocal space sums converge absolutely for any real number p>0, suggesting that this is due to a numerical instability. The obvious candidate in the current implementation is the incomplete gamma function
gammaincc(a,x) = gammaincc((3-p)/2, x)
whose first argumenta
needs to be positive for the torch (and also scipy) implementations. Asa
approaches zero, there could be numerical instabilities due to this.The text was updated successfully, but these errors were encountered: