Next: Projection operators
Up: Total energy using the
Previous: Total energy using the
Linearscaling can be achieved by restricting the number of plane waves that each basis function is comprised of so that it is independent of systemsize. In other words, because the NGWFs are strictly zero outside their respective localisation regions, we need not use the entire simulation cell to perform FFTs on them, but may use a much smaller region. This must be done in such a way as to preserve the Hermiticity of operators, i.e. so that

(19) 
Also, it is important that the representation of an operator in this new, contracted basis is consistent throughout the calculation: when we compute the two matrix elements
and
, in both cases we require the quantity
, and in both cases this quantity should be the same.
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.
Figure 2:
The simulation cell and FFT box for a pair of overlapping NGWFs,
and

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) 
where the sum runs over the reciprocal lattice vectors,
, of the FFT box (i.e., a number of planewaves that is now independent of system size), and

(21) 
for integer , and . These basis functions have the periodicity of the FFT box, and all the analytic properties derived for the basis functions of the simulation cell in Appendix A carry over to these functions by making the replacements
Next: Projection operators
Up: Total energy using the
Previous: Total energy using the
Peter D. Haynes
20021029