Skip to content

Commit

Permalink
Release v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Sep 28, 2023
1 parent 6c876c6 commit a498d12
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
6 changes: 4 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Version 6.0.0 (2023-09-14):
Version 6.0.0 (2023-09-17):
* Add polynomial root finder using the eigenvalue algorithm
* Fitting Rys roots of SR integrals with Chebyshev polynomials
* Remove GTG integrals which are erroneous in previous versions
* Remove coulerf integrals which has been covered by regular int2e functions

Version 5.5.0 (2023-09-14):
Version 5.5.0 (2023-09-17):
* Fix memory leak issue in int4c1e
* New integrals related to LRESC
* Supports Gaussian model for int1e_grids
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
libcint
=======

version 5.5.0
2023-09-14
version 6.0.0
2023-09-17


What is libcint
Expand Down
2 changes: 1 addition & 1 deletion include/cint.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#define CINT_VERSION @cint_VERSION@
#define CINT_SOVERSION @cint_SOVERSION
#define CINT_SOVERSION @cint_SOVERSION@

#cmakedefine I8
#ifdef I8
Expand Down
9 changes: 5 additions & 4 deletions scripts/rys_tabulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ def polyfit_erf(nroots, x):
def pkl2table(prefix, pklfile):
with open(pklfile, 'rb') as f:
TBASE, rys_tab = pickle.load(f)
nt = find_tbase(81)
TBASE = TBASE.round(6)
TBASE = TBASE[:nt+1]
nt = len(TBASE) - 1
#nt = find_tbase(81)
#TBASE = TBASE[:nt+1]
with open(f'{prefix}_x.dat', 'w') as fx, open(f'{prefix}_w.dat', 'w') as fw:
fw.write(f'// DATA_TBASE[{len(TBASE)}] = ''{' + (', '.join([str(x) for x in TBASE])) + '};\n')
fx.write(f'static double DATA_X[] = ''{\n')
Expand Down Expand Up @@ -165,5 +166,5 @@ def polyfit_small_x_limits(nroots, x, low=None):
return pr0, pr1, pw0, pw1

if __name__ == '__main__':
generate_table('rys_rw.pkl')
#pkl2table('./rys', 'rys_rw.pkl')
#generate_table('rys_rw.pkl')
pkl2table('./rys', 'rys_rw.pkl')

0 comments on commit a498d12

Please sign in to comment.