Conversation
https://github.com/maroba/findiff Eventually it will be a runtime dependency, so that a (static) perturbation can be done numerically and not just analytically.
**** SCF Summaries ****
Total Energy = -317.654569137503472
Nuclear Repulsion Energy = 248.175936966105979
One-electron Energy = -929.029398755747252
Two-electron Energy = 363.198892652137829
[-2.45747929 1.7516888 -2.01564383]
[-2.45055712 1.7498966 -2.01522139]
[-2.45925283 1.75661295 -2.01578952]
[-2.45707171 1.75153706 -2.00968794]
FD polarizability 1
[[27.23389041 -7.05107969 1.66201956]
[-6.97762021 19.37304047 -0.57316094]
[ 1.60353844 -0.5969904 23.43223982]]
FD polarizability 2
[[27.23389041 -7.05107969 1.66201956]
[-6.97762021 19.37304047 -0.57316094]
[ 1.60353844 -0.5969904 23.43223982]]
Analytical polarizability
[[27.31719954 -7.04241525 1.65887012]
[-7.04241525 19.48068656 -0.62010082]
[ 1.65887012 -0.62010082 23.46302403]]
Reference Q-Chem results are:
20 -317.6545691370 1.88E-12 Convergence criterion met
---------------------------------------
One-Electron Energy = -929.0293991645
Total Coulomb Energy = 404.5797863304
Alpha Exchange Energy = -20.6904466050
Beta Exchange Energy = -20.6904466050
DFT Exchange Energy = 0.0000000000
DFT Correlation Energy = 0.0000000000
Nuclear Repu. Energy = 248.1759369070
Nuclear Attr. Energy = -1243.8031596459
Kinetic Energy = 314.7737604814
[-0.96685375 0.68917099 -0.79299712]
forward terms
[-1.01847174 0.70246892 -0.79614456]
[-0.95355583 0.65234596 -0.79181683]
[-0.96996185 0.69035128 -0.83733666]
backward terms
[-0.91523576 0.67587307 -0.78984968]
[-0.98015168 0.72595668 -0.79417741]
[-0.96370631 0.68799071 -0.74865758]
finite difference (forward)
[[ 27.3150084 -7.03694576 1.66554929]
[ -7.03694576 19.48692672 -0.62458098]
[ 1.64472993 -0.62458098 23.46342566]]
finite difference (backward)
[[ 27.3150084 -7.03694576 1.66554929]
[ -7.03694576 19.46610736 -0.62458098]
[ 1.66554929 -0.62458098 23.46342566]]
finite difference (central)
[[ 27.3150084 -7.03694576 1.66554929]
[ -7.03694576 19.47651704 -0.62458098]
[ 1.65513961 -0.62458098 23.46342566]]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #181