mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-03 20:54:00 +01:00
Improved Hartree-Fock convergence
This commit is contained in:
parent
056675fdf3
commit
7679af0061
@ -71,7 +71,7 @@ subroutine damping_SCF
|
|||||||
delta_alpha = D_new_alpha - D_alpha
|
delta_alpha = D_new_alpha - D_alpha
|
||||||
delta_beta = D_new_beta - D_beta
|
delta_beta = D_new_beta - D_beta
|
||||||
|
|
||||||
lambda = 1.d0
|
lambda = .5d0
|
||||||
E_half = 0.d0
|
E_half = 0.d0
|
||||||
do while (E_half > E)
|
do while (E_half > E)
|
||||||
HF_density_matrix_ao_alpha = D_alpha + lambda * delta_alpha
|
HF_density_matrix_ao_alpha = D_alpha + lambda * delta_alpha
|
||||||
|
Loading…
Reference in New Issue
Block a user