5.7. dftΒΆ
Main DFT functions based on the DFT++ formulation.
Functions
Left-hand side of the eigenvalue equation. | |
Create precomputed values as intermediate results. | |
Operator needed to calculate gradients with non-constant occupations. | |
Calculate eigenvalues from H. | |
Calculate eigenvalues from H of unoccupied states. | |
Calculate the energy gradient with respect to W. | |
Calculate the single-electron densities. | |
Calculate the electronic density per spin channel. | |
Calculate the total electronic density. | |
Solve the Poisson equation. | |
Calculate eigenstates from H. | |
Generate initial-guess coefficients using pseudo-random starting values. | |
Generate random initial-guess coefficients as starting values. | |
Orthogonalize coefficient matrix W. | |
Orthogonalize unoccupied matrix Z while maintaining orthogonality to Y. |