<div dir="ltr"><div><div>Thank you so much for clear explanations.<br><br></div>Best,<br><br></div>Mohammad<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 12:49 PM, Giovanni Cantele <span dir="ltr"><<a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">the iflag variable, as far as I remember, is needed only to convert what is computed as specified in the INPUTPP name list in a format that cam be visualised using different graphic tools (such as gunplay, XCrysDen, and so on).<div><br></div><div>If you what to use average.x you only need the file containing the charge density or the potential (as computed using INPUTPP), and then use average.x.</div><div><br></div><div>Giovanni</div><div><br></div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On 04 Jul 2015, at 00:29, Mohamad Moadeli <<a href="mailto:mohammad.moaddeli@gmail.com" target="_blank">mohammad.moaddeli@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Dear all,<br><br></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">To show interface dipoles, I am trying to calculate charge density for a 2D combined system containing Ag adsorbed on graphene sheet, like what is done in a sample attached (rho_tot). <span>The
vacuum space is provided along the z axis. </span> Is it right to do the following steps?</span></font><br><br></div>1- Running a SCF<br><br></div>2- Performing a PP calculation:<br></div> &inputpp<br></div> plot_num=0,<br><div><div> &plot<br> nfile=1<br> filepp(1)='sys.charge'<br> iflag=2,<br> output_format=3,<br> e1(1)=1.0, e1(2)=0.0, e1(3)=0.0,<br> e2(1)=0.0, e2(2)=1.0, e2(3)=0.0,<br> x0(1)=0.0, x0(2)=0.0, x0(3)=0.0,<br> nx=40, ny=40<br> fileout='sys.charge001.dat'<br> /<br><br>========================<br><br></div><div>What if I set iflag=3, and finally run average.x ?<br><br></div><div>Any help will be greatly appreciated.<br><br></div><div>Best,<br><br></div><div>Mohammad,<br><br></div><div>Shahid Chamran University of Ahvaz<br></div></div></div>
</div></div><span><rho.PNG></span>_______________________________________________<br>Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br><a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a></div></blockquote></div><br><div>
-- <br><br>Giovanni Cantele, PhD<br>CNR-SPIN<br>c/o Dipartimento di Fisica<br>Universita' di Napoli "Federico II"<br>Complesso Universitario M. S. Angelo - Ed. 6<br>Via Cintia, I-80126, Napoli, Italy<br>e-mail: <a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a><br>Phone: +39 081 676910<br>Skype contact: giocan74<br><br>ResearcherID: <a href="http://www.researcherid.com/rid/A-1951-2009" target="_blank">http://www.researcherid.com/rid/A-1951-2009</a><br>Web page: <a href="http://people.na.infn.it/~cantele" target="_blank">http://people.na.infn.it/~cantele</a><br>
</div>
<br></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://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div><br></div>