<div dir="ltr">Hi,<div><br></div><div>I don't know what the *.bs files are, but you can print off the electrostatic potential with the &V_HARTREE_CUBE section in &DFT &PRINT. You can then get an average potential  using the cubecruncher utility or a bit of scripting and check whether it behaves as expected. It potentially depends on the poisson solver - the zero of potential in a periodic system is not rigorously defined.</div><div><br></div><div>HTH,</div><div><br></div><div>Matt<br><br>On Friday, April 19, 2019 at 6:00:26 AM UTC+1, i...@gmail.com wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi all!<br>I need to calculate bands line up for heterojunction. And there is a method which is described in Van de Walle's work (Physical Review B V. 34 N. 8 15 oct. 1986 "Theoretical calculation of heterojunction discountinuties in the Si/Ge system"). The 1st step of this method is to perform band structure calculation of pure materials and from this calculation authors obtain how far is maximum of valence band (VBM) from mean electrostatic potential (MEP) of material.<br>So, the question arises how values in *.bs file are connected with mean electrostatic potential? Is it correct to consider, that for pure material mean electrostatic potential is zero and thus values in *.bs file are absolute? Or there should be another approach to obtain the difference (VBV-MEP)?<br>Thx in advance!</div></blockquote></div></div>