9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-27 05:43:31 +01:00
qp2/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