<div dir="ltr">Dear Paolo,<div>Thanks for your replay.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 26, 2014 at 11:59 AM, Paolo Giannozzi <span dir="ltr"><<a href="mailto:paolo.giannozzi@uniud.it" target="_blank">paolo.giannozzi@uniud.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2014-11-25 at 08:51 -0500, Nossa, Javier wrote:<br>
<br>
> I want to do a full optimization adding (by hand) the following term<br>
> eEZ*, into the force subroutine. Here e is the electron charge, E is<br>
> an external electric field (only in one direction) and Z* is the<br>
> effective charge (already calculated). I checked the code but I did<br>
> not find the right place to add it.<br>
<br>
</span>look at the variable "extfor"<br>
<span class="HOEnZb"><font color="#888888"><br>
P.<br>
<br>
--<br>
 Paolo Giannozzi, Dept. Chemistry&Physics&Environment,<br>
 Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
 Phone <a href="tel:%2B39-0432-558216" value="+390432558216">+39-0432-558216</a>, fax <a href="tel:%2B39-0432-558222" value="+390432558222">+39-0432-558222</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://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>With best regards,</div><div>Javier Francisco Nossa<br></div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><br>Postdoc at Geophysical Laboratory<br>Carnegie Institution of Washington<br>5251 Broad Branch Road, N.W.<br>Washington, DC 20015-1305<br>Tel.: <a value="+12024788906">1.240.476.3993</a><br>E-mail: <a href="mailto:dappleby@ciw.edu" target="_blank">jnossa@carnegiescience.edu</a></span></div></div>
</div>