10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-24 14:12:24 +02:00
QuantumPackage/src/utils_complex/dump_df_mo.irp.f
2020-02-19 12:14:16 -06:00

27 lines
515 B
Fortran

program dump_df_mo
call run
end
subroutine run
use map_module
implicit none
integer ::i,j,k,mu
complex*16 :: integral
provide df_mo_integrals_complex
do k=1,kpt_pair_num
do mu=1,df_num
do i=1,mo_num_per_kpt
do j=1,mo_num_per_kpt
integral = df_mo_integrals_complex(i,j,mu,k)
if (cdabs(integral).gt.1.d-12) then
print'(4(I4),4(E15.7))',i,j,mu,k,integral,dble(integral),dimag(integral)
endif
enddo
enddo
enddo
enddo
end