Your program ``dft.m'' now solves the Kohn-Sham equations in the
potential coming from a simple harmonic oscillator. For most
electronic structure calculations, however, the potential comes from
the interaction between electrons and ions with a form like
 |
(1) |
where
and
are the charge and location of each
nucleus. We now proceed to determine the value Vdual which
corresponds to this potential, including all relevant signs and
normalizations.
Our approach to finding the potential Vdual from the nuclei for our periodic
calculations is based on our standard approach to solving Poisson's
equation,
and the definition of Vdual from the previous exercise on the
Harmonic oscillator,
where the extra `-' in front of
corresponds to the minus sign
in Eq. (1). Combining the above two results gives
 |
(2) |
where we have used the fact that
.
Now, the expansion coefficients
are normalized so that
Therefore,
where
is the volume of the cell and the integral
extends over that volume. This means
Finally, we have one copy of each nucleus in the cell, so that (over
the range of the integral)
, where
is the Dirac-delta
function in three-dimensions, and
is the charge of each nucleus. Thus,
where
is the same structure factor
 |
(3) |
from the previous problem on computing Ewald energies.
Inserting this into Eq. (2) and using the normalizations
associated with the various operators gives
 |
(4) |
where
 |
(5) |
Here, the term
is just the Fourier-space version of the
ionic potential
, the structure factor
replicates each of the ions in the appropriate locations, and
Fourier transforms back to real space with the appropriate normalization.
Tomas Arias
2007-04-26