Fix and improvement of the Slater potential
Compare changes
@@ -8,8 +8,8 @@ Enabled : Yes
@@ -18,20 +18,20 @@ match ; Eigenvalue [4 dn] ; GREPFIELD(static/info, '4 dn', 3) ; -0.614222
Fix some problems with the Slater potential and improve the numerical stability for the case of singular matrices. This implies a local rotation to the frame for which the spin-density matrix is singular, and to solve the Sylvester equation in the local frame, and to set the last, undefined, component of the exchange potential to zero.
Fix some problems with the Slater potential and improve the numerical stability for the case of singular matrices.