<div dir="ltr">Hello, <div>I am trying to plot the planar averaged electrostatic potential along z, I have run scf , <a href="http://pp.in">pp.in</a> but in the average.x step I am facing trouble. I have used:</div><div>&INPUTPP<br>    outdir    = "path/tmp/"   ! prefix used in pw.x<br>    prefix    = "name"                        ! outdir used in pw.x<br>    filplot   = "V.dat"  !intermediate file- NAME OF FILE TO FILL<br>    plot_num  = 11     ! the V_bare + V_H potential  (ionic + hartree)<br>/ <br>&plot<br>    nfile     = 1<br>    iflag     = 3<br>    output_format = 5<br>    fileout   = "V_plane.dat"<br>    e1(1)=1.0, e1(2)=0.0, e1(3)=0.0   !x axis__one lattice unit along x, nothing along y or z.<br>    e2(1)=0.0, e2(2)=1.0, e2(3)=0.0   !y axis__one lattice unit along y, nothing along x or z.<br>/  what should be my average.x input look like ? I have read the source code plan_avg.f90, I did not understand it. Please help, also if I am doing the steps wrong let me know.</div><div><br></div><div>Ashley Cooper</div><div>Phd</div></div>