10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-07 20:05:56 +02:00
quantum_package/src/Integrals_Monoelec/mo_mono_ints.irp.f

27 lines
838 B
Fortran
Raw Normal View History

2017-09-13 09:06:32 +02:00
BEGIN_PROVIDER [ double precision, mo_mono_elec_integral,(mo_tot_num_align,mo_tot_num)]
2014-04-16 22:16:32 +02:00
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 (and pseudo potential if needed)
2014-04-16 22:16:32 +02:00
END_DOC
2016-03-11 23:27:39 +01:00
print*,'Providing the mono electronic integrals'
IF (do_pseudo) THEN
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
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)
enddo
enddo
END IF
2014-04-16 22:16:32 +02:00
END_PROVIDER