2015-06-17 18:22:08 +02:00
|
|
|
subroutine huckel_guess
|
|
|
|
implicit none
|
|
|
|
BEGIN_DOC
|
|
|
|
! Build the MOs using the extended Huckel model
|
|
|
|
END_DOC
|
|
|
|
integer :: i,j
|
2015-09-22 13:26:20 +02:00
|
|
|
double precision :: accu
|
2015-06-17 18:22:08 +02:00
|
|
|
double precision :: c
|
|
|
|
character*(64) :: label
|
|
|
|
|
|
|
|
label = "Guess"
|
|
|
|
call mo_as_eigvectors_of_mo_matrix(mo_mono_elec_integral, &
|
2015-07-06 14:06:49 +02:00
|
|
|
size(mo_mono_elec_integral,1), &
|
2015-11-26 15:00:02 +01:00
|
|
|
size(mo_mono_elec_integral,2),label,1)
|
2015-06-17 18:22:08 +02:00
|
|
|
TOUCH mo_coef
|
|
|
|
|
|
|
|
c = 0.5d0 * 1.75d0
|
2015-07-06 14:06:49 +02:00
|
|
|
|
2015-06-17 18:22:08 +02:00
|
|
|
do j=1,ao_num
|
|
|
|
do i=1,ao_num
|
2015-09-22 13:26:20 +02:00
|
|
|
Fock_matrix_ao(i,j) = c*ao_overlap(i,j)*(ao_mono_elec_integral_diag(i) + &
|
|
|
|
ao_mono_elec_integral_diag(j))
|
2015-06-17 18:22:08 +02:00
|
|
|
enddo
|
2017-06-02 14:20:59 +02:00
|
|
|
Fock_matrix_ao(j,j) = Fock_matrix_ao_alpha(j,j)
|
2015-06-17 18:22:08 +02:00
|
|
|
enddo
|
|
|
|
TOUCH Fock_matrix_ao
|
|
|
|
mo_coef = eigenvectors_fock_matrix_mo
|
|
|
|
SOFT_TOUCH mo_coef
|
|
|
|
call save_mos
|
|
|
|
|
|
|
|
end
|