10
0
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:
Anthony Scemama 2015-03-26 23:57:17 +01:00
parent 056675fdf3
commit 7679af0061

View File

@ -71,7 +71,7 @@ subroutine damping_SCF
delta_alpha = D_new_alpha - D_alpha
delta_beta = D_new_beta - D_beta
lambda = 1.d0
lambda = .5d0
E_half = 0.d0
do while (E_half > E)
HF_density_matrix_ao_alpha = D_alpha + lambda * delta_alpha