Skip to content

Commit c7740d3

Browse files
authored
Update band-struc.md
add description for projected band structure
1 parent a6b4bc8 commit c7740d3

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

docs/examples/band-struc.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,33 @@ points.
5858
Run the program, and you will see a file named BANDS_1.dat in the output directory. Plot it
5959
to get energy band structure.
6060

61-
[back to top](#band-structure)
61+
Along with the BANDS_1.dat file, we also produce the projected band structure in a file called PBAND_1 in xml format.
62+
63+
The PDOS file starts with number of atomic orbitals in the system, the text contents of element <band structure> is the same as data in the BANDS_1.dat file, such as:
64+
```
65+
<pband>
66+
<nspin>1</nspin>
67+
<norbitals>153</norbitals>
68+
<band_structure nkpoints="96" nbands="50" units="eV">
69+
...
70+
71+
```
72+
73+
The rest of the files arranged in sections, each section with a header such as below:
74+
75+
```
76+
<orbital
77+
index=" 1"
78+
atom_index=" 1"
79+
species="Si"
80+
l=" 0"
81+
m=" 0"
82+
z=" 1"
83+
>
84+
<data>
85+
...
86+
</data>
87+
88+
The shape of text contents of element <data> is (Number of k-points, Number of bands)
89+
90+
[back to top](#band-structure)

0 commit comments

Comments
 (0)