I wrote a simple program to calculate the ground state total energy of isolated atoms with a density-functional theory approach. I took a similar approach as can be found here:
The following assumptions were made:
- Born-Oppenheimer approximation for the nuclear charge
- The electron are considered as non-interacting fermion subjected to an effective Kohn-Sham potential
- The potential and also the charge has spherical symmetry, therefore I can reduce it to a radial problem
- The system is non-relativistic
- Exchange-correlation is included with LDA
- There is not spin-orbit coupling
- The equation that is solved for the eigenstates and eigenenergies is the Kohn-Sham equation:
$$\left( \nabla^2 - V_{KS}(r) \right)\, \psi(r) = E \,\psi(r) $$
with an $V_{eff}(r)$ being the spherical symmetric effective Kohn-Sham potential including the exchange-correlation potential, Hartree potential and the interaction with the nuclear charge. The ground-state charge density is then obtained by performing self-consistent calculations.
Due to my assumptions I can only treat light closed-shell atoms quite accurately, i.e. He, Ne. Now I want to extend my program that I can also take into account the that atomic orbitals can be half occupied, like Bor and Aluminium.
Now my question? How to I incorporate this symmetry breaking between spin up and spin down in the Kohn-Sham Hamiltonian? Do I just have to edit the Exchange-Correlation potential or are there other parts that are effected too?