<div dir="ltr">Hello Marcel,<br>Thanks for the help. But can you tell me how it works?<br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 11:02 AM, Marcel Mohr <span dir="ltr">&lt;<a href="mailto:marcel@physik.tu-berlin.de">marcel@physik.tu-berlin.de</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 class="Ih2E3d">On Thu, 7 Aug 2008, Bipul Rakshit wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
And what is /awk/java/whathever_you_are_familiar_with ?<br>
</blockquote>
<br></div>
I am afraid I can&#39;t help you there.<br>
I do also not know what /awk/java/whatever_I_am_familar_with is,<br>
but do know a little python,<br>
In the attachment is a skript, that calculates the k-points along several endpoints (&quot;points&quot;), with &quot;fineness&quot;, the number of k-points in between.<br>
<br>
Cheers Marcel<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
thanks<br>
<br>
<br>
On Thu, Aug 7, 2008 at 9:45 AM, Stefano de Gironcoli &lt;<a href="mailto:degironc@sissa.it" target="_blank">degironc@sissa.it</a>&gt; wrote:<br>
 &nbsp; &nbsp; &nbsp;1.) change the plotting range given in input to your plotting routine<br>
 &nbsp; &nbsp; &nbsp;2.) write a 5-10 line fortran_code/bash_script<br>
 &nbsp; &nbsp; &nbsp;/awk/java/whathever_you_are_familiar_with that makes this trivial task<br>
 &nbsp; &nbsp; &nbsp;for you and feed the resulting data to pw.x<br>
 &nbsp; &nbsp; &nbsp;best regards,<br>
 &nbsp; &nbsp; &nbsp;&nbsp;Stefano<br>
<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>
&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>
<br>
<br>
<br>
<br>
--<br>
Bipul Rakshit<br>
PhD Student,<br>
Barkatullah University,<br>
Bhopal 462026,<br>
MP, India<br>
<br>
</blockquote>
</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>Bipul Rakshit<br>PhD Student, <br>Barkatullah University,<br>Bhopal 462026,<br>MP, India<br>
</div>