<div dir="ltr">Dear Cao.<div><br></div><div>You can choose field direction by change the value of edir, see as below:</div><div>edir = 1--->x direction</div><div>edir=2-->y direction and edir = 3-->z direction</div>
<div><br></div><div><a name="edir" style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:medium;background-color:rgb(255,235,198)"><table width="100%" style="border:2px solid rgb(181,181,0);margin-bottom:10px;table-layout:auto;background-color:rgb(255,255,255)">
<tbody><tr><th align="left" valign="top" width="20%" style="background-color:rgb(255,255,153);padding:2px 2px 2px 10px">edir</th><td style="vertical-align:top;background-color:rgb(255,255,195);padding:2px 2px 2px 5px">INTEGER</td>
</tr><tr><td align="left" valign="top" colspan="2"><blockquote><pre>The direction of the electric field or dipole correction is
parallel to the bg(:,edir) reciprocal lattice vector, so the
potential is constant in planes defined by FFT grid points;
edir = 1, 2 or 3. Used only if tefield is .TRUE.</pre><pre><br></pre></blockquote></td></tr></tbody></table></a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 21, 2013 at 5:49 PM, Cao TF <span dir="ltr"><<a href="mailto:tfcao@theory.issp.ac.cn" target="_blank">tfcao@theory.issp.ac.cn</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div><p>Dear PW users,</p><p> I konw that with "tefied = .true. " we can apply an saw-like electronic potential to the system, with the direction and the shape are determined by edir, emaxpos, eopreg and eamp. but I still do not know how to change the direction of the electronic field? For example, in the bilayer-graphene system, with the vacuum in the Z direction and the bilayer-graphene in the position around 0.5, we can use "edir = 3", "emaxpos = 0.9", and "eopreg = 0.1 " to add an electronic field in the positive Z direction with amplitude determnined by the "eamp". So how to change such field direction, that is to add an electronic in the negative Z direction. I have confused with such question for a long time. So you suggestions are greated appreciated. </p>
<p align="left">------<br><br>=========================================<br>
<br>
Addr: Institute of Solid States Physics, Chinese Academy of Scineces,<br>
<br>
Hefei, Anhui 230031, China<br>
<br>
Phone: +86-551-5591150<br>
<br>
Fax: +86-551-5591434<br>
<br>
=========================================<br>
</p></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" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Nguyen Van Chuong<div>PhD Student,<br>
<div>Department of Physics,</div><div>Don State Technical University. </div><div>Rostov on Don, Russia</div><div>Group Graphene</div><div>Email: <a href="mailto:chuongnguyen11@gmail.com" target="_blank">chuongnguyen11@gmail.com</a> or <a href="mailto:cpuphys86@gmail.com" target="_blank">cpuphys86@gmail.com</a></div>
<div>Website: <a href="http://cpuphys86.webs.com/" target="_blank">http://cpuphys86.webs.com/</a></div><div>Phone mobile: +7 905 45 94 888</div><div><br></div></div></div>
</div>