![]() |
(19) |
We investigated these matters in detail in the context of the kinetic energy in an earlier communication [18], and we found an efficient and accurate solution that we call the `FFT box' technique, which involves perfoming computations over restricted regions of the simulation cell, using the fact that the NGWFs are localised in real space. First we shall define the FFT box and then show in detail how it is used to compute the matrix elements of each component of the Hamiltonian in operations.
We define the FFT box to be a miniature and commensurate version of the simulation cell whose size is such that it can contain any pair of NGWFs that exhibit any degree of overlap. Its dimensions and shape are determined at the start of a calculation and are universal throughout that calculation. It should have the same spacing of grid points in each lattice vector direction as the simulation cell, and its origin (which is in general different for the calculation of each matrix element) should coincide with a particular grid point of the simulation cell (Figure 2). Treating the FFT box as a miniature simulation cell with
points along lattice vector
(where the
are integers), and with volume
, we may define a set of basis functions,
, as we did for the whole simulation cell in equation (1), as follows,
![]() |
(20) |
![]() |
(21) |
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
(22) |