mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-18 11:23:38 +01:00
Merge branch 'dev' into csf
This commit is contained in:
commit
71126eed8a
@ -11,7 +11,6 @@ function run() {
|
|||||||
qp edit --check
|
qp edit --check
|
||||||
qp reset --mos
|
qp reset --mos
|
||||||
qp set scf_utils n_it_scf_max 50
|
qp set scf_utils n_it_scf_max 50
|
||||||
qp set ao_one_e_ints lin_dep_cutoff 1.e-50
|
|
||||||
qp run scf
|
qp run scf
|
||||||
# qp set_frozen_core
|
# qp set_frozen_core
|
||||||
energy="$(ezfio get hartree_fock energy)"
|
energy="$(ezfio get hartree_fock energy)"
|
||||||
|
@ -14,13 +14,11 @@ subroutine huckel_guess
|
|||||||
allocate (A(ao_num, ao_num))
|
allocate (A(ao_num, ao_num))
|
||||||
A = 0.d0
|
A = 0.d0
|
||||||
do j=1,ao_num
|
do j=1,ao_num
|
||||||
if (ao_overlap(j,j) == 0.d0) cycle
|
|
||||||
do i=1,ao_num
|
do i=1,ao_num
|
||||||
if (ao_overlap(i,i) == 0.d0) cycle
|
A(i,j) = c * ao_overlap(i,j) * &
|
||||||
A(i,j) = c * ao_overlap(i,j)/(ao_overlap(i,i)*ao_overlap(j,j)) * &
|
(ao_one_e_integrals_diag(i) + ao_one_e_integrals_diag(j) )
|
||||||
(ao_one_e_integrals_diag(i) + ao_one_e_integrals_diag(j))
|
|
||||||
enddo
|
enddo
|
||||||
A(j,j) = ao_one_e_integrals_diag(j) + ao_two_e_integral_alpha(j,j)
|
A(j,j) = ao_one_e_integrals_diag(j) + ao_two_e_integral_alpha(j,j)
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
Fock_matrix_ao_alpha(1:ao_num,1:ao_num) = A(1:ao_num,1:ao_num)
|
Fock_matrix_ao_alpha(1:ao_num,1:ao_num) = A(1:ao_num,1:ao_num)
|
||||||
|
Loading…
Reference in New Issue
Block a user