10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-16 08:00:31 +02:00
quantum_package/src/Integrals_Monoelec/pot_mo_pseudo_ints.irp.f

28 lines
1.0 KiB
Fortran
Raw Normal View History

2015-05-11 19:41:56 +02:00
BEGIN_PROVIDER [double precision, mo_pseudo_integral, (mo_tot_num_align,mo_tot_num)]
implicit none
BEGIN_DOC
! interaction nuclear electron on the MO basis
END_DOC
2016-09-22 11:28:27 +02:00
if (read_mo_one_integrals) then
call read_one_e_integrals('mo_pseudo_integral', mo_pseudo_integral,&
size(mo_pseudo_integral,1), size(mo_pseudo_integral,2))
print *, 'MO pseudopotential integrals read from disk'
else
call ao_to_mo( &
ao_pseudo_integral, &
size(ao_pseudo_integral,1), &
mo_pseudo_integral, &
2016-09-22 12:28:12 +02:00
size(mo_pseudo_integral,1) &
2016-09-22 11:28:27 +02:00
)
endif
if (write_mo_one_integrals) then
call write_one_e_integrals('mo_pseudo_integral', mo_pseudo_integral,&
size(mo_pseudo_integral,1), size(mo_pseudo_integral,2))
print *, 'MO pseudopotential integrals written to disk'
2015-05-11 19:41:56 +02:00
endif
2016-09-22 11:28:27 +02:00
2015-05-11 19:41:56 +02:00
END_PROVIDER
2015-05-13 22:52:03 +02:00