<DIV>&nbsp;
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US" style="mso-bidi-font-size: 10.5pt"><FONT face="Times New Roman">Thanks Hande for your answer, but I am still confuse with how to get the value of awin</FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,</SPAN><SPAN lang="EN-US" style="mso-bidi-font-size: 10.5pt"><FONT face="Times New Roman">should I try a lot of data, and then select one?<o:p></o:p></FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US" style="mso-bidi-font-size: 10.5pt"><FONT face="Times New Roman">&nbsp;T</FONT><FONT face="宋体">hanks</FONT></SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US" style="mso-bidi-font-size: 10.5pt">penghua</SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US" style="mso-bidi-font-size: 10.5pt">shandong university</SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US" style="mso-bidi-font-size: 10.5pt">P.R.China</SPAN></P>
<P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><SPAN lang="EN-US" style="mso-bidi-font-size: 10.5pt"><FONT face="宋体">&nbsp;</FONT></SPAN></P></DIV>
<DIV></DIV><BR><PRE>在2008-08-23,"Hande Ustunel" &lt;hande@newton.physics.metu.edu.tr&gt; 写道:
&gt;Dear penghua,
&gt;
&gt;awin is the width of the window(=interval) around each point over which you
&gt;average the planar average to get the macroscopic average. That is to say,
&gt;it should correspond to something like, in Latex-ish math,
&gt;
&gt;    f_{mav}(x)=\int_{-awin/2}^{awin/2} f_{pav}(x-x') dx'
&gt;
&gt;where f is your quantity of choice (density, potential etc).
&gt;
&gt;Hope this helps.
&gt;Best,
&gt;Hande
&gt;
&gt;On Sat, 23 Aug 2008, penghua wrote:
&gt;
&gt;&gt;  
&gt;&gt;  
&gt;&gt;  Hello everyone,
&gt;&gt; 
&gt;&gt;    I used averge.x to calculate the planer planar average (pav) and macroscopic average (mav) of the resulting quantity of a supercell, but I didn¡¯t understand the meaning of the 'awin' in the input file. What is the use of it? Besides when I changed the value of awin, I got different mav curve, so how should I set the value of awin.
&gt;&gt; 
&gt;&gt; Any help will be appreciated. 
&gt;&gt; 
&gt;&gt;  
&gt;&gt; 
&gt;&gt; penghua
&gt;&gt; 
&gt;&gt; shandong university
&gt;&gt; 
&gt;&gt; penghua8503@163.com
&gt;&gt; 
&gt;&gt; 
&gt;
&gt;-- 
&gt;Hande Toffoli
&gt;Department of Physics
&gt;Office 439
&gt;Middle East Technical University
&gt;Ankara 06531, Turkey
&gt;Tel : +90 312 210 3264
&gt;http://www.physics.metu.edu.tr/~hande
&gt;
&gt;_______________________________________________
&gt;Pw_forum mailing list
&gt;Pw_forum@pwscf.org
&gt;http://www.democritos.it/mailman/listinfo/pw_forum
</PRE>