2014-04-16 22:16:32 +02:00
|
|
|
BEGIN_PROVIDER [ double precision, mo_mono_elec_integral,(mo_tot_num_align,mo_tot_num)]
|
|
|
|
implicit none
|
2016-09-22 11:28:27 +02:00
|
|
|
integer :: i,j,n,l
|
2014-04-16 22:16:32 +02:00
|
|
|
BEGIN_DOC
|
2016-09-22 11:28:27 +02:00
|
|
|
! array of the mono electronic hamiltonian on the MOs basis :
|
|
|
|
! sum of the kinetic and nuclear electronic potential
|
2014-04-16 22:16:32 +02:00
|
|
|
END_DOC
|
2016-03-11 23:27:39 +01:00
|
|
|
print*,'Providing the mono electronic integrals'
|
2017-04-20 08:36:11 +02:00
|
|
|
if (read_only_mo_one_integrals) then
|
|
|
|
print*, 'Reading the mono electronic integrals from disk'
|
|
|
|
call read_one_e_integrals('mo_one_integral', mo_mono_elec_integral, &
|
|
|
|
size(mo_mono_elec_integral,1), size(mo_mono_elec_integral,2))
|
|
|
|
print *, 'MO N-e integrals read from disk'
|
|
|
|
else
|
|
|
|
do j = 1, mo_tot_num
|
|
|
|
do i = 1, mo_tot_num
|
|
|
|
mo_mono_elec_integral(i,j) = mo_nucl_elec_integral(i,j) + &
|
|
|
|
mo_kinetic_integral(i,j) + mo_pseudo_integral(i,j)
|
|
|
|
enddo
|
|
|
|
enddo
|
|
|
|
endif
|
|
|
|
|
|
|
|
! if (write_mo_one_integrals) then
|
|
|
|
! call write_one_e_integrals('mo_one_integral', mo_mono_elec_integral, &
|
|
|
|
! size(mo_mono_elec_integral,1), size(mo_mono_elec_integral,2))
|
|
|
|
! print *, 'MO N-e integrals written to disk'
|
|
|
|
! endif
|
|
|
|
|
2014-04-16 22:16:32 +02:00
|
|
|
END_PROVIDER
|