Next: Density and Force Calculations
Up: Implementation
Previous: Nuclear Gradient
Contents
Index
A function given as a finite linear combination of plane waves
can also be defined as a set of functional values on a
equally spaced grid in real space. The sampling theorem (see e.g. Ref. [23])
gives the maximal grid spacing that still allows
to hold the same information as the expansion coefficients
of the plane waves.
The real space sampling points
are defined
 |
(223) |
where
is a diagonal matrix with the entries
and
is a vector of integers
ranging from 0 to
(s = x, y, z). To fulfill the sampling
theorem
has to be bigger than
max
.
To be able to use fast Fourier techniques,
must be decomposable
into small prime numbers (typically 2, 3, and 5).
In applications the smallest number
that fulfills the above
requirements is chosen.
A periodic function can be calculated at the real space grid
points
The function
is zero outside the cutoff region and the sum over
can be extended over all indices in the cube
.
The functions
and
are related by three-dimensional Fourier transforms
The Fourier transforms are defined by
where the appropriate mappings of
and
to the indices
have to be used.
From Eqs. (229) and (230) it can be seen, that the calculation of the three-dimensional
Fourier transforms can be performed by a series of one dimensional Fourier transforms.
The number of transforms in each direction is
,
, and
respectively. Assuming that the one-dimensional transforms are performed within
the fast Fourier transform framework, the number of operations per transform of length
is
approximately
. This leads to an estimate for the number of operations for
the full three-dimensional transform of
, where
.
Next: Density and Force Calculations
Up: Implementation
Previous: Nuclear Gradient
Contents
Index
Costas Bekas
2008-09-04