<div>Thank you, Giovanni.</div>
<div> </div>
<div>I would like to ask another naive question.</div>
<div>what is the 3-D FFT file? is it saved in tmp directory ,or else ?</div>
<div> </div>
<div>Does the setting of npt have relation to the thickness of slab?</div>
<div> </div>
<div> Regards,</div>
<div> </div>
<div>Hai-Ping<br> </div>
<div><span class="gmail_quote">On 5/22/06, <b class="gmail_sendername">Giovanni Cantele</b> <<a href="mailto:Giovanni.Cantele@na.infn.it">Giovanni.Cantele@na.infn.it</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">lan haiping wrote:<br><br>> Dear developers,<br>><br>> someone else mentioned that macroscopic average technique has
<br>> been realized in average.x.<br>> I tried to read the code average.f90 , but i still donot know the<br>> INPUT file's format. Would you please explain more about the input<br>> variables ? thank you!<br>
><br>> Regards,<br>><br>> Hai-Ping<br><br>A typical input should look like this:<br><br>1<br>filename<br>1.0<br>3000<br>3<br>2.59<br><br>The explanation is in the header of the file PP/average.f90:
<br><br>! nfile ! the number of 3D-FFT files<br>! for each file:<br>! filename ! the name of the 3D-FFT file<br>! weight ! the weight of the quantity in this file<br>! .<br>! .<br>
! end<br>! npt ! the number of points of the thick mesh<br>! idir ! 1,2 or 3. It is the fixed index which defines<br>! ! the planes of the planar average<br>! awin ! the size of the window for macroscopic averages.
<br>!<br><br>With the example above you'll get a 3-column output file for the<br>quantity to average<br>V(u):<br>- column 1: coordinate u, defined over a mesh of npt=3000 points along<br>the direction<br>idir=3<br>- column 2: averaged quantity V
<br>- column 3: macroscopically averaged quantity V', over a windows with size<br>awin=2.50 au<br><br>If you want to average a weighted sum of different quantities V1,...,VN<br>defined over the same FFT mesh, just set nfile to N and specify N file names
<br>with the relative weight.<br><br>Regards,<br>Giovanni<br><br>--<br><br><br><br>Dr. Giovanni Cantele<br>Coherentia CNR-INFM and Dipartimento di Scienze Fisiche<br>Universita' di Napoli "Federico II"<br>Complesso Universitario di Monte S. Angelo - Ed. G
<br>Via Cintia, I-80126, Napoli, Italy<br>Phone: +39 081 676910<br>Fax: +39 081 676346<br>E-mail: <a href="mailto:Giovanni.Cantele@na.infn.it">Giovanni.Cantele@na.infn.it</a><br>Web: <a href="http://people.na.infn.it/~cantele">
http://people.na.infn.it/~cantele</a><br><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">
http://www.democritos.it/mailman/listinfo/pw_forum</a><br></blockquote></div><br>