<div dir="ltr">let me give you a example in python<br>def kptline(kpt1,kpt2,nkpt):<br>      kptlist=zeros([3,nkpt+1])<br>      dkpt=(kpt2-kpt1)/(nkpt)<br>      for i in range(nkpt+1):<br>            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"><<a href="mailto:bipulrr@gmail.com">bipulrr@gmail.com</a>></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"><<a href="mailto:degironc@sissa.it" target="_blank">degironc@sissa.it</a>></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>
  Stefano<br>
<div><div></div><div><br>
<br>
Bipul Rakshit wrote:<br>
> Hello PWscf users,<br>
> I have a question about the band structure.<br>
> 1.  I have plotted the band structure of ScSb. There i found that in<br>
> that post script file it draw the band very near the fermi level<br>
> (-12.0:3.0) only. But if I want the bands range say -20:20, what and<br>
> where I have to change?<br>
><br>
> 2. I have given the K-points as used in Si calculation in examples, in<br>
> my ScSb file. It works well. But I am also using SIESTA, where we<br>
> mention the k-points as below<br>
><br>
>     BandLinesScale  pi/a<br>
>      %block BandLines                  # These are comments<br>
>       1  0.000  0.000  0.000  \Gamma   # Begin at Gamma<br>
>      25  2.000  0.000  0.000     X     # 25 points from Gamma to X<br>
>      10  2.000  1.000  0.000     W     # 10 points from X to W<br>
>      15  1.000  1.000  1.000     L     # 15 points from W to L<br>
>      20  0.000  0.000  0.000  \Gamma   # 20 points from L to Gamma<br>
>      25  1.500  1.500  1.500     K     # 25 points from Gamma to K<br>
>      %endblock BandLines<br>
><br>
> the first column after* %block BandLines* shows the number of points<br>
> between the given k-points (like 25 points between Gamma and X). In<br>
> this way we dont have to mention all the k-points and we get a smooth<br>
> graph. But in pwscf I have to mention all the k-points in order to get<br>
> a smooth graph as in the example of Si.<br>
> So my question is, is there any way so that we have to mention only<br>
> the points at the zone boundary, and rest of the points it will take<br>
> automatically?<br>
><br>
> --<br>
> Bipul Rakshit<br>
> PhD Student,<br>
> Barkatullah University,<br>
> Bhopal 462026,<br>
> MP, India<br>
</div></div>> ------------------------------------------------------------------------<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>
><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>