2015-01-19 10:41:58 +01:00
|
|
|
program fcidump
|
|
|
|
implicit none
|
|
|
|
|
|
|
|
integer :: i,j,k,l
|
2017-04-20 08:45:56 +02:00
|
|
|
integer :: ii(8), jj(8), kk(8),ll(8)
|
2015-01-19 10:41:58 +01:00
|
|
|
integer*8 :: m
|
|
|
|
character*(2), allocatable :: A(:)
|
|
|
|
|
2017-04-20 08:45:56 +02:00
|
|
|
print *, '&FCI NORB=', mo_tot_num, ', NELEC=', elec_num, &
|
2015-01-19 10:41:58 +01:00
|
|
|
', MS2=', (elec_alpha_num-elec_beta_num), ','
|
2017-04-20 08:45:56 +02:00
|
|
|
allocate (A(mo_tot_num))
|
2015-01-19 10:41:58 +01:00
|
|
|
A = '1,'
|
2017-04-20 08:45:56 +02:00
|
|
|
print *, 'ORBSYM=', (A(i), i=1,mo_tot_num)
|
|
|
|
print *,'ISYM=0,'
|
|
|
|
print *,'/'
|
2015-01-19 10:41:58 +01:00
|
|
|
deallocate(A)
|
|
|
|
|
2017-04-20 08:45:56 +02:00
|
|
|
integer*8 :: i8, k1
|
2015-01-19 10:41:58 +01:00
|
|
|
integer(key_kind), allocatable :: keys(:)
|
|
|
|
double precision, allocatable :: values(:)
|
|
|
|
integer(cache_map_size_kind) :: n_elements, n_elements_max
|
|
|
|
PROVIDE mo_bielec_integrals_in_map
|
|
|
|
|
|
|
|
double precision :: get_mo_bielec_integral, integral
|
|
|
|
|
2017-04-20 08:45:56 +02:00
|
|
|
do l=1,mo_tot_num
|
|
|
|
do k=1,mo_tot_num
|
|
|
|
do j=l,mo_tot_num
|
|
|
|
do i=k,mo_tot_num
|
|
|
|
if (i>=j) then
|
|
|
|
integral = get_mo_bielec_integral(i,j,k,l,mo_integrals_map)
|
2015-01-19 10:41:58 +01:00
|
|
|
if (dabs(integral) > mo_integrals_threshold) then
|
2017-04-20 08:45:56 +02:00
|
|
|
print *, integral, i,k,j,l
|
2015-01-19 10:41:58 +01:00
|
|
|
endif
|
|
|
|
end if
|
|
|
|
enddo
|
|
|
|
enddo
|
|
|
|
enddo
|
|
|
|
enddo
|
|
|
|
|
2017-04-20 08:45:56 +02:00
|
|
|
do j=1,mo_tot_num
|
|
|
|
do i=j,mo_tot_num
|
|
|
|
integral = mo_mono_elec_integral(i,j)
|
2015-01-19 10:41:58 +01:00
|
|
|
if (dabs(integral) > mo_integrals_threshold) then
|
2017-04-20 08:45:56 +02:00
|
|
|
print *, integral, i,j,0,0
|
2015-01-19 10:41:58 +01:00
|
|
|
endif
|
|
|
|
enddo
|
|
|
|
enddo
|
2017-04-20 08:45:56 +02:00
|
|
|
print *, 0.d0, 0, 0, 0, 0
|
2015-01-19 10:41:58 +01:00
|
|
|
end
|