Phonon DoS and c2x

Here are some examples of calculating the phonon DoS of diamond. Well-relaxed structures are needed for phonon calculations, but the symmetry of diamond makes this point trivial.

The syntax for phonon DoS plots from c2x is very similar to that for electronic DoS plots.

  c2x --phdos_{fmt}{_options}[=s][:n][flags]

fmt is "gnu", "eps" or "raw"
s is the smearing width in the units of the plot
n is the number of bins

flags is any of:
  f -- fix bin range to be independent of smearing
  G -- use Gaussians even if tetrahedral method would be possible
  r -- produce a rotated plot (eps only)

And options can be:
  _THz -- convert from cm-1 to THz
  _meV -- convert from cm-1 to meV

Blöchl's tetrahedral method will be used if a regular grid of at least eight distinct k-points is detected. The flags s, f and g have no meaning for the tetrahedral method.

To set the title of the plot, use the --title option, e.g.

  c2x --phdos_gnu --title="Silicon DoS" Si.bands Si.gnu