-
Notifications
You must be signed in to change notification settings - Fork 29
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
Uks dev #78
Uks dev #78
Conversation
gpu4pyscf/scf/tests/test_uhf.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be an unit test file?
gpu4pyscf/scf/uhf.py
Outdated
return f | ||
|
||
|
||
def _kernel(mf, conv_tol=1e-10, conv_tol_grad=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reuse _kernel in hf.py, modify it if necessary
def test_rks_lda(self): | ||
print('------- LDA ----------------') | ||
e_tot = run_dft("LDA, vwn5") | ||
assert np.allclose(e_tot, -75.42821982483972) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are those values from qchem?
gpu4pyscf/dft/tests/test_uks.py
Outdated
''' | ||
known values are obtained by pyscf | ||
''' | ||
def test_rks_lda(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test_uks_lda
Add a UHF method, where density fitting is not allowed.