10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 12:23:48 +01:00

Better estimated PT2

This commit is contained in:
Anthony Scemama 2015-03-16 18:30:38 +01:00
parent a4593d7e17
commit 3515cf953b
3 changed files with 3 additions and 2 deletions

View File

@ -198,7 +198,7 @@ class H_apply(object):
do k=1,N_st
write(output_Dets,'(I10, 4(2X, F9.6), 2X, F8.1)') &
i_generator, norm_psi(k), delta_pt2(k), pt2(k), &
pt2(k)/norm_psi(k), &
pt2(k)/(norm_psi(k)*norm_psi(k)), &
wall_1-wall_0
pt2_old(k) = pt2(k)
enddo

View File

@ -20,7 +20,7 @@ for charge in ezfio.nuclei_nucl_charge:
mo_tot_num = ezfio.mo_basis_mo_tot_num
if nb == 0:
os.system( """qp_set_mo_class -act "[1-%d]" %s"""%(1, mo_tot_num, sys.argv[1]) )
os.system( """qp_set_mo_class -act "[1-%d]" %s"""%(mo_tot_num, sys.argv[1]) )
else:
os.system( """qp_set_mo_class -core "[1-%d]" -act "[%d-%d]" %s"""%(nb, nb+1, mo_tot_num, sys.argv[1]) )

View File

@ -28,5 +28,6 @@ T.set_doc ( """The selection process stops when the energy ratio variation
is equal to var_pt2_ratio""" )
T.set_ezfio_name( "var_pt2_ratio" )
print T
END_SHELL