Silicon Density of States with Abinit

Abinit permits one to chain two calculations with a single input file. Parameters common to both calculations are unsuffixed, and other parameters are suffixed by a single digit specifying the calculation to which they apply.

Si.abi

ndtset 2
# Common parameters
acell 3*10.18
rprim  0.0  0.5  0.5
       0.5  0.0  0.5
       0.5  0.5  0.0

ntypat 1
znucl 14
natom 2
typat 1 1
xred   0.0  0.0  0.0
       1/4  1/4  1/4

ecut  8.0
kptopt 1
nshiftk 1
shiftk 0.0 0.0 0.0

pp_dirpath "."
pseudos "14si.pspnc"

#Dataset 1 : SCF calculation
 ngkpt1   6 6 6
 toldfe1  1.0d-10
 prtden1  1

#Dataset 2 : DOS calculation
 iscf2   -3
 getden2  1
 getwfk2  1
 prtdos2  2
 ngkpt2   16 16 16
 tolwfr2  1.0d-16

The pseudopotential from its tests directory was used. The calculation can be run as

$ abinit  Si.abi > Si.log

Results

There really is nothing for c2x to do, for Abinit produces a DOS after tetrahedral integration itself.

  $ gnuplot
  gnuplot> plot "Sio_DS2_DOS" with lines

Silicon DoS

Note that Abinit has used units of Hartrees, not eV. The gnuplot command to convert the units is

gnuplot> plot "Sio_DS2_DOS" using ($1*27.211):($2/27.211) with lines

The interpolation used by c2x gives a slightly different shape to the plot, with the peak at -1eV noticeably higher.

$ c2x --dos_gnu:1000 Sio_DS2_EIG out.gnu
$ gnuplot -p out.gnu

Silicon DoS

(If one wishes to produce a DoS in Hartrees from c2x, then one needs to add "-u" to the command-line.)

If one repeats the Abinit calculation with a 32x32x32 point grid for the non self consistent part, then Abinit's own density file is:

gnuplot> plot [-6.2:10.5] "Sio_DS2_DOS" using ($1*27.211):($2/27.211) with lines

Silicon DoS, 32x32x32 grid

which looks more like the 16x16x16 c2x result than the 16x16x16 Abinit result, and suggests that c2x's implementation for the tetrahedral method is correct.