As we have seen in the notes on density functional theory, once the
orbitals
have been determined, the final steps in
determining the total energy
involve calculating various
integrals. Because we will determine the
numerically, we must calculate these integrals numerically as well.
Generically, numerical integration techniques take the form of a
weighted sum of sample values,
Different techniques for choosing the sample points categorize the
various techniques. These include choosing the sample points
Each of the above approaches has strengths and weaknesses. The
regular-interval approaches (1) are best when the sample values
come from a regular process, such as experimental
measurements or another numerical calculation. For high accuracy
under conditions where the evaluation of
is expensive but we
have control over the selection of the
, Gaussian quadrature (2)
comes to the fore. Both (1) and (2) presume that the integrand
varies relatively uniformly throughout the integration domain. In
cases where
varies inhomogeneously, but in a predictable way,
the combination of (1) or (2) with the elegant approach of a change of
variables (Section 5) can be very powerful. Otherwise,
and adaptive approaches (3) become necessary. Finally, Monte Carlo
(4) methods are the only choice for integrals in very large
dimensional spaces, such as thermodynamic averages or quantum
mechanical path integrals. When multiple approaches apply, simplicity
should always be the deciding factor.
For us, the
will come from a numerical process
producing data on regular intervals. The
do not vary
uniformly, but have strong variations near the nuclei where the
Coulomb energy
is singular. This behavior is quite
predictable, and the simplest viable approach is therefore the
combination of a regular interval approach (1) with a change of
variables, which is the subject of these notes.
Tomas Arias 2004-01-26