In this case the step function is simply replaced by a smooth function, for example the Fermi-Dirac function[33]

or a Gauss like function[34]

(7.8) |

is one used quite frequently in the context of solid state calculations. Nevertheless, it turns out that the total energy is no longer variational (or minimal) in this case. It is necessary to replace the total energy by some generalized free energy

The calculated forces are now the derivatives of this free energy (see section 7.5). In conjunction with Fermi-Dirac statistics the free energy might be interpreted as the free energy of the electrons at some finite temperature , but the physical significance remains unclear in the case of Gaussian smearing. Despite this problem, it is possible to obtain an accurate extrapolation for from results at finite using the formula