| Yk(ab;r) | = | ![]() |
(61) |
![]() |
(62) |
Because integrals of this type occur frequently in Hartree-Fock
calculations, it is desirable to determine them with maximum efficiency.
Direct evaluation, using quadrature cannot be considered since an integral
over the whole range would be required for each value of r.
These functions can be determined much more rapidly as solutions of a pair
of differential equations as suggested by Hartree (1957).
Define
| (63) |
Then it is easy to show that
| (64) |
and
| (65) |
with the boundary conditions
| (66) |
With the
variable, the equations for Zk and Yktransform
to
![]() |
(67) | ||
![]() |
(68) |
As was shown by Worsley (1958), both these equations have simple
integrating factors, namely
and
,
respectively, so that
| (69) | |||
| (70) |
On integrating these equations we get
![]() |
(71) | ||
| (72) | |||
![]() |
(73) | ||
| (74) |
Note that the calculation of Zk proceeds by outward
integration using known starting values whereas Yk is
obtained by inward integration. Here we have used the fact that
.
In the HF program m=2 is used; the first and last pair of intervals
are integrated using Simpson's rule but for other pairs of intervals the
more accurate
)
formula is used. For k >0 the method is stable in that errors at
previous points are damped by an exponential factor, but for
k=0,
errors accumulate for the outward integration of Zkthough
the errors in Yk are again damped.
The Yk functions can also be thought of as solutions of a boundary value problem. Differentiating the first-order equation for Yk and using the equation for Zk to eliminate the latter, we obtain
| (75) |
with the boundary conditions
| (76) |
This equation is not stable for outward integration but has been
used successfully in basis type methods (Brage and Froese Fischer 1994).