Skip to content

Commit

Permalink
Refactor Hessian classes (pyscf#290)
Browse files Browse the repository at this point in the history
* refactor hessian class

* fixed bug in df.hessian.uhf

* update license

* format code

* support h function in hessian.jk

* unit test

* optimize df hessian memory usage

* more accurate memory estimate for hessian

* _gen_jk -> _get_jk_ip

* with_j and with_k for hessian

* memory estimate

* tested on 095 molecule

* improve make_h1 in df.hessian

* bugfix

* use sorted_mol

* assert hermi==1

* typo in uhf.hessian

* inject gen_response into soscf

* remove print
  • Loading branch information
wxj6000 authored Dec 28, 2024
1 parent 9d28f26 commit ad52eba
Show file tree
Hide file tree
Showing 29 changed files with 2,377 additions and 1,137 deletions.
2 changes: 1 addition & 1 deletion examples/dft_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
mf_df.direct_scf_tol = 1e-14
mf_df.conv_tol = 1e-10
mf_df.chkfile = None
mf_df.conv_tol_cpscf = 1e-3
mf_df.conv_tol_cpscf = 1e-6
e_tot = mf_df.kernel()
scf_time = time.time() - start_time
print(f'compute time for energy: {scf_time:.3f} s')
Expand Down
Loading

0 comments on commit ad52eba

Please sign in to comment.