mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-09 20:48:47 +01:00
removed test leftover in mrsc2
This commit is contained in:
parent
48cb3b3ddc
commit
340b89b754
@ -468,7 +468,6 @@ END_PROVIDER
|
|||||||
call i_h_j(psi_ref(1,1,II), det_tmp, N_int, HIl)
|
call i_h_j(psi_ref(1,1,II), det_tmp, N_int, HIl)
|
||||||
|
|
||||||
do k=1,N_det_non_ref
|
do k=1,N_det_non_ref
|
||||||
! if(lambda_mrcc(i_state, k) == 0d0) cycle
|
|
||||||
if(lambda_mrcc(i_state, k) == 0d0) cycle
|
if(lambda_mrcc(i_state, k) == 0d0) cycle
|
||||||
call get_excitation(psi_ref(1,1,II),psi_non_ref(1,1,k),exc_Ik,degree2,phase_Ik,N_int)
|
call get_excitation(psi_ref(1,1,II),psi_non_ref(1,1,k),exc_Ik,degree2,phase_Ik,N_int)
|
||||||
|
|
||||||
@ -589,7 +588,6 @@ implicit none
|
|||||||
det_tmp(1,2) = iand(xor(HF_bitmask(1,2), psi_non_ref(1,2,i)), not(active_sorb(2)))
|
det_tmp(1,2) = iand(xor(HF_bitmask(1,2), psi_non_ref(1,2,i)), not(active_sorb(2)))
|
||||||
ok = ok .and. (popcnt(det_tmp(1,1)) + popcnt(det_tmp(1,2)) == popcnt(xor(det_tmp(1,1), det_tmp(1,2))))
|
ok = ok .and. (popcnt(det_tmp(1,1)) + popcnt(det_tmp(1,2)) == popcnt(xor(det_tmp(1,1), det_tmp(1,2))))
|
||||||
if(.not. ok) cycle
|
if(.not. ok) cycle
|
||||||
!if(ok) cycle
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -619,11 +617,6 @@ implicit none
|
|||||||
dkI(i_state) = HkI * lambda_mrcc(i_state, k) * phase_Jl * phase_Ik
|
dkI(i_state) = HkI * lambda_mrcc(i_state, k) * phase_Jl * phase_Ik
|
||||||
|
|
||||||
|
|
||||||
!!!!
|
|
||||||
call get_excitation(psi_ref(1,1,J),psi_non_ref(1,1,k),exc_Ik,degree,phase_Ik,N_int)
|
|
||||||
if(degree /= 2 .and. degree /= 0) cycle
|
|
||||||
!!!!!!
|
|
||||||
|
|
||||||
!$OMP CRITICAL
|
!$OMP CRITICAL
|
||||||
contrib = dkI(i_state) * delta_JI
|
contrib = dkI(i_state) * delta_JI
|
||||||
delta_ij_old(i_I,l,i_state) += contrib
|
delta_ij_old(i_I,l,i_state) += contrib
|
||||||
|
Loading…
Reference in New Issue
Block a user