I'm using Exciting Code to calculate some electronic band structures. Starting with the example of Si I get sensible output and can plot BAND.OUT and BAND-QP.OUT using PLOT-gwbands.py or directly in any plotting software (using BANDLINES.OUT to label the critical points).
Looking in BAND.OUT, the x coordinate is rather puzzling. I know it comes from the distance along the path W-L-Γ-X-W-K as specified in input.xml, but I can't get to the numbers in BANDLINES.OUT (the positions of the specified high-symmetry points) from first principles.
From input.xml we have:
<point coord=" 0.750 0.500 0.250" label="W"/>
<point coord=" 0.500 0.500 0.500" label="L"/>
<point coord=" 0.000 0.000 0.000" label="GAMMA"/>
<point coord=" 0.500 0.500 0.000" label="X"/>
<point coord=" 0.750 0.500 0.250" label="W"/>
<point coord=" 0.750 0.375 0.375" label="K"/>
If I calculate the length of each segment by $\sqrt((h2-h1)^2+(k2-k1)^2+(l2-l1)^2)$ and compare to BANDLINES.OUT:
Segment | distance (BANDLINES.OUT) | distance (between coordinates) |
---|---|---|
W-L | 0.4330295261 | 0.353553390593274 |
L-Γ | 0.9633802174 | 1.21957879437771 |
Γ-X | 1.575776446 | 1.92668557556426 |
X-W | 1.881974561 | 2.28023896615753 |
W-K | 2.098489324 | 2.45701566145417 |
I get a non-constant difference - the first row differs by a factor of about 0.82, the other rows by 1.17--1.27 (not close enough for rounding error)
I've tried looking at the source (and am still trying) but as an experimentalist who has never done any Fortran, progress is very slow, so hopefully someone just knows.