<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv3733942065"><div id="yui_3_16_0_1_1454347276037_19303"><div id="yui_3_16_0_1_1454347276037_19302" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv3733942065"><div id="yiv3733942065yui_3_16_0_1_1454347276037_15719"><div id="yiv3733942065yui_3_16_0_1_1454347276037_15718" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div dir="ltr" id="yiv3733942065yui_3_16_0_1_1454347276037_14262">Thank you Giuseppe and Paolo for your reply, now:</div><div id="yiv3733942065yui_3_16_0_1_1454347276037_14321" dir="ltr">> I do not know why you are using the sawtooth potential,<br class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_14350">because I need to study the behaviour of my system under the influence of E-field, as I know there are 2 kinds of E-field in qe; saw-like and homogeneous fields. since I have no idea about the homogeneous one I used the saw-like.</div><div id="yiv3733942065yui_3_16_0_1_1454347276037_14411" dir="ltr">> the assume_isolated='esm'</div><div id="yiv3733942065yui_3_16_0_1_1454347276037_14412" dir="ltr">so when I use this opetion, do I need to keep the saw-like field or what? because in my case I need to use this:</div><div id="yiv3733942065yui_3_16_0_1_1454347276037_14550" dir="ltr">'bc1': vacuum-slab-vacuum (open boundary conditions). then how to apply the e-field?</div><div id="yiv3733942065yui_3_16_0_1_1454347276037_15720" dir="ltr">>By the way: in the provided input, eamp=0 implies "no electric field"<br class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15726"><div id="yiv3733942065yui_3_16_0_1_1454347276037_15727" dir="ltr">Yes, Giovanni on qe archive said when you use eamp=0 then you only have dipole correction, once I got th dipole correction I can go from there and apply e-fields.</div><div id="yiv3733942065yui_3_16_0_1_1454347276037_15816" dir="ltr">see this:</div><pre class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15819">On Mon, Sep 7, 2015 at 4:28 PM, Giovanni Cantele <
<a rel="nofollow" class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15821" target="_blank" href="http://pwscf.org/mailman/listinfo/pw_forum">giovanni.cantele at spin.cnr.it</a>> wrote:
><i class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15823"> eamp=0 if only the dipole correction is needed (dipfield=.true.), because
</i>><i class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15825"> in this case the amplitude of the correction is self consistently computed
</i>><i class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15827"> from the charge density. eamp is needed only if you need to add and
</i>><i class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15829"> external electric field.
</i><br>><i class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_15833"> Giovanni
</i></pre></div><div id="yiv3733942065yui_3_16_0_1_1454347276037_14549" dir="ltr"><a href="" rel="nofollow" class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_14542" name="idm6426032"></a><br><a href="" rel="nofollow" class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_14544" name="esm_bc"><pre class="yiv3733942065" id="yiv3733942065yui_3_16_0_1_1454347276037_14546"><br></pre></a></div></div></div></div></div></div></div></div></body></html>