The integral
is split up via weight functions
where the weight functions obey
These weights are constructed to be almost unity if A is the closest atom, and almost zero in the vicinity of other atoms. This is achieved through the variable
,
defined by
where rA and rB are the distance from atoms A and B, while RAB is the interatomic distance between atoms A and B. The weight function is then described by
where the function
is defined as
Becke then removed the discontinuity at
by redefining
as a function with
Above is the implementation in Q-CHEM. Becke's original implementation also includes a correction for atomic size. This is accomplished by a change in variable, working with
instead of
,
where
with aAB defined by
where RA and RB are the Bragg-Slater radii [127,128].
Each of these single-center integrals is then calculated with a spherical polar quadrature grid (requiring the insertion of more weights, wi), making the final expression for Exc: