10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-07 06:33:53 +01:00
quantum_package/src/Integrals_Monoelec/kin_mo_ints.irp.f

27 lines
1.0 KiB
Fortran
Raw Normal View History

2016-09-22 11:28:27 +02:00
BEGIN_PROVIDER [double precision, mo_kinetic_integral, (mo_tot_num_align,mo_tot_num)]
implicit none
BEGIN_DOC
! Kinetic energy integrals in the MO basis
END_DOC
if (read_mo_one_integrals) then
call read_one_e_integrals('mo_kinetic_integral', mo_kinetic_integral,&
size(mo_kinetic_integral,1), size(mo_kinetic_integral,2))
print *, 'MO kinetic integrals read from disk'
else
call ao_to_mo( &
ao_kinetic_integral, &
size(ao_kinetic_integral,1), &
mo_kinetic_integral, &
2016-09-22 12:28:12 +02:00
size(mo_kinetic_integral,1) &
2016-09-22 11:28:27 +02:00
)
endif
if (write_mo_one_integrals) then
call write_one_e_integrals('mo_kinetic_integral', mo_kinetic_integral,&
size(mo_kinetic_integral,1), size(mo_kinetic_integral,2))
print *, 'MO kinetic integrals written to disk'
endif
2014-04-16 22:16:32 +02:00
END_PROVIDER