10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-28 08:02:33 +02:00
QuantumPackage/src/mo_guess/h_core_guess_routine.irp.f

23 lines
772 B
Fortran
Raw Normal View History

2019-01-25 11:39:31 +01:00
subroutine hcore_guess
BEGIN_DOC
! Produce `H_core` MO orbital
END_DOC
implicit none
character*(64) :: label
label = "Guess"
2020-02-12 01:23:34 +01:00
if (is_complex) then
2020-01-29 00:25:34 +01:00
call mo_as_eigvectors_of_mo_matrix_complex(mo_one_e_integrals_complex, &
size(mo_one_e_integrals_complex,1), &
size(mo_one_e_integrals_complex,2),label,1,.false.)
call save_mos
SOFT_TOUCH mo_coef_complex mo_label
else
call mo_as_eigvectors_of_mo_matrix(mo_one_e_integrals, &
size(mo_one_e_integrals,1), &
size(mo_one_e_integrals,2),label,1,.false.)
call save_mos
SOFT_TOUCH mo_coef mo_label
endif
2019-01-25 11:39:31 +01:00
end