<div dir="ltr"><div>Hi,</div><div>in the input you use the option crystal_b, which means that your k-points </div><div>are in crystal coordinates (that is, you give the component along the three</div><div>reciprocal lattice primitive unit cell vectors).</div><div><br></div><div>bands.x i think provides the SAME k-points, but in CARTESIAN coordinates and 2pi/a units.</div><div><br></div><div>For example:</div><div>crystal units: x1, x2, x3</div><div>Reciprocal lattice vectors: G1, G2, G3</div><div>k-point cartesian coordinates: (kx, ky, kz) = x1 G1 + x2 G2 + x3 G3</div><div>bands..x prints kx/(2pi/a), ky/(2pi/a), kz/(2pi/a)</div><div><br></div><div>Giovanni </div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0)">-- <br><br>Prof. Giovanni Cantele<br>Dipartimento di Fisica "Ettore Pancini"<br>Universita' degli Studi di Napoli "Federico II"<br>Complesso Universitario M. S. Angelo - Ed. 6<br>Via Cintia, I-80126, Napoli, Italy<br>e-mail: giovanni.cantele@unina<br>Phone: +39 081 676910<br><br>Web page: </span><a href="https://sites.google.com/view/giovanni-cantele/home" style="color:rgb(17,85,204)" target="_blank">https://sites.google.com/view/giovanni-cantele/home</a><br></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Il giorno dom 28 set 2025 alle ore 15:18 wenusaras <<a href="mailto:wenusaras@uom.lk">wenusaras@uom.lk</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Vishad,<br>
<br>
Thank you very much for your quick reply.<br>
Could you please provide a bit more detail on what you meant by “One is <br>
crystal, the other is cartesian”?<br>
Let me restate my situation for clarity.<br>
<br>
In my band-structure input (<a href="http://pw.scf.bands.in" rel="noreferrer" target="_blank">pw.scf.bands.in</a>, calculation = 'bands') for <br>
a 2-D material with ibrav = 8, I specify the k-path in crystal <br>
coordinates:<br>
<br>
K_POINTS crystal_b<br>
5<br>
0.00  0.00  0.00 10 !G<br>
0.50  0.00  0.00 10 !X<br>
0.50  0.50  0.00 10 !C<br>
0.00  0.50  0.00 10 !Y<br>
0.00  0.00  0.00 10 !G<br>
<br>
After running this SCF/bands calculation and then bands.x with<br>
&bands<br>
    prefix  = 'A'<br>
    filband = 'B.dat'<br>
    lsym = .false.<br>
/<br>
<br>
the bands.x output lists:<br>
     high-symmetry point:  0.0000 0.0000 0.0000   x coordinate   0.0000 <br>
--> G<br>
     high-symmetry point:  0.5000 0.0000 0.0000   x coordinate   0.5000 <br>
--> X<br>
     high-symmetry point:  0.5000 1.7459 0.0000   x coordinate   2.2459 <br>
--> Not C<br>
     high-symmetry point:  0.0000 1.7459 0.0000   x coordinate   2.7459 <br>
--> Not Y<br>
     high-symmetry point:  0.0000 0.0000 0.0000   x coordinate   4.4918 <br>
--> G<br>
<br>
I was expecting the same crystal coordinates as in the input, but <br>
bands.x reports larger y-values such as 1.7459.(attached bands.x output)<br>
Could you please advise me on how to get the output high-symmetry points <br>
to match the crystal coordinates I set in the input (<a href="http://pw.scf.bands.in" rel="noreferrer" target="_blank">pw.scf.bands.in</a>)?<br>
<br>
(I also notice that for simpler cells (e.g. ibrav = 1) the reported <br>
points match the input fractions—perhaps the cell vectors)<br>
<br>
Thank you again for your help.<br>
Wenusara Satheekshana<br>
<br>
<br>
______________________________________________________________________________________________________________________________________<br>
On 2025-09-28 17:33, Vahid Askarpour wrote:<br>
> One is crystal, the other is cartesian.<br>
> <br>
> Cheers,<br>
> Vahid<br>
> <br>
> Vahid Askarpour<br>
> Department of Physics and Atmospheric Science<br>
> Dalhousie University<br>
> Halifax, Canada<br>
> <br>
>> On Sep 28, 2025, at 8:49 AM, wenusaras <<a href="mailto:wenusaras@uom.lk" target="_blank">wenusaras@uom.lk</a>> wrote:<br>
>> <br>
>> CAUTION: The Sender of this email is not from within Dalhousie.<br>
>> <br>
>> Dear QE users,<br>
>> <br>
>> I am new to Quantum ESPRESSO and working on a 2D material (ibrav = 8)<br>
>> using QE v7.2.<br>
>> For a band-structure calculation I provided the following path in the<br>
>> pw.scf bands input:<br>
>> <br>
>> K_POINTS crystal_b<br>
>> 5<br>
>> 0.00  0.00  0.00 10<br>
>> 0.50  0.00  0.00 10<br>
>> 0.50  0.50  0.00 10<br>
>> 0.00  0.50  0.00 10<br>
>> 0.00  0.00  0.00 10<br>
>> <br>
>> The SCF run completed, and I then executed bands.x.<br>
>> However, the bands.x output lists different high-symmetry points:<br>
>> <br>
>>   Reading collected, re-writing distributed wavefunctions<br>
>>     high-symmetry point:  0.0000 0.0000 0.0000   x coordinate   0.0000<br>
>>     high-symmetry point:  0.5000 0.0000 0.0000   x coordinate   0.5000<br>
>>     high-symmetry point:  0.5000 1.7459 0.0000   x coordinate   2.2459<br>
>>     high-symmetry point:  0.0000 1.7459 0.0000   x coordinate   2.7459<br>
>>     high-symmetry point:  0.0000 0.0000 0.0000   x coordinate   4.4918<br>
>> <br>
>> My goal is to obtain the band structure along exactly the k-path<br>
>> specified in the input file, but the output shows different <br>
>> coordinates<br>
>> (e.g., 1.7459 instead of 0.5).<br>
>> <br>
>> Could someone clarify why bands.x is changing the path and how I can<br>
>> ensure the high symmetry points match with the input?<br>
>> <br>
>> Thank You in advance<br>
>> Wenusara Satheekshana<br>
>> _______________________________________________________________________________<br>
>> The Quantum ESPRESSO Foundation stands in solidarity with all <br>
>> civilians worldwide who are victims of terrorism, military aggression, <br>
>> and indiscriminate warfare.<br>
>> --------------------------------------------------------------------------------<br>
>> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
>> users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
>> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
> <br>
> _______________________________________________________________________________<br>
> The Quantum ESPRESSO Foundation stands in solidarity with all<br>
> civilians worldwide who are victims of terrorism, military aggression,<br>
> and indiscriminate warfare.<br>
> --------------------------------------------------------------------------------<br>
> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
> users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
<br>
-- <br>
Thank You<br>
Wenusara Satheekshana_______________________________________________________________________________<br>
The Quantum ESPRESSO Foundation stands in solidarity with all civilians worldwide who are victims of terrorism, military aggression, and indiscriminate warfare.<br>
--------------------------------------------------------------------------------<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>