mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 03:23:29 +01:00
merged alors
This commit is contained in:
commit
2a6581b5fa
@ -54,6 +54,13 @@
|
|||||||
call overlap_gaussian_xyz(A_center,B_center,alpha,beta,power_A,power_B,overlap_x,overlap_y,overlap_z,overlap,dim1)
|
call overlap_gaussian_xyz(A_center,B_center,alpha,beta,power_A,power_B,overlap_x,overlap_y,overlap_z,overlap,dim1)
|
||||||
c = ao_coef_normalized_ordered_transp(n,j) * ao_coef_normalized_ordered_transp(l,i)
|
c = ao_coef_normalized_ordered_transp(n,j) * ao_coef_normalized_ordered_transp(l,i)
|
||||||
ao_overlap(i,j) += c * overlap
|
ao_overlap(i,j) += c * overlap
|
||||||
|
if(isnan(ao_overlap(i,j)))then
|
||||||
|
print*,'i,j',i,j
|
||||||
|
print*,'l,n',l,n
|
||||||
|
print*,'c,overlap',c,overlap
|
||||||
|
print*,overlap_x,overlap_y,overlap_z
|
||||||
|
stop
|
||||||
|
endif
|
||||||
ao_overlap_x(i,j) += c * overlap_x
|
ao_overlap_x(i,j) += c * overlap_x
|
||||||
ao_overlap_y(i,j) += c * overlap_y
|
ao_overlap_y(i,j) += c * overlap_y
|
||||||
ao_overlap_z(i,j) += c * overlap_z
|
ao_overlap_z(i,j) += c * overlap_z
|
||||||
|
@ -15,10 +15,10 @@ double precision function overlap_gaussian_x(A_center,B_center,alpha,beta,power_
|
|||||||
call give_explicit_poly_and_gaussian_x(P_new,P_center,p,fact_p,iorder_p,alpha,&
|
call give_explicit_poly_and_gaussian_x(P_new,P_center,p,fact_p,iorder_p,alpha,&
|
||||||
beta,power_A,power_B,A_center,B_center,dim)
|
beta,power_A,power_B,A_center,B_center,dim)
|
||||||
|
|
||||||
! if(fact_p.lt.0.000001d0)then
|
if(fact_p.lt.1.d-20)then
|
||||||
! overlap_gaussian_x = 0.d0
|
overlap_gaussian_x = 0.d0
|
||||||
! return
|
return
|
||||||
! endif
|
endif
|
||||||
|
|
||||||
overlap_gaussian_x = 0.d0
|
overlap_gaussian_x = 0.d0
|
||||||
integer :: i
|
integer :: i
|
||||||
|
Loading…
Reference in New Issue
Block a user