Next: Total energy optimisation Up: Total energy using the Previous: Charge density

## Hartree, local pseudopotential, and exchange-correlation energy

The matrix elements of the Hartree, the local pseudopotential and the exchange-correlation potential may be treated together:
 (34)

where the approximation is due to the inability to faithfully represent the exchange-correlation energy-density on the fine grid. The operator defined by
 (35)

extends over the fine grid of the whole simulation cell. We calculate matrix elements , for a pair of overlapping NGWFs, and , by projecting onto the FFT box that encloses the pair of functions. This NGWF is then interpolated onto the fine grid of the FFT box. is projected onto the fine grid of the FFT box and its product taken with on the grid points. The result is Fourier filtered onto the standard grid of the FFT box, thus keeping only frequency components represented through the standard grid basis functions, , and projected back onto the standard grid of the simulation cell. The matrix element is then obtained by computing the overlap with by summation over the grid points enclosed within its localisation region. This procedure may be represented as
 (36)

and since all computations are done using the FFT box, the matrix elements can be calculated in operations.

Finally, the total energy, calculated using our FFT box method, may be written as

 (37)

where is given by
 (38)

and is as defined in equation (18), but with the charge density calculated according to equation (33). The FFT box method enables the sparse matrix represented by to be computed with an effort that scales linearly with system size. With just one extra variational approximation, namely truncation of the density kernel, the charge density of equation (33) and hence total energy of equation (37) may be calculated in operations.

Next: Total energy optimisation Up: Total energy using the Previous: Charge density
Peter D. Haynes 2002-10-29