Phonons and c2x

Phonon calculations are expensive in DFT when compared to electronic structure ones, and many DFT programs use helper programs for them, although in others, such as Castep, they are fully integrated. C2x's abilities with electronic eigenvalues can be used to process phonons too. Most of these examples need a version of c2x later than 2.42a, and all need at least 2.42.

Theory

The calculation of phonons in DFT requires the first derivative of forces on atoms with respect to the atomic positions. One must start with a well-relaxed geometry, i.e. zero forces, and then either obtain the derivatives by finite displacement calculations, or direct differentiation to obtain the second derivative of the energy. Differentiation (DFPT) is likely to be faster and more accurate, but will limit the choice of types of pseudopotential and XC functional. Finite displacement works poorly with small cells, as the interaction with the displaced atom in the periodic images becomes important. In a unit cell containing just a single atom, it does not work at all.

Many codes offer the approach of performing DFPT on a coarse-ish regular grid of q-points. From this, Fourier interpolation can be used to move to a finer grid, or an arbitrary q-point, very rapidly. Calculating the derivatives on the coarse grid might take half an hour for a trivial system, and days for anything complicated. But then interpolating and solving for eigenfrequencies and eigenvectors to produce a smooth band structure or DoS plot takes a few seconds.