mirror of
https://github.com/QuantumPackage/qp2.git
synced 2025-01-03 18:16:04 +01:00
Changed normalization in PT2
This commit is contained in:
parent
13abddef2d
commit
7b6c0e13eb
@ -789,7 +789,8 @@ subroutine fill_buffer_double(i_generator, sp, h1, h2, bannedOrb, banned, fock_d
|
|||||||
! Gram-Schmidt using input overlap matrix
|
! Gram-Schmidt using input overlap matrix
|
||||||
do istate=1,N_states
|
do istate=1,N_states
|
||||||
do jstate=1,istate-1
|
do jstate=1,istate-1
|
||||||
coef(istate) = coef(istate) - pt2_overlap(istate,jstate)/(1.d0+pt2_overlap(jstate,jstate)) * coef(jstate)
|
if ( (pt2_overlap(istate,jstate) == 0.d0).or.(pt2_overlap(jstate,jstate) == 0.d0) ) cycle
|
||||||
|
coef(istate) = coef(istate) - pt2_overlap(istate,jstate)/pt2_overlap(jstate,jstate) * coef(jstate)
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user