mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-18 11:23:38 +01:00
Merge branch 'dev-stable-tc-scf' into dev-stable
This commit is contained in:
commit
09c2b420c9
@ -87,7 +87,6 @@ subroutine test_5idx
|
|||||||
! if (dabs(three_e_5_idx_direct_bi_ort(m,l,j,k,i) - three_e_5_idx_exch12_bi_ort(m,l,i,k,j)) > 1.d-10) then
|
! if (dabs(three_e_5_idx_direct_bi_ort(m,l,j,k,i) - three_e_5_idx_exch12_bi_ort(m,l,i,k,j)) > 1.d-10) then
|
||||||
! stop
|
! stop
|
||||||
! endif
|
! endif
|
||||||
|
|
||||||
new = three_e_5_idx_direct_bi_ort(m,l,j,k,i)
|
new = three_e_5_idx_direct_bi_ort(m,l,j,k,i)
|
||||||
ref = three_e_5_idx_direct_bi_ort_old(m,l,j,k,i)
|
ref = three_e_5_idx_direct_bi_ort_old(m,l,j,k,i)
|
||||||
contrib = dabs(new - ref)
|
contrib = dabs(new - ref)
|
||||||
@ -117,6 +116,51 @@ subroutine test_5idx
|
|||||||
! accu += contrib
|
! accu += contrib
|
||||||
! if(contrib .gt. 1.d-10)then
|
! if(contrib .gt. 1.d-10)then
|
||||||
! print*,'cycle1'
|
! print*,'cycle1'
|
||||||
|
|
||||||
|
! print*,i,k,j,l,m
|
||||||
|
! print*,ref,new,contrib
|
||||||
|
! stop
|
||||||
|
! endif
|
||||||
|
!
|
||||||
|
! new = three_e_5_idx_cycle_2_bi_ort(m,l,j,k,i)
|
||||||
|
! ref = three_e_5_idx_cycle_2_bi_ort_old(m,l,j,k,i)
|
||||||
|
! contrib = dabs(new - ref)
|
||||||
|
! accu += contrib
|
||||||
|
! if(contrib .gt. 1.d-10)then
|
||||||
|
! print*,'cycle2'
|
||||||
|
! print*,i,k,j,l,m
|
||||||
|
! print*,ref,new,contrib
|
||||||
|
! stop
|
||||||
|
! endif
|
||||||
|
!
|
||||||
|
! new = three_e_5_idx_exch23_bi_ort(m,l,j,k,i)
|
||||||
|
! ref = three_e_5_idx_exch23_bi_ort_old(m,l,j,k,i)
|
||||||
|
! contrib = dabs(new - ref)
|
||||||
|
! accu += contrib
|
||||||
|
! if(contrib .gt. 1.d-10)then
|
||||||
|
! print*,'exch23'
|
||||||
|
! print*,i,k,j,l,m
|
||||||
|
! print*,ref,new,contrib
|
||||||
|
! stop
|
||||||
|
! endif
|
||||||
|
!
|
||||||
|
! new = three_e_5_idx_exch13_bi_ort(m,l,j,k,i)
|
||||||
|
! ref = three_e_5_idx_exch13_bi_ort_old(m,l,j,k,i)
|
||||||
|
! contrib = dabs(new - ref)
|
||||||
|
! accu += contrib
|
||||||
|
! if(contrib .gt. 1.d-10)then
|
||||||
|
! print*,'exch13'
|
||||||
|
! print*,i,k,j,l,m
|
||||||
|
! print*,ref,new,contrib
|
||||||
|
! stop
|
||||||
|
! endif
|
||||||
|
!
|
||||||
|
! new = three_e_5_idx_cycle_1_bi_ort(m,l,j,k,i)
|
||||||
|
! ref = three_e_5_idx_cycle_1_bi_ort_old(m,l,j,k,i)
|
||||||
|
! contrib = dabs(new - ref)
|
||||||
|
! accu += contrib
|
||||||
|
! if(contrib .gt. 1.d-10)then
|
||||||
|
! print*,'cycle1'
|
||||||
! print*,i,k,j,l,m
|
! print*,i,k,j,l,m
|
||||||
! print*,ref,new,contrib
|
! print*,ref,new,contrib
|
||||||
! stop
|
! stop
|
||||||
@ -154,7 +198,7 @@ subroutine test_5idx
|
|||||||
! print*,ref,new,contrib
|
! print*,ref,new,contrib
|
||||||
! stop
|
! stop
|
||||||
! endif
|
! endif
|
||||||
|
!
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
@ -65,7 +65,7 @@ end
|
|||||||
|
|
||||||
tmp_mat = 0.d0
|
tmp_mat = 0.d0
|
||||||
call print_memory_usage
|
call print_memory_usage
|
||||||
!
|
|
||||||
do m = 1, mo_num
|
do m = 1, mo_num
|
||||||
|
|
||||||
allocate(grad_mli(n_points_final_grid,mo_num))
|
allocate(grad_mli(n_points_final_grid,mo_num))
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
! ---
|
! ---
|
||||||
|
|
||||||
subroutine provide_all_three_ints_bi_ortho()
|
subroutine provide_all_three_ints_bi_ortho()
|
||||||
|
Loading…
Reference in New Issue
Block a user