| (77) |
where y(0)=0 and
a
.
The integral equation part includes the exchange effect as well as off-diagonal
energy parameters, if any. A direct discretization would lead to an eigenvalue
problem
| (78) |
where
is a band matrix (the band width depending on the order of discretization
of
)
and
is
a full matrix related to the kernel K(r,s), but also
including factors arising from a quadrature rule. This eigenvalue problem
could be solved for a selected eigenvalue using Rayleigh-Quotient iteration,
but would then require the storage of the full matrix and
floating point operations per iteration. An iterative procedure requiring
only
operations per iteration is used by the HF program.
Let {y(k)(r), k = 0, 1, ,,} be a sequence of approximate solutions. Define
| (79) |
and
| (80) |
For the latter, the familiar Numerov method based on the first two
terms of the discretization
| (81) |
leads to a system of equations
| (82) |
where
and
are
tridiagonal matrices with

and

The column vector
has components
| (83) |
For simplicity the above assumes boundary conditions of zero at
both ends.
Unlike eq:radial_integ, eq:radial_iter is no longer an eigenvalue problem
and unique solutions to the discretized approximations of eq:radial_disc
will exist for values of
if
is
non-singular. If the coefficient matrix is singular, unique solutions may
still exist if either
or if
is orthogonal to the desired eigenvector. In either case, for the solutions
of eq:radial_disc to converge to those of eq:radial_integ it is necessary
to define
so
that the sequence
converges to an eigenvalue. A natural choice is the Rayleigh quotient for y(k)(r).
At the same time, we would like the iterations to converge to normalized
eigenfunctions where normalization is defined in terms of numerical integration.
Define
to be the numerical approximation to
using only vectors
and
representing values of the functions on the grid. Also define
.
The method M1 implemented in the HF program combines these ideas as follows:
ForThis method works remarkably well in many cases but when the exchange effect is extremely small, the coefficient matrix is too nearly singular and a second method M2 is used. The latter, as![]()
- 1.
- 2.
- 3.
Method M2 proceeds very much as M1, but also introduces an inverse iteration step
| (84) |
(The latter is the variational equation for
under the assumption that
f(r) and g(r) do
not depend on the energy). Then the next estimate is formed as
| (85) |
The HF and MCHF programs solve the radial equation on the logarithmic grid not directly by linear algebra. Instead outward and inward integration are used, somewhat for historical reasons. Outward integration is stable in the oscillatory region where matrix methods would require pivoting. In the tail region the matrix is diagonally dominant and pivoting is not needed. In this region a system of equations is solved that matches the solution of outward integration, at the same time looking for a point where the boundary condition at large r can be applied. Thus the algorithm is ``adaptive'' and the user need not be concerned with the extent of the radial orbital. In both regions a particular solution and solution of the homogeneous equation are obtained. These are then combined so that the three-term recurrence at the join is satisfied.
In order to ensure that the iterative process converges to the desired
eigenfunction, node counting is used and the notion of an ``acceptable''
solution is applied. Particularly in the early iterations, the solutions
obtained by both M1 and M2 may be ``unusual''. In such cases, the Rayleigh
quotient value of
must be replaced by some other value. A somewhat ad hoc search for
an acceptable solution is initiated. In outward/inward integration, the
three-term recurrence is satisfied at all points except the join. In some
instances, it has proven useful to relate the residual of the equation
at the join to the change in energy required to satisfy this condition.
When orbitals are multiply occupied, the function f(r)
also depends on y(r) and the problem is non-linear. In such
cases, the SCF iterations may oscillate and accelerating techniques may
need to be used as described earlier.