-
Notifications
You must be signed in to change notification settings - Fork 24
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
[BUG] Unexpected overlap integral with xtb's hydrogen basis set #194
Comments
Hi @RaphaelRobidas, thanks for opening the issue and your detailed explanation. The problem here I think is that, for your basis set
In our docs, we state |
Hello @leila-pujal, thanks for looking into this! This makes a lot of sense, I hadn't realized that the coefficients were already normalized, my bad! In any case, knowing this, this issue is resolved for me. |
@leila-pujal it would be good to add the feature to support unnormalized primitives. We, like most software, had opted to normalize the primitives as when the primitives are unnormalized one often ends up with contraction coefficients that span many orders of magnitude, with the consequent potential for numerical ill-conditioning. (I'm not sure how big an issue this is in practice; we didn't check, but it seemed to be a potential issue.) It's sensible to add this as a feature, though I would argue that We should probably make sure this is documented more clearly, too, though the fact this issue will be searchable in the repository will help on that. |
@PaulWAyers, I think that is a good plan. I believe that option could easily be added to contractions.py module. @RaphaelRobidas, glad this solved your problem! Thanks for closing the issue. Please, feel free to open new issues if you have any other doubt that comes up from using Gbasis. |
@leila-pujal can you make a new issue/feature-request for |
Yes, no problem, I will open an issue and add some info on how it should be implemented. |
Describe the bug
I have been playing with
xtb
's basis set and ran some simple calculations. However, the overlap integrals calculated withgbasis
do not match those of dxtb along with "manual" calculations.To Reproduce
I focused on the simplest case of hydrogen, which has two
s
shells inxtb
's basis set:According to
dxtb
, the overlap matrix of a system containing only one hydrogen is:So both shells appear to have null net overlap, within numerical error. Now doing the same with
gbasis
and custom code:with
H_xtb.bs
being the basis set specifications above. This code outputs the following:Expected behaviour
I would expect the overlap integral from
gbasis
to be close to zero as well. Maybe I am usinggbasis
wrong somehow, but this seems very odd.System Information:
The text was updated successfully, but these errors were encountered: