CaB2's phonons and c2x

CaB2 crystal structure

Calcium boride forms a hexagonal structure with a small unit cell containing just one formula unit. It is thus conveniently small for performing phonon calculations, although the calculation presented here took about a core-week. It is also very difficult to converge, particularly with respect to k-point and q-point sampling. The results shown on these pages are wrong, but they still demonstrate the use of c2x nicely.

CaB2 phonons

Calcium's c-axis contribution coloured green, boron's red.

Input Files

CaB2.cell
CaB2.param

Detailed examples

Band Structure

Density of States

Option syntax

--doscolour=col,col,...colour of DoSes
--doslinecolour=col,col,...line colour of DoSes
--dosfill50% fill of first DoS, all spins
--dosfill=x,x,...percentage fill of DoS plots
--phcolour=[[col0-]col:]species[+[col:species]...]projected DoSes for phonons, with col0 defining the base line colour

col can be:
RGB as three hex digits, optionally preceeded by a #.
RRGGBB as six hex digits, optionally preceeded by a #.
One of "red", "green", "blue", "black", "grey", "white"

Except in phcolour:
+ meaning plot the line in its default colour, the comma following + is optional
- suppress plotting the line, the comma following - is optional
[blank] default, comma required!

species can be followed by _xyz meaning include only the projections onto the given Cartesian axes, i.e. _xyz is everything, and so redundant, _xy is the xy plane, and z is the z axis.

Multiple entries for the --dos options are in the order full DoS, one entry per spin, followed by each projected DoS, one entry per spin. Blank entries keep the current state. If the list of entries is too short, remaining entries are considered to be blank.

Combined Plot

Combined band structure and DoS plots are still considered slightly experimental. There are produced by combining --merge_path with --phbands_..._dos_eps, and the DoS phonon file must be listed first. There is no option to produce Gnuplot output.

c2x --merge_path --phbands_dcross_dos_eps --phcolour=green:Ca_z+red:B_z --dosfill dos/CaB2.phonon CaB2.phonon c.eps

The equivalent command for QE output, which needs c2x 2.50a or newer, is

c2x  --merge --merge_path --phbands_dcross_dos_eps --phcolour=green:Ca_z+red:B_z --dosfill CaB2.in CaB2_dos.eig CaB2_bs.eig c.eps

Mode visualisation

CaB2 is the example for the page on mode visualisation.