<div dir="ltr">let me give you a example in python<br>def kptline(kpt1,kpt2,nkpt):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kptlist=zeros([3,nkpt+1])<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dkpt=(kpt2-kpt1)/(nkpt)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for i in range(nkpt+1):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kptlist[:,i]=kpt1+i*dkpt<br>
then the kptlist is what you want ..<br><br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 4:35 PM, Bipul Rakshit <span dir="ltr">&lt;<a href="mailto:bipulrr@gmail.com">bipulrr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hello Stefano,<br>I am trying to make to programme, which able to generate the k-points automatically along given two points. But from where I get some hint to do this?<br>And what is <b style="color: rgb(255, 0, 0);">/awk/java/whathever_you_are_familiar_with</b> ?<br>

<br>thanks<div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 9:45 AM, Stefano de Gironcoli <span dir="ltr">&lt;<a href="mailto:degironc@sissa.it" target="_blank">degironc@sissa.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1.) change the plotting range given in input to your plotting routine<br>
2.) write a 5-10 line fortran_code/bash_script<br>
/awk/java/whathever_you_are_familiar_with that makes this trivial task<br>
for you and feed the resulting data to pw.x<br>
best regards,<br>
 &nbsp;Stefano<br>
<div><div></div><div><br>
<br>
Bipul Rakshit wrote:<br>
&gt; Hello PWscf users,<br>
&gt; I have a question about the band structure.<br>
&gt; 1. &nbsp;I have plotted the band structure of ScSb. There i found that in<br>
&gt; that post script file it draw the band very near the fermi level<br>
&gt; (-12.0:3.0) only. But if I want the bands range say -20:20, what and<br>
&gt; where I have to change?<br>
&gt;<br>
&gt; 2. I have given the K-points as used in Si calculation in examples, in<br>
&gt; my ScSb file. It works well. But I am also using SIESTA, where we<br>
&gt; mention the k-points as below<br>
&gt;<br>
&gt; &nbsp; &nbsp; BandLinesScale &nbsp;pi/a<br>
&gt; &nbsp; &nbsp; &nbsp;%block BandLines &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# These are comments<br>
&gt; &nbsp; &nbsp; &nbsp; 1 &nbsp;0.000 &nbsp;0.000 &nbsp;0.000 &nbsp;\Gamma &nbsp; # Begin at Gamma<br>
&gt; &nbsp; &nbsp; &nbsp;25 &nbsp;2.000 &nbsp;0.000 &nbsp;0.000 &nbsp; &nbsp; X &nbsp; &nbsp; # 25 points from Gamma to X<br>
&gt; &nbsp; &nbsp; &nbsp;10 &nbsp;2.000 &nbsp;1.000 &nbsp;0.000 &nbsp; &nbsp; W &nbsp; &nbsp; # 10 points from X to W<br>
&gt; &nbsp; &nbsp; &nbsp;15 &nbsp;1.000 &nbsp;1.000 &nbsp;1.000 &nbsp; &nbsp; L &nbsp; &nbsp; # 15 points from W to L<br>
&gt; &nbsp; &nbsp; &nbsp;20 &nbsp;0.000 &nbsp;0.000 &nbsp;0.000 &nbsp;\Gamma &nbsp; # 20 points from L to Gamma<br>
&gt; &nbsp; &nbsp; &nbsp;25 &nbsp;1.500 &nbsp;1.500 &nbsp;1.500 &nbsp; &nbsp; K &nbsp; &nbsp; # 25 points from Gamma to K<br>
&gt; &nbsp; &nbsp; &nbsp;%endblock BandLines<br>
&gt;<br>
&gt; the first column after* %block BandLines* shows the number of points<br>
&gt; between the given k-points (like 25 points between Gamma and X). In<br>
&gt; this way we dont have to mention all the k-points and we get a smooth<br>
&gt; graph. But in pwscf I have to mention all the k-points in order to get<br>
&gt; a smooth graph as in the example of Si.<br>
&gt; So my question is, is there any way so that we have to mention only<br>
&gt; the points at the zone boundary, and rest of the points it will take<br>
&gt; automatically?<br>
&gt;<br>
&gt; --<br>
&gt; Bipul Rakshit<br>
&gt; PhD Student,<br>
&gt; Barkatullah University,<br>
&gt; Bhopal 462026,<br>
&gt; MP, India<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pw_forum mailing list<br>
&gt; <a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Bipul Rakshit<br>PhD Student, <br>Barkatullah University,<br>Bhopal 462026,<br>MP, India<br>
</div></div></div>
<br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Hai-Ping Lan <br>Department of Electronics ,<br>Peking University , Bejing, 100871<br><a href="mailto:lanhaiping@gmail.com">lanhaiping@gmail.com</a>, <a href="mailto:hplan@pku.edu.cn">hplan@pku.edu.cn</a><br>

</div>