The calculation of the atomization energy is not a simple problem in DFT. Spin-orbit coupling is an extra complication. In this paragraph a way is presented how to calculate the atomization energy using spin-polarized calculations in the non-collinear approximation.
If you wish, you can skip the rest of this tutorial.
The Tl atom




