<div id=":a1" class="ii gt"><div id=":a2"><font size="2">
<p>Dear all,</p>
<p>I have a very simple question; is it possible to use the
"lelfield=.true." in the PW.X code and apply two electric fields along
two different directions in a hexagonal, orthorombic, or monoclinic
unit cell?</p>
<p>I did some calculations on cubic lattices and I was able to apply an
electric field along a diagonal direction of a cubic-lattice by
decomposing the diagonal-electric-field into its respective cartesian
components; in other words, if the magnitude of the electric field
along a diagonal direction is 0.01 a.u. (in a cubic system); then, the
components of that electric field will be: 0.007071 a.u. along a (or b
or c) and 0.007071 a.u. along b (or a or c). I wonder if the same
approach is valid for non-cubic lattices as well?</p>
<p>Thanks a lot for your help,</p>
<p>S. Sanchez</p></font>
</div></div>