(color online) Local densities of states of P atom in NiAl GBs for the (a) S4 and (b) I8 cases, in which the Fermi energies are both set to be zero.