mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-13 09:34:02 +01:00
Added -q to qp_set_frozen_core
This commit is contained in:
parent
c510c04581
commit
5e7d914f4d
@ -36,7 +36,7 @@ program fci_zmq
|
||||
print*,'Beginning the selection ...'
|
||||
E_CI_before = CI_energy
|
||||
|
||||
do while (N_det < N_det_max.and.maxval(abs(pt2(1:N_st))) > pt2_max)
|
||||
do while ( (N_det < N_det_max) .and. (maxval(abs(pt2(1:N_st))) > pt2_max) )
|
||||
n_det_before = N_det
|
||||
call ZMQ_selection(max(1024-N_det, N_det), pt2)
|
||||
|
||||
|
@ -19,9 +19,13 @@ for charge in ezfio.nuclei_nucl_charge:
|
||||
|
||||
mo_tot_num = ezfio.mo_basis_mo_tot_num
|
||||
|
||||
if len(sys.argv)>2:
|
||||
if sys.argv[2] == '-q':
|
||||
print nb
|
||||
sys.exit(0)
|
||||
|
||||
if nb == 0:
|
||||
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]) )
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user