<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Dear Jie,</div><div><br></div> The only result that you will get by insistently repeating your question every few hours is to irritate the other users, hence the probability that you get an answer will drop considerably. Also consider that from an european point of view you asked your question in the middle of the night.<div><div><br></div><div><br><div><div>Il giorno 06/nov/2010, alle ore 03.50, Jie Jiang ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear All,<br><br>Again, is it possible to do occupation constraint DFT calculations with PWscf?<br>Can the option 'occupations=from_input' do that?<br></blockquote><div><br></div><div>This option is to fix occupation, not to constrain them, and it is usually used to force an electronic configuration for an atom or a molecule computed with plane waves in a big box.</div><div><br></div><div>Constrained DFT is another thing, in my opinion, and I don't think it has been implemented in QE so far.</div><br><blockquote type="cite"><br>If not, is there any suggestion on where and how to modify to include<br>
this function.<br></blockquote><div><br></div><div>You should first read the relevant literature (if I remember well, Dederichs and Bluegel were the first to apply it), then devise an algorithm and implement it. If you are really willing to do so, I think you'll get some help from the core developers. Anyway, I don't think it is so straightforward to do.</div><div><br></div><div>Regards,</div><div><br></div><div>GS</div><br><blockquote type="cite"><br>Thanks,<br><br>Jie <br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 7:20 PM, Jie Jiang <span dir="ltr"><<a href="mailto:jiejiangnc@gmail.com">jiejiangnc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Dear All,<br><br>Does 'occupations=from_input' mean occupations of individual states<br>
are fixed ?<br><br>Can I define the occupations of the highest occupied state and lowest <br>unoccupied state to be 1 and 1 to calculate the electron-hole excitation<br>
energy?<br><br>Thanks for any comments.<br><font color="#888888"><br>Jie<br>
</font></blockquote></div><br>
_______________________________________________<br>Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>http://www.democritos.it/mailman/listinfo/pw_forum<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="color: rgb(126, 126, 126); font-size: 16px; font-style: italic; "><br class="Apple-interchange-newline">§ Gabriele Sclauzero, EPFL SB ITP CSEA</span></div><div><font class="Apple-style-span" color="#7E7E7E"><i> PH H2 462, Station 3, CH-1015 Lausanne</i></font></div></span>
</div>
<br></div></div></body></html>